diff --git a/pkgs/tools/graphics/qrcode/default.nix b/pkgs/tools/graphics/qrcode/default.nix index f39071b394c..606e546af29 100644 --- a/pkgs/tools/graphics/qrcode/default.nix +++ b/pkgs/tools/graphics/qrcode/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation { inherit (s) rev url sha256; }; - hardeningDisable = [ "fortify" ]; + NIX_CFLAGS_COMPILE = "-Wno-error=unused-result"; installPhase = '' mkdir -p "$out"/{bin,share/doc/qrcode}