tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nss: fix non-cross builds
Audrey Dutcher
10 months ago
29287c93
06a6e307
+3
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
nss
generic.nix
+3
-1
pkgs/development/libraries/nss/generic.nix
···
121
121
]
122
122
++ lib.optional enableFIPS "--enable-fips"
123
123
++ lib.optional stdenv.hostPlatform.isDarwin "--clang"
124
124
-
++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
124
124
+
++ lib.optionals (target_system != stdenv.buildPlatform.uname.system) [
125
125
"-DOS=${target_system}"
126
126
+
]
127
127
+
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
126
128
"--disable-tests"
127
129
];
128
130
in