From 618fb4b8a7b2b03f5c9b30e01b54cc82f087003c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 3 Sep 2023 15:17:28 +0200 Subject: [PATCH] impureTest: add clan to $PATH for debugging --- checks/impure/flake-module.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/checks/impure/flake-module.nix b/checks/impure/flake-module.nix index d8018061..4d571c4d 100644 --- a/checks/impure/flake-module.nix +++ b/checks/impure/flake-module.nix @@ -17,6 +17,7 @@ pkgs.jq pkgs.openssh pkgs.nix + self'.packages.clan-cli ]}" cd $TMPDIR @@ -32,10 +33,10 @@ nix flake show echo create a machine - ${self'.packages.clan-cli}/bin/clan machines create machine1 + clan machines create machine1 echo check machine1 exists - ${self'.packages.clan-cli}/bin/clan machines list | grep -q machine1 + clan machines list | grep -q machine1 echo check machine1 appears in nixosConfigurations nix flake show --json | jq '.nixosConfigurations' | grep -q machine1