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

View File

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