diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 861779d9f05..b387efd5c41 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -158,7 +158,7 @@ let # Keep root and arch-specific Makefiles chmod -w Makefile - chmod -w arch/$arch/Makefile + chmod -w arch/$arch/Makefile* # Keep whole scripts dir chmod -w -R scripts