blob: cb8c91aa9c2ba64a62b05309cc5b436e3d02ba10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ nixpkgs ? <nixpkgs>
, system ? builtins.currentSystem
}:
let
lib = import (nixpkgs + "/lib");
inherit (lib) evalModules;
evaluated = evalModules {
modules = [
{ nixpkgs.system = system; }
(import (nixpkgs + "/nixos/modules/misc/nixpkgs.nix"))
(import ../modules/pkgs)
];
};
inherit (evaluated.config._module.args) pkgs;
in pkgs
|