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:
Mathieu Othacehe 2020-10-02 14:10:15 +02:00
parent f469fb927f
commit d27dbeb9d8
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -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)