fix(guix-1.5.0): make local-download patch compatible with default -p0 flow

This commit is contained in:
vxtls 2026-03-13 08:34:33 -04:00
parent f786342a87
commit 85a0ff7c72
2 changed files with 2 additions and 4 deletions

View file

@ -33,8 +33,6 @@ src_prepare() {
false
fi
patch --dry-run -p1 < "${base_dir}/patches/allow-local-distfiles-in-perform-download.patch"
patch -p1 < "${base_dir}/patches/allow-local-distfiles-in-perform-download.patch"
sed \
-e "s|@EXEC_BASH_HASH@|${EXEC_BASH_HASH}|g" \
-e "s|@EXEC_MKDIR_HASH@|${EXEC_MKDIR_HASH}|g" \

View file

@ -1,5 +1,5 @@
--- a/guix/scripts/perform-download.scm
+++ b/guix/scripts/perform-download.scm
--- guix-1.5.0/guix/scripts/perform-download.scm
+++ guix-1.5.0/guix/scripts/perform-download.scm
@@ -97,16 +97,46 @@ a list of wrapper procedures for safely calling the list of procedures that
(call-with-port (open file (logior O_NOFOLLOW O_RDONLY))
proc))