liblapack: propagate the 'shared' flag to atlas

This commit is contained in:
Peter Simons 2013-07-04 13:26:34 +02:00
parent 9185515611
commit 3df0409cb6

@ -1,6 +1,6 @@
{ stdenv, fetchurl, gfortran, atlas, cmake, python, shared ? false }: { stdenv, fetchurl, gfortran, atlas, cmake, python, shared ? false }:
let let
atlasMaybeShared = if shared then atlas.override {shared=true;} else atlas; atlasMaybeShared = atlas.override { inherit shared; };
usedLibExtension = if shared then ".so" else ".a"; usedLibExtension = if shared then ".so" else ".a";
in in
stdenv.mkDerivation { stdenv.mkDerivation {