Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux: simplify and document kernel customisation #207095

Merged
merged 6 commits into from
Dec 27, 2022

Commits on Dec 21, 2022

  1. lib/versions: add pad

    Pad a version string with zeros to match a given number of components.
    ncfavier committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    0355479 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc346c5 View commit details
    Browse the repository at this point in the history
  3. linux: remove modDirVersionArg argument

    It's redundant with `argsOverride.modDirVersion`.
    ncfavier committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    cf568d2 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2022

  1. nixos/tests: remove minimal-kernel module

    It's not used, doesn't build, and seems like the only reason to have
    `manualConfig` take `stdenv` as an argument.
    ncfavier committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    f677cba View commit details
    Browse the repository at this point in the history
  2. linuxManualConfig: don't require lib and stdenv arguments

    Reverts NixOS@7c7c83e which was
    only needed for the minimal-kernel.nix test module and clutters the call site.
    
    stdenv can still be overridden with `linuxManualConfig.override { stdenv = ...; }`.
    ncfavier committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    6c563f3 View commit details
    Browse the repository at this point in the history
  3. nixos/doc: update custom kernel instructions

    Document the `linux.override` way first, then `linuxManualConfig`.
    
    Add a `linux.configEnv` passthru attribute for quickly getting a
    `make nconfig`-ready shell.
    ncfavier committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    a8fd50b View commit details
    Browse the repository at this point in the history