Merge pull request #125280 from zhaofengli/nss-use-64

nss: Set NSS_USE_64=1 for 64-bit platforms
This commit is contained in:
Martin Weinelt 2021-06-02 00:32:04 +02:00 committed by GitHub
commit b70b74f52a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ in stdenv.mkDerivation rec {
runHook postBuild runHook postBuild
''; '';
NIX_CFLAGS_COMPILE = "-Wno-error -DNIX_NSS_LIBDIR=\"${placeholder "out"}/lib/\""; NIX_CFLAGS_COMPILE = "-Wno-error -DNIX_NSS_LIBDIR=\"${placeholder "out"}/lib/\" " + lib.optionalString stdenv.hostPlatform.is64bit "-DNSS_USE_64=1";
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall