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'.
master
parent
f469fb927f
commit
d27dbeb9d8
|
@ -198,6 +198,13 @@
|
||||||
(string-append "sysvinitservicedir = \
|
(string-append "sysvinitservicedir = \
|
||||||
$(prefix)/etc/init.d\n")))
|
$(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")))
|
(invoke "sh" "bootstrap")))
|
||||||
(add-before 'build 'use-host-compressors
|
(add-before 'build 'use-host-compressors
|
||||||
(lambda* (#:key inputs target #:allow-other-keys)
|
(lambda* (#:key inputs target #:allow-other-keys)
|
||||||
|
|
Reference in New Issue