diff options
author | Artturin <Artturin@artturin.com> | 2023-02-20 17:26:44 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-02-22 21:23:05 +0200 |
commit | 226e14914512d33cee00543cd947cf74d50a1258 (patch) | |
tree | 28ee852076b6620717b19be0001e978fae30cce1 /pkgs/tools/graphics/icoutils | |
parent | 6b2a05e19089c2b16c6ed52e7e495f8a9f903c60 (diff) |
treewide: env.NIX_CFLAGS_COMPILE use optionalString instead of optional
env values must be strings
Diffstat (limited to 'pkgs/tools/graphics/icoutils')
-rw-r--r-- | pkgs/tools/graphics/icoutils/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/icoutils/default.nix b/pkgs/tools/graphics/icoutils/default.nix index acd2b4302fc9d..b450537b5a428 100644 --- a/pkgs/tools/graphics/icoutils/default.nix +++ b/pkgs/tools/graphics/icoutils/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { # Fixes a build failure on aarch64-darwin. Define for all Darwin targets for when x86_64-darwin # upgrades to a newer SDK. - env.NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-DTARGET_OS_IPHONE=0"; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-DTARGET_OS_IPHONE=0"; patchPhase = '' patchShebangs extresso/extresso |