mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: guix: Install OpenRC init files to $(prefix)/etc.
This is a followup to cabac732de
.
* gnu/packages/package-management.scm (guix)[arguments]: In 'bootstrap'
phase, change "openrcservicedir" in 'nix/local.mk'.
This commit is contained in:
parent
f469fb927f
commit
d27dbeb9d8
1 changed files with 7 additions and 0 deletions
|
@ -198,6 +198,13 @@ (define-public guix
|
|||
(string-append "sysvinitservicedir = \
|
||||
$(prefix)/etc/init.d\n")))
|
||||
|
||||
;; Install OpenRC init files to $(prefix)/etc rather
|
||||
;; than to /etc.
|
||||
(substitute* "nix/local.mk"
|
||||
(("^openrcservicedir = .*$")
|
||||
(string-append "openrcservicedir = \
|
||||
$(prefix)/etc/init.d\n")))
|
||||
|
||||
(invoke "sh" "bootstrap")))
|
||||
(add-before 'build 'use-host-compressors
|
||||
(lambda* (#:key inputs target #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue