diff options
author | Artturin <Artturin@artturin.com> | 2023-02-19 21:23:07 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-02-22 21:23:04 +0200 |
commit | 6f6cc4a22db345c66bcb69c26469b0140ca3be44 (patch) | |
tree | e851a90035e6371da52a64732344873f43de0195 /pkgs/applications/emulators | |
parent | 425e4250dbaab761b638542119b9c5cc604f1d86 (diff) | |
download | nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar.gz nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar.bz2 nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar.lz nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar.xz nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar.zst nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.zip |
treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/dosbox-staging/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/emulators/mame/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/emulators/simh/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/emulators/tilem/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/emulators/zsnes/2.x.nix | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/emulators/dosbox-staging/default.nix b/pkgs/applications/emulators/dosbox-staging/default.nix index f26fb7c9d76..2fd5e873036 100644 --- a/pkgs/applications/emulators/dosbox-staging/default.nix +++ b/pkgs/applications/emulators/dosbox-staging/default.nix @@ -69,7 +69,7 @@ stdenv.mkDerivation rec { speexdsp ]; - NIX_CFLAGS_COMPILE = [ + NIX_CFLAGS_COMPILE = toString [ "-I${SDL2_image}/include/SDL2" "-I${SDL2_net}/include/SDL2" ]; diff --git a/pkgs/applications/emulators/mame/default.nix b/pkgs/applications/emulators/mame/default.nix index aedf42ee126..84aab8b0330 100644 --- a/pkgs/applications/emulators/mame/default.nix +++ b/pkgs/applications/emulators/mame/default.nix @@ -117,7 +117,7 @@ stdenv.mkDerivation rec { --subst-var-by mamePath "$out/opt/mame" ''; - NIX_CFLAGS_COMPILE = [ + NIX_CFLAGS_COMPILE = toString [ "-Wno-error=use-after-free" ]; diff --git a/pkgs/applications/emulators/simh/default.nix b/pkgs/applications/emulators/simh/default.nix index 6f3409ec063..0b09f8aae5a 100644 --- a/pkgs/applications/emulators/simh/default.nix +++ b/pkgs/applications/emulators/simh/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { # Workaround to build against upstream gcc-10 and clang-11. # Can be removed when next release contains # https://github.com/simh/simh/issues/794 - NIX_CFLAGS_COMPILE = [ "-fcommon" ]; + NIX_CFLAGS_COMPILE = toString [ "-fcommon" ]; makeFlags = [ "GCC=${stdenv.cc.targetPrefix}cc" "CC_STD=-std=c99" "LDFLAGS=-lm" ]; diff --git a/pkgs/applications/emulators/tilem/default.nix b/pkgs/applications/emulators/tilem/default.nix index bde706e2304..93d07c1198d 100644 --- a/pkgs/applications/emulators/tilem/default.nix +++ b/pkgs/applications/emulators/tilem/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ glib gtk2 libticonv libtifiles2 libticables2 libticalcs2 ]; - NIX_CFLAGS_COMPILE = [ "-lm" ]; + NIX_CFLAGS_COMPILE = toString [ "-lm" ]; meta = with lib; { homepage = "http://lpg.ticalc.org/prj_tilem/"; description = "Emulator and debugger for Texas Instruments Z80-based graphing calculators"; diff --git a/pkgs/applications/emulators/zsnes/2.x.nix b/pkgs/applications/emulators/zsnes/2.x.nix index fdb4ad9fa13..8602e2809b6 100644 --- a/pkgs/applications/emulators/zsnes/2.x.nix +++ b/pkgs/applications/emulators/zsnes/2.x.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { dontConfigure = true; - NIX_CFLAGS_COMPILE = [ + NIX_CFLAGS_COMPILE = toString [ # Until upstream fixes the issues... "-Wp,-D_FORTIFY_SOURCE=0" ]; |