Subject: [PATCH v3 0/1] gnu: Find patches directory through symlinks.

From: Noé Lopez <[email-masked]>
Date: Sun, 16 Feb 2025 15:43:59 +0100

From: Noé Lopez <[email-masked]>

I sent the patch too early, sorry for the spam.

If you want to test this patch, you can try the following (changing the paths
to your checkout):

noe@lignux ~$ export GUILE_LOAD_PATH=/home/noe/src///guix-patch-review///
noe@lignux ~$ export GUILE_LOAD_COMPILED_PATH=/home/noe/src/guix-patch-review////
noe@lignux ~$ guile
[...]

Enter `,help' for help.
scheme@(guile-user)> ,use (gnu packages)
scheme@(guile-user)> (%patch-path)
$2 = ("/home/noe/src///guix-patch-review////gnu/packages/patches" "/gnu/store/ylwk2vn18dkzkj0nxq2h4vjzhz17bm7c-guile-3.0.9/share/guile/3.0" "/gnu/store/ylwk2vn18dkzkj0nxq2h4vjzhz17bm7c-guile-3.0.9/share/guile/site/3.0" "/gnu/store/ylwk2vn18dkzkj0nxq2h4vjzhz17bm7c-guile-3.0.9/share/guile/site" "/gnu/store/ylwk2vn18dkzkj0nxq2h4vjzhz17bm7c-guile-3.0.9/share/guile")

Check that /gnu/packages/patches was correctly added.

Noé Lopez (1):
  gnu: Find patches directory through symlinks.

 gnu/packages.scm |  2 +-
 guix/utils.scm   | 16 ++++++++++++++++
 tests/utils.scm  | 13 +++++++++++++
 3 files changed, 30 insertions(+), 1 deletion(-)

base-commit: 73d74032d580212e7b59644d3324677926e4339b
-- 
2.48.1