Matt Wette <[email protected]> writes: > On 6/9/26 11:31 AM, Dr. Arne Babenhauserheide wrote: >> Hi, >> >> I just set up a guile library for the kids manually, naturally >> configuring with >> >> ./configure --prefix=$HOME/.local >> Is there a good reason why we do not include the site dir and the >> site-ccache dir in $HOME/.local in the %load-path and >> %load-compiled-path by default (if they exist)? >> > > I didn't believe it at first but you are right. > So, I tried, and %load-path ended up under /usr/share/guile. > This seems messed up, IMO. > > Note that I usually build with --prefix=/opt/local and with that prefix > the %load-path gets set correctly to /opt/local/share/guile.
Interesting, it does work for me. --8<---------------cut here---------------start------------->8--- $ git show --no-patch commit 1165ddafdc5ae6fef74c887588bbec12b2c292e6 (HEAD -> main, origin/main, origin/HEAD) Author: Olivier Dion <[email protected]> Date: Sat Jun 6 19:37:28 2026 -0400 Fix srfi-235 tests srfi-64 test-suite * test-suite/tests/srfi-235.test: Migrate tests to use test-suite library instead of srfi-64. Fix some tests that were not passing. Signed-off-by: Olivier Dion <[email protected]> $ git clean -xffd [..] $ guix shell -CDf guix.scm -- ./autogen.sh [..] $ guix shell -CDf guix.scm -- ./configure --enable-mini-gmp --prefix=$HOME/.local [..] $ guix shell -CDf guix.scm -- make -j32 [..] $ guix shell --share local=/home/u/.local -CDf guix.scm -- make install [..] $ guix shell --share local=/home/u/.local -CDf guix.scm -- local/bin/guile -c '(pk %load-path)' ;;; (("/home/u/.local/share/guile/3.0" "/home/u/.local/share/guile/site/3.0" "/home/u/.local/share/guile/site" "/home/u/.local/share/guile")) --8<---------------cut here---------------end--------------->8--- Albeit it is all done in a container, effectively it should be the same as just installing it to home. Any ideas what I am doing differently? Tomas -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.
