summary refs log tree commit diff
path: root/pkgs/development/libraries/science/math
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-11-07 12:16:59 -0600
committerThomas Tuegel <ttuegel@gmail.com>2015-11-07 14:00:04 -0600
commit9a2d5cb4d52931436119ed8ddd7335e8500a2cdd (patch)
treee136cbdedba0b4242be0be25085e17013ff6ea45 /pkgs/development/libraries/science/math
parent841df2cd7a79b4f1d01373b937b5c72b3ac6ee6a (diff)
downloadnixpkgs-9a2d5cb4d52931436119ed8ddd7335e8500a2cdd.tar
nixpkgs-9a2d5cb4d52931436119ed8ddd7335e8500a2cdd.tar.gz
nixpkgs-9a2d5cb4d52931436119ed8ddd7335e8500a2cdd.tar.bz2
nixpkgs-9a2d5cb4d52931436119ed8ddd7335e8500a2cdd.tar.lz
nixpkgs-9a2d5cb4d52931436119ed8ddd7335e8500a2cdd.tar.xz
nixpkgs-9a2d5cb4d52931436119ed8ddd7335e8500a2cdd.tar.zst
nixpkgs-9a2d5cb4d52931436119ed8ddd7335e8500a2cdd.zip
openblas: include `which` on all platforms
The `f_check` script uses `which` to check that the Fortran compiler is
available. `which` is a shell built-in on NixOS, but not on Darwin or
other Linuxes.
Diffstat (limited to 'pkgs/development/libraries/science/math')
-rw-r--r--pkgs/development/libraries/science/math/openblas/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/science/math/openblas/default.nix b/pkgs/development/libraries/science/math/openblas/default.nix
index 11b6b3547e8..781c0d38ee6 100644
--- a/pkgs/development/libraries/science/math/openblas/default.nix
+++ b/pkgs/development/libraries/science/math/openblas/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, gfortran, perl, config, coreutils
+{ stdenv, fetchurl, gfortran, perl, which, config, coreutils
 # Most packages depending on openblas expect integer width to match pointer width,
 # but some expect to use 32-bit integers always (for compatibility with reference BLAS).
 , blas64 ? null
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
 
   inherit blas64;
 
-  nativeBuildInputs = optionals stdenv.isDarwin [coreutils] ++ [gfortran perl];
+  nativeBuildInputs = optionals stdenv.isDarwin [coreutils] ++ [gfortran perl which];
 
   makeFlags =
     (if local then localFlags else genericFlags)