about summary refs log tree commit diff
path: root/pkgs/development/compilers/ponyc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/ponyc/default.nix')
-rw-r--r--pkgs/development/compilers/ponyc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ponyc/default.nix b/pkgs/development/compilers/ponyc/default.nix
index 050099075142..18443efae7a2 100644
--- a/pkgs/development/compilers/ponyc/default.nix
+++ b/pkgs/development/compilers/ponyc/default.nix
@@ -73,7 +73,7 @@ stdenv.mkDerivation (rec {
 
   doCheck = true;
 
-  NIX_CFLAGS_COMPILE = toString [ "-Wno-error=redundant-move" "-Wno-error=implicit-fallthrough" ];
+  env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=redundant-move" "-Wno-error=implicit-fallthrough" ];
 
   installPhase = "make config=release prefix=$out "
     + lib.optionalString stdenv.isDarwin "bits=64 "