diff options
author | Artturin <Artturin@artturin.com> | 2023-02-20 17:36:06 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-02-22 21:23:05 +0200 |
commit | 3251013cc149d535d857e6bca6da28a61bf81faa (patch) | |
tree | d12aa6990e978de8c9c1e2fa6e618319955f3299 /pkgs/servers/dns/pdns | |
parent | 226e14914512d33cee00543cd947cf74d50a1258 (diff) |
treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
Diffstat (limited to 'pkgs/servers/dns/pdns')
-rw-r--r-- | pkgs/servers/dns/pdns/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/dns/pdns/default.nix b/pkgs/servers/dns/pdns/default.nix index 3df66385d7612..11fa40ff91bb9 100644 --- a/pkgs/servers/dns/pdns/default.nix +++ b/pkgs/servers/dns/pdns/default.nix @@ -21,9 +21,9 @@ stdenv.mkDerivation rec { ]; # Configure phase requires 64-bit time_t even on 32-bit platforms. - env.NIX_CFLAGS_COMPILE = lib.optionals stdenv.hostPlatform.is32bit [ + env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.hostPlatform.is32bit [ "-D_TIME_BITS=64" "-D_FILE_OFFSET_BITS=64" - ]; + ]); configureFlags = [ "--disable-silent-rules" |