From d3ec14f6cb05c8532a0ee8af97fb2c6ed28509dd Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sun, 23 Jan 2022 08:18:46 -0500 Subject: [PATCH] darwin.text_cmds: fix build --- .../darwin/apple-source-releases/text_cmds/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/darwin/apple-source-releases/text_cmds/default.nix b/pkgs/os-specific/darwin/apple-source-releases/text_cmds/default.nix index 9e3d6e49204a..672bb443242b 100644 --- a/pkgs/os-specific/darwin/apple-source-releases/text_cmds/default.nix +++ b/pkgs/os-specific/darwin/apple-source-releases/text_cmds/default.nix @@ -20,6 +20,8 @@ appleDerivation { done ''; + NIX_CFLAGS_COMPILE=[ "-Wno-error=format-security" ]; # hardeningDisable doesn't cut it + meta = { platforms = lib.platforms.darwin; maintainers = with lib.maintainers; [ matthewbauer ];