From 2d0ad40c64dae68295f842daae339d1ccad082b6 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Fri, 27 Nov 2020 19:53:26 +0300 Subject: activate flake check: confirm that activate-rs exists in the profile --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3