diff options
author | Matthieu Coudron <mattator@gmail.com> | 2019-09-18 17:34:02 +0900 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2019-10-01 15:57:14 +0900 |
commit | afa0e02d64b15707262f13a348b33dad735bd80f (patch) | |
tree | 55d7b968cd62ee20069cb935f7fc9f3567629a77 /lib/default.nix | |
parent | 2436c27541b2f52deea3a4c1691216a02152e729 (diff) | |
download | nixpkgs-afa0e02d64b15707262f13a348b33dad735bd80f.tar nixpkgs-afa0e02d64b15707262f13a348b33dad735bd80f.tar.gz nixpkgs-afa0e02d64b15707262f13a348b33dad735bd80f.tar.bz2 nixpkgs-afa0e02d64b15707262f13a348b33dad735bd80f.tar.lz nixpkgs-afa0e02d64b15707262f13a348b33dad735bd80f.tar.xz nixpkgs-afa0e02d64b15707262f13a348b33dad735bd80f.tar.zst nixpkgs-afa0e02d64b15707262f13a348b33dad735bd80f.zip |
lib.kernel: make public
Remove the "version" parameter in order to make it more widely available. Starts making some kernel configuration helpers available. The intent is to be able to better build and check the linux kernel configuration.
Diffstat (limited to 'lib/default.nix')
-rw-r--r-- | lib/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/default.nix b/lib/default.nix index 18d2dfae1e1..efa47a67f96 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -52,6 +52,9 @@ let # back-compat aliases platforms = systems.doubles; + # linux kernel configuration + kernel = callLibs ./kernel.nix; + inherit (builtins) add addErrorContext attrNames concatLists deepSeq elem elemAt filter genericClosure genList getAttr hasAttr head isAttrs isBool isInt isList isString length |