X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/fb9a23a3f3ad3d7b5b7f03b2007baf27684d6bbd..2c5dd47ceffd61d155e64dcb1764ffaea0ffd546:/etc/guix-install.sh?ds=sidebyside diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 960313d462..bd3ab901ad 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -345,6 +345,17 @@ sys_enable_guix_daemon() { cp "${ROOT_HOME}/.config/guix/current/lib/systemd/system/guix-daemon.service" \ /etc/systemd/system/; chmod 664 /etc/systemd/system/guix-daemon.service; + + # Work around , present in 1.0.1. + sed -i /etc/systemd/system/guix-daemon.service \ + -e "s/GUIX_LOCPATH='/'GUIX_LOCPATH=/"; + + # Work around , present in 1.0.1. + if ! grep en_US /etc/systemd/system/guix-daemon.service >/dev/null; + then sed -i /etc/systemd/system/guix-daemon.service \ + -e 's/^Environment=\(.*\)$/Environment=\1 LC_ALL=en_US.UTF-8'; + fi; + systemctl daemon-reload && systemctl start guix-daemon && systemctl enable guix-daemon; } &&