impureTest: add clan to $PATH for debugging
This commit is contained in:
parent
89cdbdd62a
commit
618fb4b8a7
@ -17,6 +17,7 @@
|
|||||||
pkgs.jq
|
pkgs.jq
|
||||||
pkgs.openssh
|
pkgs.openssh
|
||||||
pkgs.nix
|
pkgs.nix
|
||||||
|
self'.packages.clan-cli
|
||||||
]}"
|
]}"
|
||||||
|
|
||||||
cd $TMPDIR
|
cd $TMPDIR
|
||||||
@ -32,10 +33,10 @@
|
|||||||
nix flake show
|
nix flake show
|
||||||
|
|
||||||
echo create a machine
|
echo create a machine
|
||||||
${self'.packages.clan-cli}/bin/clan machines create machine1
|
clan machines create machine1
|
||||||
|
|
||||||
echo check machine1 exists
|
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
|
echo check machine1 appears in nixosConfigurations
|
||||||
nix flake show --json | jq '.nixosConfigurations' | grep -q machine1
|
nix flake show --json | jq '.nixosConfigurations' | grep -q machine1
|
||||||
|
Loading…
Reference in New Issue
Block a user