pack: Add '--relocatable'.
authorLudovic Courtès <ludovic.courtes@inria.fr>
Wed, 2 May 2018 15:08:37 +0000 (17:08 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 10 May 2018 12:53:57 +0000 (14:53 +0200)
commit47a60325ca650e8fc1a291c8655b4297f4de8deb
treec35def0132f7fa9d078d6818721667b8dbd73ba2
parent54fd5ad0a5da92a35056a72021174234913fe10f
pack: Add '--relocatable'.

* gnu/packages/aux-files/run-in-namespace.c: New file.
* Makefile.am (AUX_FILES): Add it.
* guix/scripts/pack.scm (<c-compiler>): New record type.
(c-compiler, bootstrap-c-compiler, c-compiler-compiler): New procedures.
(self-contained-tarball): Use
'relative-file-name' for the SOURCE -> TARGET symlink.
(docker-image): Add 'defmod' to please Geiser.
(wrapped-package, map-manifest-entries): New procedures.
(%options, show-help): Add --relocatable.
(guix-pack): Honor it.
Makefile.am
doc/guix.texi
gnu/packages/aux-files/run-in-namespace.c [new file with mode: 0644]
guix/scripts/pack.scm
tests/guix-pack.sh