[bug#76143,v3,0/1] gnu: Find patches directory through symlinks.

Message ID cover.1739716173.git.noelopez@free.fr
Headers
Series gnu: Find patches directory through symlinks. |

Message

Noé Lopez Feb. 16, 2025, 2:43 p.m. UTC
  From: Noé Lopez <noelopez@free.fr>

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