summaryrefslogtreecommitdiff
path: root/gnu/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-03-14 16:37:17 +0100
committerLudovic Courtès <ludo@gnu.org>2017-03-14 17:57:27 +0100
commit5895ec8aa234ec9a4ce68ab8f94e795807630168 (patch)
tree586d0acb50fcebf04975920d06680186823097c0 /gnu/build
parentdf1292074440b556c9f015b178f4bd6b4297f8d3 (diff)
pack: Add '--symlink'.
* guix/scripts/pack.scm (self-contained-tarball): Add #:symlinks parameter. [build](symlink->directives): New procedure (directives): New variable. Add call to 'evaluate-populate-directive'. Pass the directories among DIRECTIVES to 'tar'. (%default-options): Add 'symlinks'. (%options, show-help): Add '--symlink'. (guix-pack): Honor it. * gnu/build/install.scm (evaluate-populate-directive): Export. * doc/guix.texi (Invoking guix pack): Document it.
Diffstat (limited to 'gnu/build')
-rw-r--r--gnu/build/install.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/build/install.scm b/gnu/build/install.scm
index 11f107d63c..5cb6055a0c 100644
--- a/gnu/build/install.scm
+++ b/gnu/build/install.scm
@@ -24,6 +24,7 @@
#:use-module (ice-9 match)
#:export (install-grub
install-grub-config
+ evaluate-populate-directive
populate-root-file-system
reset-timestamps
register-closure