diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-05-11 16:32:24 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-05-14 17:21:27 +0200 |
commit | fde2aec3f498d5ec6db2121d72068e2b203e86cd (patch) | |
tree | d0d3c9b723c3e694ca107cff9315075e8267ebf4 /build-aux/check-final-inputs-self-contained.scm | |
parent | 80963744a242257921917df5a901dc343d3a93db (diff) | |
download | guix-fde2aec3f498d5ec6db2121d72068e2b203e86cd.tar.gz guix-fde2aec3f498d5ec6db2121d72068e2b203e86cd.zip |
pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable.
* gnu/packages/aux-files/run-in-namespace.c (struct engine): New type.
(exec_default): New function.
(engines): New variable.
(execution_engine): New function.
(main): Use it instead of calling 'exec_in_user_namespace' and
'exec_with_proot' directly.
* tests/guix-pack-relocatable.sh: Add test with 'GUIX_EXECUTION_ENGINE'.
* doc/guix.texi (Invoking guix pack): Document 'GUIX_EXECUTION_ENGINE'.
Diffstat (limited to 'build-aux/check-final-inputs-self-contained.scm')
0 files changed, 0 insertions, 0 deletions