diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-09-11 13:10:46 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-11-26 22:07:28 +0100 |
commit | d33dd6e6c09d87a59989057ad622a6265ddec2e0 (patch) | |
tree | a05bc9fef86c320e0b72225e5dba6c8b61044f19 /src/libstore/builtins/unpack-channel.cc | |
parent | d14b1c261cd3dfb4be2da943d901a394c3f23205 (diff) |
Move code around
Diffstat (limited to 'src/libstore/builtins/unpack-channel.cc')
-rw-r--r-- | src/libstore/builtins/unpack-channel.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/builtins/unpack-channel.cc b/src/libstore/builtins/unpack-channel.cc index 2da26d98e..5fc68cd66 100644 --- a/src/libstore/builtins/unpack-channel.cc +++ b/src/libstore/builtins/unpack-channel.cc @@ -1,6 +1,6 @@ -#include "rust.hh" #include "builtins.hh" #include "compression.hh" +#include "tarfile.hh" namespace nix { @@ -27,7 +27,7 @@ void builtinUnpackChannel(const BasicDerivation & drv) decompressor->finish(); }); - unpack_tarfile(*source, out).use()->unwrap(); + unpackTarfile(*source, out); auto entries = readDirectory(out); if (entries.size() != 1) |