summary refs log tree commit diff
path: root/pkgs/test/make-binary-wrapper/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/test/make-binary-wrapper/default.nix')
-rw-r--r--pkgs/test/make-binary-wrapper/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/test/make-binary-wrapper/default.nix b/pkgs/test/make-binary-wrapper/default.nix
index c9e045a4d98..c5bb6970aac 100644
--- a/pkgs/test/make-binary-wrapper/default.nix
+++ b/pkgs/test/make-binary-wrapper/default.nix
@@ -3,7 +3,7 @@
 let
   env = { nativeBuildInputs = [ makeBinaryWrapper ]; };
   envCheck = runCommand "envcheck" env ''
-    ${gcc}/bin/cc -o $out ${./envcheck.c}
+    ${gcc}/bin/cc -Wall -Werror -Wpedantic -o $out ${./envcheck.c}
   '';
   makeGoldenTest = testname: runCommand "test-wrapper_${testname}" env ''
     mkdir -p /tmp/foo