Merge pull request #102469 from zimbatm/staging-nss-fixup

Staging nss fixup
This commit is contained in:
Florian Klink
2020-11-02 12:21:30 +01:00
committed by GitHub
+2 -2
View File
@@ -134,7 +134,7 @@ in stdenv.mkDerivation rec {
isCross = stdenv.hostPlatform != stdenv.buildPlatform; isCross = stdenv.hostPlatform != stdenv.buildPlatform;
nss = if isCross then buildPackages.nss.tools else "$out"; nss = if isCross then buildPackages.nss.tools else "$out";
in in
(stdenv.lib.optionalString enableFIPS '' (stdenv.lib.optionalString enableFIPS (''
for libname in freebl3 nssdbm3 softokn3 for libname in freebl3 nssdbm3 softokn3
do '' + do '' +
(if stdenv.isDarwin (if stdenv.isDarwin
@@ -147,7 +147,7 @@ in stdenv.mkDerivation rec {
'') + '' '') + ''
${nss}/bin/shlibsign -v -i "$libfile" ${nss}/bin/shlibsign -v -i "$libfile"
done done
'') + '')) +
'' ''
moveToOutput bin "$tools" moveToOutput bin "$tools"
moveToOutput bin/nss-config "$dev" moveToOutput bin/nss-config "$dev"