diff options
author | Will Dietz <w@wdtz.org> | 2018-01-09 09:05:18 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-01-09 09:05:18 -0600 |
commit | 428680b3076a01f278ed629aa3b1744d11a2c231 (patch) | |
tree | affea3f6ff5060fa5569dbfcfe3f0f6fc28b0696 /src/libexpr/primops | |
parent | 84d9e213d2dc8b09705b0668184f33ddd0a004b1 (diff) |
fetchGit: fix creation of uninitialized cache dir, let git create it
fetchGit test (as modified in previous commit) now passes.
Diffstat (limited to 'src/libexpr/primops')
-rw-r--r-- | src/libexpr/primops/fetchGit.cc | 1 |
1 files changed, 0 insertions, 1 deletions
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> store, const std::string & uri, Path cacheDir = getCacheDir() + "/nix/git"; if (!pathExists(cacheDir)) { - createDirs(cacheDir); runProgram("git", true, { "init", "--bare", cacheDir }); } |