mirror of
https://github.com/NixOS/nix.git
synced 2024-10-31 14:20:52 +00:00
Fix test evaluation
This commit is contained in:
parent
a1917208c0
commit
fb5d76b89e
@ -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 New Issue
Block a user