bulletml: fix build failure due to -Wformat-security (#41387)

Some files are built with -Wno-format, which is not compatible with the
default hardening setting of -Wformat-security in Nixpkgs.
This commit is contained in:
Francesco Gazzetta 2018-06-02 10:45:02 +02:00 committed by xeji
parent 9290905b3a
commit 799a461b9e

View File

@ -38,6 +38,7 @@ in stdenv.mkDerivation {
"-C src" "-C src"
]; ];
nativeBuildInputs = [ bison perl ]; nativeBuildInputs = [ bison perl ];
hardeningDisable = [ "format" ];
installPhase = '' installPhase = ''
install -D -m 644 src/bulletml.d "$out"/include/d/bulletml.d install -D -m 644 src/bulletml.d "$out"/include/d/bulletml.d