1
0
Fork 0
mirror of https://github.com/NixOS/hydra.git synced 2024-10-18 17:02:28 -04:00

Fix darcs input to use darcs-specific SCM cache dir.

Currently re-using the git cache dir which could cause overlap problems.
This commit is contained in:
Kevin Quick 2018-09-09 22:04:32 -07:00
parent b7c42a38a3
commit 35bcab74ed

View file

@ -22,7 +22,7 @@ sub fetchInput {
my $storePath;
my $revCount;
my $cacheDir = getSCMCacheDir . "/git";
my $cacheDir = getSCMCacheDir . "/darcs";
mkpath($cacheDir);
my $clonePath = $cacheDir . "/" . sha256_hex($uri);
$uri =~ s|^file://||; # darcs wants paths, not file:// uris