mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03: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 }:
|
{ 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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user