aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAlexander Bantyev2020-11-27 19:53:26 +0300
committernotgne22020-12-02 10:24:23 -0700
commit2d0ad40c64dae68295f842daae339d1ccad082b6 (patch)
treea4cee80a7f5281191151a16a0d692b70dbdfac3a /flake.nix
parent10194ad529ee41f9a6847860178ea105b72faec5 (diff)
activate flake check: confirm that activate-rs exists in the profile
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 73c5f68..7b6d31a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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