diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-02-06 17:52:07 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-02-06 17:56:22 +0100 |
commit | c9323a4c69d48bc9af3825674e43a3febbb42091 (patch) | |
tree | 5b3d5e9dec0d8ba5bfb6adc0d59e1a6ce5a31b00 /srfi/srfi-37.scm.in | |
parent | 3df5acf332fd7b5c21c09961eaa5353c1bd08c60 (diff) | |
download | guix-c9323a4c69d48bc9af3825674e43a3febbb42091.tar.gz guix-c9323a4c69d48bc9af3825674e43a3febbb42091.zip |
guix package: Make custom profiles actual indirect roots.
Before that, any profile generation built when '-p' is used would
effectively become a permanent GC root because the symlink in
/var/guix/gcroots/auto would point directly to /gnu/store/...-profile.
* guix/scripts/package.scm (maybe-register-gc-root): Rename to...
(register-gc-root): ... this. Remove conditional, and replace call to
'canonicalize-path' with (string-append (getcwd) "/" ...).
(guix-package): Call 'register-gc-root' only if PROFILE is different
from %CURRENT-PROFILE.
* tests/guix-package.sh: Add test case.
Diffstat (limited to 'srfi/srfi-37.scm.in')
0 files changed, 0 insertions, 0 deletions