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.
Showing
- Makefile.am 2 additions, 1 deletionMakefile.am
- doc/guix.texi 42 additions, 0 deletionsdoc/guix.texi
- gnu/packages/aux-files/run-in-namespace.c 264 additions, 0 deletionsgnu/packages/aux-files/run-in-namespace.c
- guix/scripts/pack.scm 173 additions, 9 deletionsguix/scripts/pack.scm
- tests/guix-pack.sh 7 additions, 3 deletionstests/guix-pack.sh
Loading
Please register or sign in to comment