From 799a461b9ea5175e859613667a803f46b52ba494 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Sat, 2 Jun 2018 10:45:02 +0200 Subject: [PATCH] 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. --- pkgs/development/libraries/bulletml/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/bulletml/default.nix b/pkgs/development/libraries/bulletml/default.nix index 240cc057a821..b61ac1dcb09f 100644 --- a/pkgs/development/libraries/bulletml/default.nix +++ b/pkgs/development/libraries/bulletml/default.nix @@ -38,6 +38,7 @@ in stdenv.mkDerivation { "-C src" ]; nativeBuildInputs = [ bison perl ]; + hardeningDisable = [ "format" ]; installPhase = '' install -D -m 644 src/bulletml.d "$out"/include/d/bulletml.d