Skip to content

Commit 700517b

Browse files
authored
Update debian_guix.sh
1 parent ee1b5cc commit 700517b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Github/Runners/bootstrap/debian_guix.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ else
2727
GUIX_LATEST_SHA="$(git ls-remote "${GUIX_GIT_REPO}" 'HEAD' | grep -w 'HEAD' | head -n 1 | awk '{print $1}' | tr -d '[:space:]')"
2828
##Daemon: https://github.com/metacall/guix/blob/master/scripts/entry-point.sh
2929
"/root/.config/guix/current/bin/guix-daemon" --build-users-group="guixbuild" &
30+
DAEMON_PID=$!
3031
GIT_CONFIG_PARAMETERS="'filter.blob:none.enabled=true'" guix pull --url="${GUIX_GIT_REPO}" --commit="${GUIX_LATEST_SHA}" --cores="$(($(nproc)+1))" --max-jobs="2" --disable-authentication &
32+
USER_PULL_PID=$!
3133
sudo GIT_CONFIG_PARAMETERS="'filter.blob:none.enabled=true'" guix pull --url="${GUIX_GIT_REPO}" --commit="${GUIX_LATEST_SHA}" --cores="$(($(nproc)+1))" --max-jobs="2" --disable-authentication &
32-
wait ; guix --version
34+
ROOT_PULL_PID=$!
35+
wait "${USER_PULL_PID}" "${ROOT_PULL_PID}" ; guix --version
3336
rm -rvf "./guix-install.sh" 2>/dev/null
3437
fi
35-
#-------------------------------------------------------#
38+
#-------------------------------------------------------#

0 commit comments

Comments
 (0)