add in-tree local lib, ourlib

This commit is contained in:
Pacman99 2021-05-04 21:49:16 -07:00
parent 8dabd0f569
commit f4cd79194a
2 changed files with 6 additions and 3 deletions

View File

@ -44,9 +44,11 @@
latest = { };
};
lib = import ./lib { lib = devlib.lib // nixos.lib; };
sharedOverlays = [
(final: prev: {
ourlib = prev.devlib.extend (import ./lib);
ourlib = self.lib;
})
];
@ -56,6 +58,7 @@
channelName = "nixos";
modules = ./modules/module-list.nix;
externalModules = [
{ _module.args.ourlib = self.lib; }
ci-agent.nixosModules.agent-profile
home.nixosModules.home-manager
./modules/customBuilds.nix

View File

@ -1,2 +1,2 @@
lfinal: lprev: {
}
{ lib }:
lib.makeExtensible (self: { })