diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-04-05 00:00:08 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-05-05 20:06:19 -0400 |
commit | f42e4ebb56fe4f16991ca6c6e060c8f3535865cb (patch) | |
tree | df42229a860efae4ec275840bdef2e1c6f423e61 /gnu | |
parent | 7e84d3eef724ef18f8e1c1b0932b6f74d3ae3e35 (diff) | |
download | guix-f42e4ebb56fe4f16991ca6c6e060c8f3535865cb.tar.gz guix-f42e4ebb56fe4f16991ca6c6e060c8f3535865cb.zip |
build: go-build-system: Ensure uniform unpacking directory.
Depending on whether the source is a directory or an archive, we strip the
source directory or preserve it, respectively. This change makes it so that
whether the type of the source, it is unpacked at the expected location given
by the IMPORT-PATH of the Go build system.
* guix/build/go-build-system.scm: Add the (ice-9 ftw) module.
(unpack): Add inner procedure to maybe strip the top level directory of an
archive, document it and use it.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions