mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Fix evaluation
This commit is contained in:
parent
f1b5c6876b
commit
fc14585610
1 changed files with 6 additions and 3 deletions
|
@ -31,13 +31,16 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = (import (nixpkgs + "/nixos/lib/eval-config.nix") {
|
cfg = (import (nixpkgs + "/nixos/lib/eval-config.nix") {
|
||||||
modules = [ machine ];
|
modules = [ machine ];
|
||||||
}).config;
|
system = "x86_64-linux";
|
||||||
|
});
|
||||||
|
|
||||||
|
config = cfg.config;
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
with import nixpkgs {};
|
with cfg._module.args.pkgs;
|
||||||
|
|
||||||
runCommand "test"
|
runCommand "test"
|
||||||
{ buildInputs = [ config.system.path ];
|
{ buildInputs = [ config.system.path ];
|
||||||
|
|
Loading…
Reference in a new issue