From d27dbeb9d8f6c3a4c1d2fdbeb432717c119b73d1 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Fri, 2 Oct 2020 14:10:15 +0200 Subject: gnu: guix: Install OpenRC init files to $(prefix)/etc. This is a followup to cabac732deffafc796537658a6c33c6c4aec821e. * gnu/packages/package-management.scm (guix)[arguments]: In 'bootstrap' phase, change "openrcservicedir" in 'nix/local.mk'. --- gnu/packages/package-management.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 99f78f2ac8..1b8728336d 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -198,6 +198,13 @@ (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) -- cgit v1.2.3