haka: fix build on gcc5
See https://hydra.nixos.org/build/33296799/nixlog/1/raw
This commit is contained in:
parent
6d2c7b3926
commit
c1901038c8
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha1 = "87625ed32841cc0b3aa92aa49397ce71ce434bc2";
|
sha1 = "87625ed32841cc0b3aa92aa49397ce71ce434bc2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i 's,/etc,'$out'/etc,' src/haka/haka.c
|
sed -i 's,/etc,'$out'/etc,' src/haka/haka.c
|
||||||
sed -i 's,/etc,'$out'/etc,' src/haka/CMakeLists.txt
|
sed -i 's,/etc,'$out'/etc,' src/haka/CMakeLists.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user