diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-02-01 16:54:07 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-02-01 16:54:44 +0100 |
commit | 9287f4461d0804c0594c1f458be1997b30c54d02 (patch) | |
tree | cbc8e725ceb9b70b23004af76ecee8c1aa98ccbc /pkgs/tools/audio | |
parent | baa1d98ce747ee8c9aa7b04ab32069238bfdd9a7 (diff) | |
parent | 6930b5bda8431f2cdb12fecdb26d9d12bec7c4cf (diff) |
Merge #206907: stdenv: gcc11 -> gcc12
Diffstat (limited to 'pkgs/tools/audio')
-rw-r--r-- | pkgs/tools/audio/mpris-scrobbler/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/tools/audio/mpris-scrobbler/default.nix b/pkgs/tools/audio/mpris-scrobbler/default.nix index 35685fd5fb2f5..0c051047c0fc3 100644 --- a/pkgs/tools/audio/mpris-scrobbler/default.nix +++ b/pkgs/tools/audio/mpris-scrobbler/default.nix @@ -53,14 +53,17 @@ stdenv.mkDerivation rec { "-Dversion=${version}" ]; - NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [ + NIX_CFLAGS_COMPILE = [ + # Needed with GCC 12 + "-Wno-error=address" + ] ++ lib.optionals stdenv.isDarwin [ "-Wno-sometimes-uninitialized" "-Wno-tautological-pointer-compare" ] ++ lib.optionals stdenv.isLinux [ "-Wno-array-bounds" "-Wno-free-nonheap-object" "-Wno-stringop-truncation" - ]); + ]; passthru = { updateScript = nix-update-script { }; |