mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: guix: Install SysV init files to $(prefix)/etc.
Fixes <https://bugs.gnu.org/40153>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.
This is a followup to 73fbe04107
.
* gnu/packages/package-management.scm (guix)[arguments]: In 'bootstrap'
phase, change "sysvinitservicedir" in 'nix/local.mk'.
This commit is contained in:
parent
f08040c5f8
commit
fe4a37276b
1 changed files with 7 additions and 0 deletions
|
@ -170,6 +170,13 @@ (define-public guix
|
|||
(lambda (port)
|
||||
(display ,version port)))
|
||||
|
||||
;; Install SysV init files to $(prefix)/etc rather
|
||||
;; than to /etc.
|
||||
(substitute* "nix/local.mk"
|
||||
(("^sysvinitservicedir = .*$")
|
||||
(string-append "sysvinitservicedir = \
|
||||
$(prefix)/etc/init.d\n")))
|
||||
|
||||
(invoke "sh" "bootstrap")))
|
||||
(add-before 'check 'copy-bootstrap-guile
|
||||
(lambda* (#:key system inputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue