diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix index 745689e312fe..f45116ddf227 100644 --- a/pkgs/tools/misc/grub/2.0x.nix +++ b/pkgs/tools/misc/grub/2.0x.nix @@ -90,6 +90,8 @@ stdenv.mkDerivation rec { hardeningDisable = [ "all" ]; + separateDebugInfo = true; + # Work around a bug in the generated flex lexer (upstream flex bug?) NIX_CFLAGS_COMPILE = "-Wno-error";