diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-06-10 04:20:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-06-10 04:20:00 -0500 |
commit | 8b2d735d1a04ad7bac167433fbad6d010a76944d (patch) | |
tree | df9579390afbd20126053ac5a4ca5a1e71e694d5 /pkgs/development/libraries/nss | |
parent | d6c0115cee9507b1908e7e1b4ce08995e429611d (diff) | |
download | nixpkgs-8b2d735d1a04ad7bac167433fbad6d010a76944d.tar nixpkgs-8b2d735d1a04ad7bac167433fbad6d010a76944d.tar.gz nixpkgs-8b2d735d1a04ad7bac167433fbad6d010a76944d.tar.bz2 nixpkgs-8b2d735d1a04ad7bac167433fbad6d010a76944d.tar.lz nixpkgs-8b2d735d1a04ad7bac167433fbad6d010a76944d.tar.xz nixpkgs-8b2d735d1a04ad7bac167433fbad6d010a76944d.tar.zst nixpkgs-8b2d735d1a04ad7bac167433fbad6d010a76944d.zip |
nss: fix build on darwin
Diffstat (limited to 'pkgs/development/libraries/nss')
-rw-r--r-- | pkgs/development/libraries/nss/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/nss/default.nix b/pkgs/development/libraries/nss/default.nix index 5251c680361..622d11c3160 100644 --- a/pkgs/development/libraries/nss/default.nix +++ b/pkgs/development/libraries/nss/default.nix @@ -66,6 +66,7 @@ in stdenv.mkDerivation rec { "USE_SYSTEM_ZLIB=1" "NSS_USE_SYSTEM_SQLITE=1" "NATIVE_CC=${buildPackages.stdenv.cc}/bin/cc" + ] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ # Pass in CPU even if we're not cross compiling, because otherwise it tries to guess with # uname, which can be wrong if e.g. we're compiling for aarch32 on aarch64 "OS_TEST=${cpu}" |