mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
liblapack: propagate the 'shared' flag to atlas
This commit is contained in:
parent
9185515611
commit
3df0409cb6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user