diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-06-01 15:14:44 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-06-01 15:14:44 +0200 |
commit | da196ec68f8b34e0c4c7ee32beb9073b31b1531e (patch) | |
tree | bd67404b329704a131a01a8d1f3ba2f9f061f621 /src | |
parent | c1323b53e3a1650271469f713804e628509a858c (diff) |
Document tarball downloading
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 18ab6fbcd..062622000 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); } |