#!/bin/sh set -euxo pipefail CHANNELS="$(dirname $0)/channels" PROFILE="$(mktemp -d)/.guix-profile" guix pull -C "$CHANNELS" -p "$PROFILE" 2>&1 \ | awk -F\' '$0 ~ "View build log at" { print $2 }'