Merge pull request #36820 from xeji/p/torque

torque: fix build with gcc7
This commit is contained in:
Franz Pletz 2018-03-12 23:29:36 +00:00 committed by GitHub
commit 6a5cb56ace
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'