From c725f0011e91ae49d351b981690eb66b862b6104 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 6 Mar 2022 19:20:02 +0000 Subject: shells/linux: don't set -g3 This breaks the kernel's compiler version check. --- shells/linux.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shells/linux.nix b/shells/linux.nix index 0ea7e4f85c85..6b5857d7cc3e 100644 --- a/shells/linux.nix +++ b/shells/linux.nix @@ -3,6 +3,9 @@ with pkgs; (import ./c.nix args).overrideAttrs ({ buildInputs ? [], ... }: { name = "linux-shell"; + + NIX_CFLAGS_COMPILE = null; + buildInputs = buildInputs ++ [ elfutils openssl -- cgit 1.4.1