diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index 4e6f25b8dd7d9..f6a317a888a5b 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -105,6 +105,10 @@ for arg; do fi done +if test -n $deepClone; then + leaveDotGit=true +fi + if test -z "$url"; then usage fi