From db2b306747e426d85c52d7fd8d378f9740d233bb Mon Sep 17 00:00:00 2001 From: xeji Date: Sun, 11 Mar 2018 19:00:58 +0100 Subject: [PATCH] torque: fix build w/gcc7 --- pkgs/servers/computing/torque/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/servers/computing/torque/default.nix b/pkgs/servers/computing/torque/default.nix index 9c4bc4bda73..35c830dff8a 100644 --- a/pkgs/servers/computing/torque/default.nix +++ b/pkgs/servers/computing/torque/default.nix @@ -16,6 +16,9 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + # added to fix build with gcc7 + NIX_CFLAGS_COMPILE = [ "-fpermissive" ]; + preConfigure = '' substituteInPlace ./configure \ --replace '/usr/bin/file' '${file}/bin/file'