mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -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"
|
(substitute* "nix/local.mk"
|
||||||
(("^openrcservicedir = .*$")
|
(("^openrcservicedir = .*$")
|
||||||
(string-append "openrcservicedir = \
|
(string-append "openrcservicedir = \
|
||||||
$(prefix)/etc/init.d\n")))
|
$(prefix)/etc/openrc\n")))
|
||||||
|
|
||||||
(invoke "sh" "bootstrap")))
|
(invoke "sh" "bootstrap")))
|
||||||
(add-before 'build 'use-host-compressors
|
(add-before 'build 'use-host-compressors
|
||||||
|
|
|
@ -181,7 +181,7 @@ etc/init.d/guix-daemon: etc/init.d/guix-daemon.in \
|
||||||
mv "$@.tmp" "$@"
|
mv "$@.tmp" "$@"
|
||||||
|
|
||||||
# The service script for openrc.
|
# The service script for openrc.
|
||||||
openrcservicedir = $(sysconfdir)/init.d
|
openrcservicedir = $(sysconfdir)/openrc
|
||||||
nodist_openrcservice_DATA = etc/openrc/guix-daemon
|
nodist_openrcservice_DATA = etc/openrc/guix-daemon
|
||||||
|
|
||||||
etc/openrc/guix-daemon: etc/openrc/guix-daemon.in \
|
etc/openrc/guix-daemon: etc/openrc/guix-daemon.in \
|
||||||
|
|
Loading…
Reference in a new issue