~singpolyma/cheogram

0b5a421524ce1dc92a6a2bf7b60447f5ab96871e — Stephen Paul Weber 4 months ago 386eb97
Allow archive to work even when build --with-source
1 files changed, 2 insertions(+), 2 deletions(-)

M .builds/guix.yml
M .builds/guix.yml => .builds/guix.yml +2 -2
@@ 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