about summary refs log tree commit diff
path: root/src/libexpr/download.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-01T13·14+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-01T13·14+0200
commitda196ec68f8b34e0c4c7ee32beb9073b31b1531e (patch)
treebd67404b329704a131a01a8d1f3ba2f9f061f621 /src/libexpr/download.cc
parentc1323b53e3a1650271469f713804e628509a858c (diff)
Document tarball downloading
Diffstat (limited to 'src/libexpr/download.cc')
-rw-r--r--src/libexpr/download.cc1
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);
         }