summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2025-11-04 23:52:54 +0100
committerLudovic Courtès <ludo@gnu.org>2025-12-05 14:54:38 +0100
commit7fd60bfc0b088ee7d66e3b5676695a04d2ee01d9 (patch)
treec1cc08dee9fe1ab97e908e97ba75747ea4f299fc /gnu
parenta560be0dd9e9132c88bea5c4aa03a1486311cdc5 (diff)
shell: Create cached profile directory once connected to the daemon.
Fixes a regression introduced in d12c4452a49b355369636de1dfc766b5bad6437b, where ‘guix shell’, on a fresh installation, would attempt to create the cached profile directory under /var/guix/profiles/per-user/$USER, which only guix-daemon can do, on the user’s first connection. * guix/scripts/shell.scm (options-with-caching): Remove ‘mkdir-p’ call for ROOT’s parent directory. Add ‘create-gc-root-directory?’ key to the result. * guix/scripts/environment.scm (guix-environment*): Honor ‘create-gc-root-directory?’ key. Fixes: guix/guix#126 Reported-by: Maxim Cournoyer <maxim@guixotic.coop> Change-Id: I782461c80c254467108c6b8d676d269866795746
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions