~ruther/guix-local

024f78aba21f1b97420072e2d3b060bd282d2230 — Tobias Geerinckx-Rice 2 years ago 67790e7
guix-install.sh: Don't patch guix-daemon.service.

* etc/guix-install.sh (sys_enable_guix_daemon):
Remove obsolete sed invocations.
1 files changed, 0 insertions(+), 10 deletions(-)

M etc/guix-install.sh
M etc/guix-install.sh => etc/guix-install.sh +0 -10
@@ 447,16 447,6 @@ sys_enable_guix_daemon()
                 /etc/systemd/system/;
              chmod 664 /etc/systemd/system/guix-daemon.service;

              # Work around <https://bugs.gnu.org/36074>, present in 1.0.1.
              sed -i /etc/systemd/system/guix-daemon.service \
                  -e "s/GUIX_LOCPATH='/'GUIX_LOCPATH=/";

              # Work around <https://bugs.gnu.org/35671>, 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;

              configure_substitute_discovery \
                  /etc/systemd/system/guix-daemon.service