Skip to content

Commit a529f37

Browse files
authored
Merge pull request #258 from oskardotglobal/patch-1
Allow passing the network directly to eval-machines.nix
2 parents 8a135e4 + c8da7b8 commit a529f37

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

data/eval-machines.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Completely stripped down version of nixops' evaluator
2-
{ networkExpr }:
2+
{
3+
networkExpr ? null,
4+
network ? import networkExpr,
5+
}:
36

47
let
5-
network = import networkExpr;
68
nwPkgs = network.network.pkgs or { };
79
lib = network.network.lib or nwPkgs.lib or (import <nixpkgs/lib>);
810
evalConfig =

0 commit comments

Comments
 (0)