guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: guix: Install OpenRC init files to $(prefix)/etc.


From: guix-commits
Subject: 01/02: gnu: guix: Install OpenRC init files to $(prefix)/etc.
Date: Fri, 2 Oct 2020 08:35:38 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit d27dbeb9d8f6c3a4c1d2fdbeb432717c119b73d1
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Fri Oct 2 14:10:15 2020 +0200

    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 99f78f2..1b87283 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]