summary refs log tree commit diff
path: root/pkgs/servers/tvheadend
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-02-20 17:17:34 +0200
committerArtturin <Artturin@artturin.com>2023-02-22 21:23:04 +0200
commit6b2a05e19089c2b16c6ed52e7e495f8a9f903c60 (patch)
tree30990df54ee4a654a86772f909c5d2c318356419 /pkgs/servers/tvheadend
parentf9fdf2d4028eac28a074c9ad75d309b3dcbf8e7a (diff)
downloadnixpkgs-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.nix4
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