-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Simplify kernel build #2296
Copy link
Copy link
Open
Labels
0.kind: enhancementAdd something new or improve an existing system.Add something new or improve an existing system.2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: kernelThe Linux kernelThe Linux kernel
Description
The kernel build / configuration is now unnecessarily complicated:
- There is a
generic.nixand the oddly namedmanual-config.nix. - The kernel config can be specified in multiple ways, namely as a string and as an attribute set. The latter doesn't appear to be used anywhere. Kernel configuration can also come from
pkgs/top-level/platforms.nix. manual-config.nixhas an "import from derivation" feature, which appears to be unused except by the NixOSsystem.requiredKernelConfigoption, which is itself unused (AFAIK).
We should merge generic.nix and manual-config.nix, drop the configuration via attribute sets and platforms.nix (alternatively, convert the string configuration to attribute set), and drop the "import from derivation" stuff.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: enhancementAdd something new or improve an existing system.Add something new or improve an existing system.2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: kernelThe Linux kernelThe Linux kernel
Fields
Give feedbackNo fields configured for issues without a type.