guix: stop passing depends sources to codesigning

I think this is just a copy-pasta from the build container. I don't see
why we'd need the depends sources available when performing codesigning.
This commit is contained in:
fanquake
2026-01-15 12:28:02 +00:00
parent 0ffb20dee1
commit d94d7b1a4b

View File

@@ -328,16 +328,6 @@ EOF
# container so that we have something to build. '/bitcoin' was # container so that we have something to build. '/bitcoin' was
# chosen arbitrarily. # chosen arbitrarily.
# #
# ${SOURCES_PATH:+--share="$SOURCES_PATH"}
#
# make the downloaded depends sources path available
# inside the isolated container
#
# The isolated container has no network access as it's in a
# different network namespace from the main machine, so we have to
# make the downloaded depends sources available to it. The sources
# should have been downloaded prior to this invocation.
#
# ${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} # ${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"}
# #
# fetch substitute from SUBSTITUTE_URLS if they are # fetch substitute from SUBSTITUTE_URLS if they are
@@ -359,7 +349,6 @@ EOF
--share="$DETACHED_SIGS_REPO"=/detached-sigs \ --share="$DETACHED_SIGS_REPO"=/detached-sigs \
--expose="$(git rev-parse --git-common-dir)" \ --expose="$(git rev-parse --git-common-dir)" \
--expose="$(git -C "$DETACHED_SIGS_REPO" rev-parse --git-common-dir)" \ --expose="$(git -C "$DETACHED_SIGS_REPO" rev-parse --git-common-dir)" \
${SOURCES_PATH:+--share="$SOURCES_PATH"} \
--cores="$JOBS" \ --cores="$JOBS" \
--keep-failed \ --keep-failed \
--fallback \ --fallback \
@@ -372,7 +361,6 @@ EOF
JOBS="$JOBS" \ JOBS="$JOBS" \
SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:?unable to determine value}" \ SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:?unable to determine value}" \
${V:+V=1} \ ${V:+V=1} \
${SOURCES_PATH:+SOURCES_PATH="$SOURCES_PATH"} \
DISTSRC="$(DISTSRC_BASE=/distsrc-base && distsrc_for_host "$HOST")" \ DISTSRC="$(DISTSRC_BASE=/distsrc-base && distsrc_for_host "$HOST")" \
OUTDIR="$(OUTDIR_BASE=/outdir-base && outdir_for_host "$HOST" codesigned)" \ OUTDIR="$(OUTDIR_BASE=/outdir-base && outdir_for_host "$HOST" codesigned)" \
DIST_ARCHIVE_BASE=/outdir-base/dist-archive \ DIST_ARCHIVE_BASE=/outdir-base/dist-archive \