me
/
guix
Archived
1
0
Fork 0

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
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
1 changed files with 7 additions and 0 deletions

View File

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