Skip to content

Commit 38eb91e

Browse files
committed
guix: Add codesigning functionality
1 parent bac2690 commit 38eb91e

File tree

3 files changed

+500
-5
lines changed

3 files changed

+500
-5
lines changed

contrib/guix/guix-build

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,20 +267,20 @@ for host in $HOSTS; do
267267
make -C "${PWD}/depends" -j"$JOBS" download-"$(host_to_commonname "$host")" ${V:+V=1} ${SOURCES_PATH:+SOURCES_PATH="$SOURCES_PATH"}
268268
done
269269

270-
# Usage: outdir_for_host HOST
270+
# Usage: outdir_for_host HOST SUFFIX
271271
#
272272
# HOST: The current platform triple we're building for
273273
#
274274
outdir_for_host() {
275-
echo "${OUTDIR_BASE}/${1}"
275+
echo "${OUTDIR_BASE}/${1}${2:+-${2}}"
276276
}
277277

278-
# Usage: profiledir_for_host HOST COMMAND
278+
# Usage: profiledir_for_host HOST SUFFIX
279279
#
280280
# HOST: The current platform triple we're building for
281281
#
282282
profiledir_for_host() {
283-
echo "${PROFILES_BASE}/${2}-${1}"
283+
echo "${PROFILES_BASE}/${1}${2:+-${2}}"
284284
}
285285

286286

@@ -412,7 +412,7 @@ EOF
412412
--keep-failed \
413413
--fallback \
414414
--link-profile \
415-
--root="$(profiledir_for_host "${HOST}" build)" \
415+
--root="$(profiledir_for_host "${HOST}")" \
416416
${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \
417417
${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_ENVIRONMENT_FLAGS} \
418418
-- env HOST="$host" \

0 commit comments

Comments
 (0)