diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/download.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/download.cc b/src/libexpr/download.cc index 18ab6fbcda73..062622000dc2 100644 --- a/src/libexpr/download.cc +++ b/src/libexpr/download.cc @@ -212,6 +212,7 @@ Path downloadFileCached(const string & url, bool unpack) printMsg(lvlInfo, format("unpacking ‘%1%’...") % url); Path tmpDir = createTempDir(); AutoDelete autoDelete(tmpDir, true); + // FIXME: this requires GNU tar for decompression. runProgram("tar", true, {"xf", storePath, "-C", tmpDir, "--strip-components", "1"}, ""); unpackedStorePath = store->addToStore(name, tmpDir, true, htSHA256, defaultPathFilter, false); } |