summaryrefslogtreecommitdiffstats
path: root/lib/default.nix
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-09-18 17:34:02 +0900
committerMatthieu Coudron <mattator@gmail.com>2019-10-01 15:57:14 +0900
commitafa0e02d64b15707262f13a348b33dad735bd80f (patch)
tree55d7b968cd62ee20069cb935f7fc9f3567629a77 /lib/default.nix
parent2436c27541b2f52deea3a4c1691216a02152e729 (diff)
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.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 18d2dfae1e18..efa47a67f966 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