diff options
author | Alexander Bantyev | 2020-11-27 19:53:26 +0300 |
---|---|---|
committer | notgne2 | 2020-12-02 10:24:23 -0700 |
commit | 2d0ad40c64dae68295f842daae339d1ccad082b6 (patch) | |
tree | a4cee80a7f5281191151a16a0d692b70dbdfac3a /flake.nix | |
parent | 10194ad529ee41f9a6847860178ea105b72faec5 (diff) |
activate flake check: confirm that activate-rs exists in the profile
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -101,7 +101,9 @@ node_name=$(echo $x | cut -f2 -d:) profile_name=$(echo $x | cut -f3 -d:) - test -f "$profile_path/deploy-rs-activate" || (echo "#$node_name.$profile_name is missing an activation script" && exit 1); + test -f "$profile_path/deploy-rs-activate" || (echo "#$node_name.$profile_name is missing the deploy-rs-activate activation script" && exit 1); + + test -f "$profile_path/activate-rs" || (echo "#$node_name.$profile_name is missing the activate-rs activation script" && exit 1); done touch $out |