diff options
author | zimoun <zimon.toutoune@gmail.com> | 2021-03-26 09:05:15 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-03-30 10:29:33 +0300 |
commit | aed51ecea87f9b5045cc888cd1d9653a27813164 (patch) | |
tree | 176281cf9079a0e4666bf02028bb36ca00417117 | |
parent | 9feef62b73e284e106717a386624d6da90750a3d (diff) | |
download | guix-aed51ecea87f9b5045cc888cd1d9653a27813164.tar.gz |
gnu: guix: Fix openrc init scripts.
Fixes <https://bugs.gnu.org/46871>. * gnu/packages/package-management.scm (guix)[arguments]: Fix openrc init. * nix/local.mk (openrcservicedir): Likewise. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/package-management.scm | 2 | ||||
-rw-r--r-- | nix/local.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index de549fd094..6ee0bc74e9 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -212,7 +212,7 @@ $(prefix)/etc/init.d\n"))) (substitute* "nix/local.mk" (("^openrcservicedir = .*$") (string-append "openrcservicedir = \ -$(prefix)/etc/init.d\n"))) +$(prefix)/etc/openrc\n"))) (invoke "sh" "bootstrap"))) (add-before 'build 'use-host-compressors diff --git a/nix/local.mk b/nix/local.mk index d2ce349d9c..7c438ea78c 100644 --- a/nix/local.mk +++ b/nix/local.mk @@ -181,7 +181,7 @@ etc/init.d/guix-daemon: etc/init.d/guix-daemon.in \ mv "$@.tmp" "$@" # The service script for openrc. -openrcservicedir = $(sysconfdir)/init.d +openrcservicedir = $(sysconfdir)/openrc nodist_openrcservice_DATA = etc/openrc/guix-daemon etc/openrc/guix-daemon: etc/openrc/guix-daemon.in \ |