Merge pull request #125280 from zhaofengli/nss-use-64
nss: Set NSS_USE_64=1 for 64-bit platforms
This commit is contained in:
commit
b70b74f52a
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ in stdenv.mkDerivation rec {
|
|||
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 = ''
|
||||
runHook preInstall
|
||||
|
|
Loading…
Reference in a new issue