From 3df0409cb6b36466817bf8eb4e9e8c5509770d15 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 4 Jul 2013 13:26:34 +0200 Subject: [PATCH] liblapack: propagate the 'shared' flag to atlas --- pkgs/development/libraries/science/math/liblapack/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/science/math/liblapack/default.nix b/pkgs/development/libraries/science/math/liblapack/default.nix index 029deecb93a7..e54eaba4f15a 100644 --- a/pkgs/development/libraries/science/math/liblapack/default.nix +++ b/pkgs/development/libraries/science/math/liblapack/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, gfortran, atlas, cmake, python, shared ? false }: -let - atlasMaybeShared = if shared then atlas.override {shared=true;} else atlas; +let + atlasMaybeShared = atlas.override { inherit shared; }; usedLibExtension = if shared then ".so" else ".a"; in stdenv.mkDerivation {