diff options
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/all-tests.nix | 9 | ||||
-rw-r--r-- | nixos/tests/dsl.nix | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 5b9710d..3c663c4 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1,7 +1,12 @@ -{ lib, testers }: +{ + lib, + testers, + nix, + callPackage, +}: let - dsl = ./dsl.nix; + dsl = callPackage ./dsl.nix { inherit nix; }; diamond.dag = { nodes.a = { }; nodes.b.inputs.a = { }; # b->a diff --git a/nixos/tests/dsl.nix b/nixos/tests/dsl.nix index 1fc1fbc..0013424 100644 --- a/nixos/tests/dsl.nix +++ b/nixos/tests/dsl.nix @@ -1,3 +1,4 @@ +{ nix }: { lib, config, ... }: let @@ -92,7 +93,7 @@ in config.nodes.builder = { pkgs, ... }: let - evanix = pkgs.callPackage ../../package.nix { }; + evanix = pkgs.callPackage ../../package.nix { inherit nix; }; scope = pkgs.lib.makeScope pkgs.newScope scope-fun; configJson = (pkgs.formats.json { }).generate "nix-dag.json" config.dag; |