~singpolyma/cheogram

716455805a6ddbc3fdb45ece59eef2d9cc9367e8 — Stephen Paul Weber 4 months ago 598c3e2
Secrets not available when building patchset
1 files changed, 6 insertions(+), 4 deletions(-)

M .builds/guix.yml
M .builds/guix.yml => .builds/guix.yml +6 -4
@@ 24,9 24,11 @@ tasks:
    if [ "$BUILD_REASON" = patchset ]; then with_source="--with-source=$PWD/cheogram"; fi
    guix build $with_source --no-grafts -L. cheogram
- archive: |
    sudo mv signing-key.pub /etc/guix/
    sudo mv signing-key.sec /etc/guix/
    sudo chown root:root /etc/guix/signing-key.sec
    sudo chmod 0400 /etc/guix/signing-key.sec
    if [ -e signing-key.sec ]; then
      sudo mv signing-key.pub /etc/guix/
      sudo mv signing-key.sec /etc/guix/
      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
    plzip cheogram.nar