@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gfortran, perl, config, coreutils
1+{ stdenv, fetchurl, gfortran, perl, which, config, coreutils
22# Most packages depending on openblas expect integer width to match pointer width,
33# but some expect to use 32-bit integers always (for compatibility with reference BLAS).
44, blas64 ? null
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
3434
3535 inherit blas64;
3636
37− nativeBuildInputs = optionals stdenv.isDarwin [coreutils] ++ [gfortran perl];
37+ nativeBuildInputs = optionals stdenv.isDarwin [coreutils] ++ [gfortran perl which];
3838
3939 makeFlags =
4040 (if local then localFlags else genericFlags)