From 223c82d1d6ed1f29f26307249827ff679e09c780 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 28 Jul 2018 12:22:12 +0200 Subject: [PATCH] disable resolve_symlink --- src/common/exec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/exec.c b/src/common/exec.c index 878fc29..6b3e283 100644 --- a/src/common/exec.c +++ b/src/common/exec.c @@ -218,6 +218,8 @@ find_my_exec(const char *argv0, char *retpath) static int resolve_symlinks(char *path) { + // On GuixSD we *want* stuff relative to symlinks. + return 0; #ifdef HAVE_READLINK struct stat buf; char orig_wd[MAXPGPATH], -- 2.18.0 lect name='h' onchange='this.form.submit();'> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages.scm
AgeCommit message (Expand)Author
2022-01-11shell: Cache profiles even when using package specs....This enables profile caching not just when '-m' or '-f' is used, but also when package specs are passed on the command line, as in: guix shell -D guix git It also changes profile cache keys to include the system type, which was previously ignored. * guix/scripts/shell.scm (options-with-caching)[single-file-for-caching]: Remove. Call 'profile-cached-gc-root' instead; adjust to accept two values. (profile-cache-primary-key): New procedure. (profile-cache-key): Remove. (profile-file-cache-key, profile-spec-cache-key): New procedures. (profile-cached-gc-root): Rewrite to include functionality formally in 'single-file-for-caching', but extend to handle package specs. * gnu/packages.scm (cache-is-authoritative?): Export. * guix/transformations.scm (transformation-option-key?): New procedure. * doc/guix.texi (Invoking guix shell): Move '--rebuild-cache' documentation to the bottom, just above '--root'. Explain caching and how these two options relate to that. Ludovic Courtès