From 428680b3076a01f278ed629aa3b1744d11a2c231 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 9 Jan 2018 09:05:18 -0600 Subject: [PATCH] fetchGit: fix creation of uninitialized cache dir, let git create it fetchGit test (as modified in previous commit) now passes. --- src/libexpr/primops/fetchGit.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libexpr/primops/fetchGit.cc b/src/libexpr/primops/fetchGit.cc index 0d0b11958..fb664cffb 100644 --- a/src/libexpr/primops/fetchGit.cc +++ b/src/libexpr/primops/fetchGit.cc @@ -85,7 +85,6 @@ GitInfo exportGit(ref store, const std::string & uri, Path cacheDir = getCacheDir() + "/nix/git"; if (!pathExists(cacheDir)) { - createDirs(cacheDir); runProgram("git", true, { "init", "--bare", cacheDir }); }