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.
This commit is contained in:
Matthieu Coudron
2019-10-01 15:57:14 +09:00
parent 2436c27541
commit afa0e02d64
5 changed files with 13 additions and 11 deletions
+3
View File
@@ -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