diff options
author | Doro Rose <doroerose@gmail.com> | 2022-04-10 20:51:12 +0200 |
---|---|---|
committer | Doro Rose <doroerose@gmail.com> | 2022-04-10 20:51:12 +0200 |
commit | 4a8f46f7ce3ba5ba23b12823658afe74d6a5223e (patch) | |
tree | 28082029b5b98db20d15c3ae027a1cf709ebaea5 /pkgs/development/libraries/boost | |
parent | 2aba5d30805183215704d168085c6c2c34eeaf0b (diff) | |
download | nixpkgs-4a8f46f7ce3ba5ba23b12823658afe74d6a5223e.tar nixpkgs-4a8f46f7ce3ba5ba23b12823658afe74d6a5223e.tar.gz nixpkgs-4a8f46f7ce3ba5ba23b12823658afe74d6a5223e.tar.bz2 nixpkgs-4a8f46f7ce3ba5ba23b12823658afe74d6a5223e.tar.lz nixpkgs-4a8f46f7ce3ba5ba23b12823658afe74d6a5223e.tar.xz nixpkgs-4a8f46f7ce3ba5ba23b12823658afe74d6a5223e.tar.zst nixpkgs-4a8f46f7ce3ba5ba23b12823658afe74d6a5223e.zip |
boost: make boost work for static darwin builds
Prior needsUserConfig setting is unconditionally applied for darwin. This is not valid for static builds and should only be set for dynamically linked darwin builds.
Diffstat (limited to 'pkgs/development/libraries/boost')
-rw-r--r-- | pkgs/development/libraries/boost/generic.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix index c0fce3ae576..17698216b8d 100644 --- a/pkgs/development/libraries/boost/generic.nix +++ b/pkgs/development/libraries/boost/generic.nix @@ -68,7 +68,7 @@ let else "$NIX_BUILD_CORES"; - needUserConfig = stdenv.hostPlatform != stdenv.buildPlatform || useMpi || stdenv.isDarwin; + needUserConfig = stdenv.hostPlatform != stdenv.buildPlatform || useMpi || (stdenv.isDarwin && enableShared); b2Args = concatStringsSep " " ([ "--includedir=$dev/include" |