geis: fix build (#46663)

disable format hardening, ignore some compiler warnings

(cherry picked from commit 57ee141696)
This commit is contained in:
xeji
2018-09-14 23:58:04 +02:00
committed by Uli Baum
parent b158a30bb1
commit 0da7a40fca

View File

@@ -29,7 +29,9 @@ stdenv.mkDerivation rec {
sha256 = "1svhbjibm448ybq6gnjjzj0ak42srhihssafj0w402aj71lgaq4a";
};
NIX_CFLAGS_COMPILE = "-Wno-format -Wno-misleading-indentation -Wno-error";
NIX_CFLAGS_COMPILE = [ "-Wno-error=misleading-indentation" "-Wno-error=pointer-compare" ];
hardeningDisable = [ "format" ];
pythonPath = with python3Packages;
[ pygobject3 ];