From 3251013cc149d535d857e6bca6da28a61bf81faa Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 20 Feb 2023 17:36:06 +0200 Subject: treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals env values must be strings --- pkgs/applications/misc/opencpn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/misc/opencpn/default.nix') diff --git a/pkgs/applications/misc/opencpn/default.nix b/pkgs/applications/misc/opencpn/default.nix index 31468c6af650..313f61e28ce0 100644 --- a/pkgs/applications/misc/opencpn/default.nix +++ b/pkgs/applications/misc/opencpn/default.nix @@ -117,9 +117,9 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DOCPN_BUNDLE_DOCS=true" ]; - env.NIX_CFLAGS_COMPILE = lib.optionals (!stdenv.hostPlatform.isx86) [ + env.NIX_CFLAGS_COMPILE = toString (lib.optionals (!stdenv.hostPlatform.isx86) [ "-DSQUISH_USE_SSE=0" - ]; + ]); postInstall = lib.optionals stdenv.isDarwin '' mkdir -p $out/Applications -- cgit 1.4.1