diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-12-19 14:47:18 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-12-19 14:47:18 +0100 |
commit | ee235e764c6a2af1ff3ae24ce8ad9ae0e1928f39 (patch) | |
tree | 36929ecdd82a22d3eba38c31d4be11208f35e94a /src/libstore | |
parent | 9f7b4d068cc106e5d902dc6f52bf46d4a057fd00 (diff) | |
parent | f765e441237cb6679c33cb44372a5b30168c42c8 (diff) |
Merge branch 'libarchive' of https://github.com/yorickvP/nix
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/download.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc index af058ba42..0c231ca1d 100644 --- a/src/libstore/download.cc +++ b/src/libstore/download.cc @@ -908,7 +908,7 @@ CachedDownloadResult Downloader::downloadCached( printInfo("unpacking '%s'...", url); Path tmpDir = createTempDir(); AutoDelete autoDelete(tmpDir, true); - unpackTarfile(store->toRealPath(store->printStorePath(*storePath)), tmpDir, std::string(baseNameOf(url))); + unpackTarfile(store->toRealPath(store->printStorePath(*storePath)), tmpDir); auto members = readDirectory(tmpDir); if (members.size() != 1) throw nix::Error("tarball '%s' contains an unexpected number of top-level files", url); |