about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/qrupdate/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/qrupdate/default.nix')
-rw-r--r--nixpkgs/pkgs/development/libraries/qrupdate/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/libraries/qrupdate/default.nix b/nixpkgs/pkgs/development/libraries/qrupdate/default.nix
index b941021cb688..ad7e88d4647e 100644
--- a/nixpkgs/pkgs/development/libraries/qrupdate/default.nix
+++ b/nixpkgs/pkgs/development/libraries/qrupdate/default.nix
@@ -1,4 +1,5 @@
 { stdenv
+, lib
 , fetchurl
 , gfortran
 , blas
@@ -24,7 +25,7 @@ stdenv.mkDerivation rec {
       "LAPACK=-L${lapack}/lib -llapack"
       "BLAS=-L${blas}/lib -lblas"
       "PREFIX=${placeholder "out"}"
-      ${stdenv.lib.optionalString blas.isILP64
+      ${lib.optionalString blas.isILP64
       # If another application intends to use qrupdate compiled with blas with
       # 64 bit support, it should add this to it's FFLAGS as well. See (e.g):
       # https://savannah.gnu.org/bugs/?50339
@@ -39,13 +40,13 @@ stdenv.mkDerivation rec {
 
   buildFlags = [ "lib" "solib" ];
 
-  installTargets = stdenv.lib.optionals stdenv.isDarwin [ "install-staticlib" "install-shlib" ];
+  installTargets = lib.optionals stdenv.isDarwin [ "install-staticlib" "install-shlib" ];
 
   buildInputs = [ gfortran ];
 
   nativeBuildInputs = [ which ];
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description = "Library for fast updating of qr and cholesky decompositions";
     homepage = "https://sourceforge.net/projects/qrupdate/";
     license = licenses.gpl3Plus;