diff options
author | Artturin <Artturin@artturin.com> | 2023-02-20 17:17:34 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-02-22 21:23:04 +0200 |
commit | 6b2a05e19089c2b16c6ed52e7e495f8a9f903c60 (patch) | |
tree | 30990df54ee4a654a86772f909c5d2c318356419 /pkgs/servers/tvheadend | |
parent | f9fdf2d4028eac28a074c9ad75d309b3dcbf8e7a (diff) | |
download | nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar.gz nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar.bz2 nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar.lz nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar.xz nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.tar.zst nixpkgs-6b2a05e19089c2b16c6ed52e7e495f8a9f903c60.zip |
treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE treewide: move NIX_CFLAGS_COMPILE to the env attrset
Diffstat (limited to 'pkgs/servers/tvheadend')
-rw-r--r-- | pkgs/servers/tvheadend/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/tvheadend/default.nix b/pkgs/servers/tvheadend/default.nix index 8b2e22d0380..75466c0ee21 100644 --- a/pkgs/servers/tvheadend/default.nix +++ b/pkgs/servers/tvheadend/default.nix @@ -75,13 +75,13 @@ in stdenv.mkDerivation { enableParallelBuilding = true; - env.NIX_CFLAGS_COMPILE = toString [ + env.NIX_CFLAGS_COMPILE = toString ([ "-Wno-error=format-truncation" "-Wno-error=stringop-truncation" ] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "12") [ # Needed with GCC 12 but unrecognized with GCC 9 "-Wno-error=use-after-free" - ]; + ]); configureFlags = [ # disable dvbscan, as having it enabled causes a network download which |