From 76e1b56c841937fa4b12b8a94aff6e21b8cd27dd Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 31 Dec 2017 03:59:13 +0100 Subject: tests deploy: get pkgs with overlays --- krebs/6tests/deploy.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'krebs/6tests/deploy.nix') diff --git a/krebs/6tests/deploy.nix b/krebs/6tests/deploy.nix index 842bbc22..99a66dd5 100644 --- a/krebs/6tests/deploy.nix +++ b/krebs/6tests/deploy.nix @@ -1,7 +1,8 @@ with import ; -import ({ pkgs, ... }: +import ({ ... }: let + pkgs = import { overlays = [(import ../5pkgs)]; }; test-config = ; privKey = '' -----BEGIN OPENSSH PRIVATE KEY----- -- cgit v1.2.3 From 9ee5c02e755799e50f265e31c1694190cc2e703a Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 31 Dec 2017 04:14:30 +0100 Subject: tests deploy: cleanup --- krebs/6tests/deploy.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'krebs/6tests/deploy.nix') diff --git a/krebs/6tests/deploy.nix b/krebs/6tests/deploy.nix index 99a66dd5..156e9239 100644 --- a/krebs/6tests/deploy.nix +++ b/krebs/6tests/deploy.nix @@ -42,15 +42,12 @@ let cd ${} export NIX_PATH=stockholm=${}:nixpkgs=${}:$NIX_PATH exec >&2 - : ${minimalSystem} source=${pkgs.writeJSON "source.json" populate-source} - cat > /tmp/derp < { @@ -71,22 +68,20 @@ in { imports = [ test-config ]; environment.variables = { NIX_PATH = mkForce "nixpkgs=${}"; - #LOL = minimalSystem; }; services.openssh.enable = true; users.extraUsers.root.openssh.authorizedKeys.keys = [ pubKey ]; - #virtualisation.writableStore = true; virtualisation.pathsInNixDB = [ minimalSystem - pkgs.stockholm ]; + environment.systemPackages = [ pkgs.git ]; }; client = - { config, pkgs, ... }: { }; - + { config, pkgs, ... }: + { }; }; testScript = '' -- cgit v1.2.3