We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ce84b6 + 21d9928 commit 4c6040fCopy full SHA for 4c6040f
tests/git.sh
@@ -61,6 +61,9 @@ if [[ -n $(type -p git) ]]; then
61
# Fetch the default branch.
62
path=$(nix eval --raw "(builtins.fetchTree { type = \"git\"; url = file://$repo; treeHash = \"$treeHash\"; }).outPath")
63
[[ $(cat $path/hello) = world ]]
64
+
65
+ # Submodules cause error.
66
+ (! nix eval --raw "(builtins.fetchTree { type = \"git\"; url = file://$repo; treeHash = \"$treeHash\"; submodules = true; }).outPath")
67
else
68
echo "Git not installed; skipping Git tests"
69
fi
0 commit comments