guix/run_guix_publish.sh
Tomas Cech c971c4b9db Accepting request 622310 from home:jbrielmaier:branches:devel:languages:misc
bump version to 0.15
We needed to add some patches because the release tarball misses them. I'll remove them at next release.

I did extensive testing on Tumbleweed and Leap 15.0 which can be found here:
https://etherpad.opensuse.org/p/guix-0.15
There is still some stuff which doesn't work as expected, but only small things. No showstoppers. I'll improve them peu a peu :)

OBS-URL: https://build.opensuse.org/request/show/622310
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guix?expand=0&rev=22
2018-07-12 19:52:38 +00:00

12 lines
351 B
Bash

#!/bin/sh
# if there is newer Guix compiled by `guix pull`, use it
if [ -x /var/guix/profiles/per-user/root/guix-profile/bin/guix-publish ]; then
BINARY=/var/guix/profiles/per-user/root/guix-profile/bin/guix
else
# otherwise use the one installed with our package
BINARY=/usr/bin/guix
fi
exec "$BINARY" publish --user=nobody --port=8181