summary refs log tree commit diff
path: root/pkgs/servers/computing/torque/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/computing/torque/default.nix')
-rw-r--r--pkgs/servers/computing/torque/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/computing/torque/default.nix b/pkgs/servers/computing/torque/default.nix
index ccb57f55bb24d..9cf0b9ba0b20c 100644
--- a/pkgs/servers/computing/torque/default.nix
+++ b/pkgs/servers/computing/torque/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
   enableParallelBuilding = true;
 
   # added to fix build with gcc7
-  NIX_CFLAGS_COMPILE = "-Wno-error -fpermissive";
+  env.NIX_CFLAGS_COMPILE = "-Wno-error -fpermissive";
 
   postPatch = ''
     substituteInPlace Makefile.am \