mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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
2 changed files with 2 additions and 2 deletions
|
@ -212,7 +212,7 @@ (define-public guix
|
|||
(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 a new issue