nss: use stdenv shared library extension when creating p11-kit symlink
Otherwise we get a broken symlink on darwin: https://hydra.nixos.org/build/287026264/nixlog/4/tail
This commit is contained in:
committed by
Vladimír Čunát
parent
4e1833c481
commit
b7c6efe37a
@@ -175,7 +175,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = lib.optionalString useP11kit ''
|
||||
# Replace built-in trust with p11-kit connection
|
||||
ln -sf ${p11-kit}/lib/pkcs11/p11-kit-trust.so $out/lib/libnssckbi.so
|
||||
ln -sf ${p11-kit}/lib/pkcs11/p11-kit-trust${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/libnssckbi${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
'';
|
||||
|
||||
postFixup =
|
||||
|
||||
Reference in New Issue
Block a user