nix: native: Disable format-security hardening

Fixes the error:

error: format not a string literal and no format arguments [-Werror=format-security]
318 |           fprintf (f, prefix);
This commit is contained in:
Konstantin Shabanov 2026-07-30 21:22:44 +07:00
parent a2f375d0ef
commit ba9d0402cb

View File

@ -162,6 +162,8 @@
xtrans # libX11
];
hardeningDisable = [ "format" ];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;
PERL_PATH = "${pkgs.perl}/bin/perl";
SKIP_CHECK_TOOLS = "1";