From ba9d0402cbb73bd2ab3ac9500cd4d63c88cce8d5 Mon Sep 17 00:00:00 2001 From: Konstantin Shabanov Date: Thu, 30 Jul 2026 21:22:44 +0700 Subject: [PATCH] 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); --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index d77442d7f..eab61e551 100644 --- a/flake.nix +++ b/flake.nix @@ -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";