diff --git a/src/script/nix-prefetch-hg b/src/script/nix-prefetch-hg index 55501f41..f1f648f4 100755 --- a/src/script/nix-prefetch-hg +++ b/src/script/nix-prefetch-hg @@ -49,6 +49,7 @@ if test -z "$finalPath"; then tmpClone=$url fi hg archive -q -y -r "$rev" --cwd $tmpClone $tmpArchive + rm -f $tmpArchive/.hg_archival.txt # Compute the hash.