source common.sh if [[ -z $(type -p git) ]]; then echo "Git not installed; skipping flake tests" exit 99 fi clearStore registry=$TEST_ROOT/registry.json flake1=$TEST_ROOT/flake1 flake2=$TEST_ROOT/flake2 flake3=$TEST_ROOT/flake3 for repo in $flake1 $flake2 $flake3; do rm -rf $repo mkdir $repo git -C $repo init git -C $repo config user.email "foobar@example.com" git -C $repo config user.name "Foobar" done cat > $flake1/flake.nix < $flake2/flake.nix < $flake3/flake.nix < $registry <