aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/flake-searching.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/flake-searching.sh b/tests/flake-searching.sh
index 6558aff9a..bc55f2bdc 100644
--- a/tests/flake-searching.sh
+++ b/tests/flake-searching.sh
@@ -1,5 +1,10 @@
source common.sh
+if [[ -z $(type -p git) ]]; then
+ echo "Git not installed; skipping flake search tests"
+ exit 99
+fi
+
clearStore
cp ./simple.nix ./simple.builder.sh ./config.nix $TEST_HOME