Fix test evaluation
This commit is contained in:
parent
a1917208c0
commit
fb5d76b89e
2 changed files with 5 additions and 5 deletions
|
@ -4,14 +4,14 @@
|
|||
|
||||
with import <nixpkgs/nixos/lib/testing.nix> { inherit system; };
|
||||
|
||||
makeTest ({ pkgs, ... }: let pkgA = pkgs.aterm; pkgB = pkgs.wget; in {
|
||||
makeTest (let pkgA = pkgs.aterm; pkgB = pkgs.wget; in {
|
||||
|
||||
nodes =
|
||||
{ client =
|
||||
{ config, pkgs, ... }:
|
||||
{ virtualisation.writableStore = true;
|
||||
virtualisation.pathsInNixDB = [ pkgA ];
|
||||
environment.nix = nix;
|
||||
nix.package = nix;
|
||||
};
|
||||
|
||||
server =
|
||||
|
@ -19,7 +19,7 @@ makeTest ({ pkgs, ... }: let pkgA = pkgs.aterm; pkgB = pkgs.wget; in {
|
|||
{ services.openssh.enable = true;
|
||||
virtualisation.writableStore = true;
|
||||
virtualisation.pathsInNixDB = [ pkgB ];
|
||||
environment.nix = nix;
|
||||
nix.package = nix;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
with import <nixpkgs/nixos/lib/testing.nix> { inherit system; };
|
||||
|
||||
makeTest ({ pkgs, ... }:
|
||||
makeTest (
|
||||
|
||||
let
|
||||
|
||||
|
@ -57,7 +57,7 @@ in
|
|||
];
|
||||
virtualisation.writableStore = true;
|
||||
virtualisation.pathsInNixDB = [ config.system.build.extraUtils ];
|
||||
environment.nix = nix;
|
||||
nix.package = nix;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue