nss: remove usage of stdenv.lib

This commit is contained in:
Sandro Jäckel 2021-01-31 16:07:26 +01:00
parent 8ac8a860b9
commit 9fc898d625
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -142,7 +142,7 @@ in stdenv.mkDerivation rec {
chmod 0755 $out/bin/nss-config
'';
postInstall = stdenv.lib.optionalString useP11kit ''
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
'';