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>
This commit is contained in:
parent
9feef62b73
commit
aed51ecea8
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user