about summary refs log tree commit diff
path: root/pkgs/applications/graphics/gnuclad
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-02-20 17:26:44 +0200
committerArtturin <Artturin@artturin.com>2023-02-22 21:23:05 +0200
commit226e14914512d33cee00543cd947cf74d50a1258 (patch)
tree28ee852076b6620717b19be0001e978fae30cce1 /pkgs/applications/graphics/gnuclad
parent6b2a05e19089c2b16c6ed52e7e495f8a9f903c60 (diff)
treewide: env.NIX_CFLAGS_COMPILE use optionalString instead of optional
env values must be strings
Diffstat (limited to 'pkgs/applications/graphics/gnuclad')
-rw-r--r--pkgs/applications/graphics/gnuclad/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/gnuclad/default.nix b/pkgs/applications/graphics/gnuclad/default.nix
index a2eb640bc1f13..b90735d850837 100644
--- a/pkgs/applications/graphics/gnuclad/default.nix
+++ b/pkgs/applications/graphics/gnuclad/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
     sha256 = "0ka2kscpjff7gflsargv3r9fdaxhkf3nym9mfaln3pnq6q7fwdki";
   };
 
-  env.NIX_CFLAGS_COMPILE = lib.optional stdenv.cc.isGNU "-Wno-error=catch-value";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=catch-value";
 
   nativeBuildInputs = [ pkg-config ];