about summary refs log tree commit diff
path: root/pkgs/tools/archivers/sharutils/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/archivers/sharutils/default.nix')
-rw-r--r--pkgs/tools/archivers/sharutils/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/sharutils/default.nix b/pkgs/tools/archivers/sharutils/default.nix
index 002854e045d22..5c84e596531c3 100644
--- a/pkgs/tools/archivers/sharutils/default.nix
+++ b/pkgs/tools/archivers/sharutils/default.nix
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
     '';
 
   # Workaround to fix the static build on macOS.
-  NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
+  env.NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
 
   doCheck = true;