diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-02-12 12:57:11 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-02-12 14:20:35 +0100 |
commit | b5ace1ffc029c4fea5ab2344c0a77e459b3df4ed (patch) | |
tree | 0417bea1438cf731a36f3bd13d650b358ce2cf07 /pkgs/applications/audio/furnace | |
parent | 95d2ac73ccc4722a86b21e7b087eae767c71c4d9 (diff) |
furnace, tvheadend: more fallout from gcc upgrade
Diffstat (limited to 'pkgs/applications/audio/furnace')
-rw-r--r-- | pkgs/applications/audio/furnace/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/audio/furnace/default.nix b/pkgs/applications/audio/furnace/default.nix index 3d3b87e3c5dc8..f0bb039a79c4a 100644 --- a/pkgs/applications/audio/furnace/default.nix +++ b/pkgs/applications/audio/furnace/default.nix @@ -63,8 +63,8 @@ stdenv.mkDerivation rec { "-DWARNINGS_ARE_ERRORS=ON" ]; - NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ - # Needed with GCC 12 but breaks on darwin (with clang) + NIX_CFLAGS_COMPILE = lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "12") [ + # Needed with GCC 12 but breaks on darwin (with clang) or aarch64 (old gcc) "-Wno-error=mismatched-new-delete" "-Wno-error=use-after-free" ]; |