3
0
Fork 0
forked from mirrors/nixpkgs

haka: fix build on gcc5

See https://hydra.nixos.org/build/33296799/nixlog/1/raw
This commit is contained in:
Joachim Fasting 2016-03-20 22:57:48 +01:00
parent 6d2c7b3926
commit c1901038c8

View file

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
sha1 = "87625ed32841cc0b3aa92aa49397ce71ce434bc2";
};
NIX_CFLAGS_COMPILE = "-Wno-error";
preConfigure = ''
sed -i 's,/etc,'$out'/etc,' src/haka/haka.c
sed -i 's,/etc,'$out'/etc,' src/haka/CMakeLists.txt