summary refs log tree commit diff
path: root/pkgs/development/tools/profiling/systemtap/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/profiling/systemtap/default.nix')
-rw-r--r--pkgs/development/tools/profiling/systemtap/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/profiling/systemtap/default.nix b/pkgs/development/tools/profiling/systemtap/default.nix
index c47fd1604d2..e7c3ee8c578 100644
--- a/pkgs/development/tools/profiling/systemtap/default.nix
+++ b/pkgs/development/tools/profiling/systemtap/default.nix
@@ -19,7 +19,7 @@ let
     nativeBuildInputs = [ pkg-config cpio python3 python3.pkgs.setuptools ];
     buildInputs = [ elfutils gettext ];
     enableParallelBuilding = true;
-    NIX_CFLAGS_COMPILE = toString [ "-Wno-error=deprecated-declarations" ]; # Needed with GCC 12
+    env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=deprecated-declarations" ]; # Needed with GCC 12
   };
 
   ## a kernel build dir as expected by systemtap