summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/clang-runtime-3.7-fix-build-with-python3.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2025-09-01 14:47:01 +0200
committerLudovic Courtès <ludo@gnu.org>2025-09-18 12:14:34 +0200
commit7445776b7e7eeeb1a15df7eb9c15585cf410fae9 (patch)
tree7620cbffa6f7f158b41e6bf7929349582014f037 /gnu/packages/patches/clang-runtime-3.7-fix-build-with-python3.patch
parent19deb9b658f102f44cec54ea85839b508017030b (diff)
gc: Open a connection to the daemon only when strictly necessary.
Fixes guix/guix#1901. Previously, ‘guix gc --list-busy’ (which is invoked by ‘guix-daemon’) would open a connection to the daemon, which in turn attempts to create /var/guix/profiles/per-user/$USER. However, when ‘guix-daemon‘ is running as an unprivileged user, creating that directory fails with EPERM. Because of this, garbage collection would always fail when running the unprivileged daemon on Guix System. * guix/scripts/gc.scm (guix-gc): Remove upfront call to ‘open-connection’. Instead, use ‘with-store’ only for operations that require it. Change-Id: I1fbfd97cf7ba9e3087f7287b4776ea2f6623400d
Diffstat (limited to 'gnu/packages/patches/clang-runtime-3.7-fix-build-with-python3.patch')
0 files changed, 0 insertions, 0 deletions