summary refs log tree commit diff
path: root/pkgs/development/compilers/chez-racket/shared.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/chez-racket/shared.nix')
-rw-r--r--pkgs/development/compilers/chez-racket/shared.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/chez-racket/shared.nix b/pkgs/development/compilers/chez-racket/shared.nix
index f5a9bbc1e5b..a2ca8b5b6e5 100644
--- a/pkgs/development/compilers/chez-racket/shared.nix
+++ b/pkgs/development/compilers/chez-racket/shared.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation (args // {
 
   enableParallelBuilding = true;
 
-  NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=format-truncation";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=format-truncation";
 
   meta = {
     description  = "Fork of Chez Scheme for Racket";