From 0b5a421524ce1dc92a6a2bf7b60447f5ab96871e Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Thu, 20 Jan 2022 21:16:21 -0500 Subject: [PATCH] Allow archive to work even when build --with-source --- .builds/guix.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.builds/guix.yml b/.builds/guix.yml index bf09d43..dd916f5 100644 --- a/.builds/guix.yml +++ b/.builds/guix.yml @@ -22,7 +22,7 @@ tasks: [ "$BUILD_REASON" = patchset ] || rm -rf cheogram - build: | if [ "$BUILD_REASON" = patchset ]; then with_source="--with-source=$PWD/cheogram"; fi - guix build $with_source --no-grafts -L. cheogram + guix build $with_source --no-grafts -r out -L. cheogram - archive: | if [ -e signing-key.sec ]; then sudo mv signing-key.pub /etc/guix/ @@ -30,5 +30,5 @@ tasks: sudo chown root:root /etc/guix/signing-key.sec sudo chmod 0400 /etc/guix/signing-key.sec fi - guix archive --export -r --no-grafts -L. cheogram > cheogram.nar + guix archive --export -r --no-grafts $(readlink -f out-*) > cheogram.nar plzip cheogram.nar -- 2.34.2