diff options
author | Artturin <Artturin@artturin.com> | 2023-02-20 17:17:34 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-02-22 21:23:04 +0200 |
commit | 6b2a05e19089c2b16c6ed52e7e495f8a9f903c60 (patch) | |
tree | 30990df54ee4a654a86772f909c5d2c318356419 /pkgs/development/libraries/nss | |
parent | f9fdf2d4028eac28a074c9ad75d309b3dcbf8e7a (diff) | |
download | nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar.gz nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar.bz2 nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar.lz nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar.xz nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar.zst nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.zip |
treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE treewide: move NIX_CFLAGS_COMPILE to the env attrset
Diffstat (limited to 'pkgs/development/libraries/nss')
-rw-r--r-- | pkgs/development/libraries/nss/generic.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/nss/generic.nix b/pkgs/development/libraries/nss/generic.nix index a9382294ebe..408d5f4e1ac 100644 --- a/pkgs/development/libraries/nss/generic.nix +++ b/pkgs/development/libraries/nss/generic.nix @@ -103,14 +103,14 @@ stdenv.mkDerivation rec { runHook postBuild ''; - env.NIX_CFLAGS_COMPILE = toString [ + env.NIX_CFLAGS_COMPILE = toString ([ "-Wno-error" "-DNIX_NSS_LIBDIR=\"${placeholder "out"}/lib/\"" ] ++ lib.optionals stdenv.hostPlatform.is64bit [ "-DNSS_USE_64=1" ] ++ lib.optionals stdenv.hostPlatform.isILP32 [ "-DNS_PTR_LE_32=1" # See RNG_RandomUpdate() in drdbg.c - ]; + ]); installPhase = '' runHook preInstall |