me
/
guix
Archived
1
0
Fork 0

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'.
master
Ludovic Courtès 2020-03-20 23:12:36 +01:00
parent f08040c5f8
commit fe4a37276b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 0 deletions

View File

@ -170,6 +170,13 @@
(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)