lib/modules: pull devlib module arg from pkgs

So any overlays affecting devlib also affect the module argument
This commit is contained in:
Pacman99 2021-05-02 21:05:21 -07:00
parent deb47dbfae
commit 7bf605d08c
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@
"utils": "utils_2"
},
"locked": {
"narHash": "sha256-AnasH9JbhPD+sR30YP+1IvNoO0S4hUcSraJwvXIaIpo=",
"narHash": "sha256-jG9Y7IiZkB+xKuqsVr2wr0zfV2TNziIIRmv0MHqzis0=",
"path": "./lib",
"type": "path"
},

View file

@ -43,7 +43,7 @@
_module.args = {
inherit self;
devlib = lib;
devlib = pkgs.devlib;
hosts = builtins.mapAttrs (_: host: host.config)
(removeAttrs self.nixosConfigurations [ config.networking.hostName ]);
};