guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 01/02: gnu: guix: Install SysV init files to $(prefix)/etc.
Date: Fri, 20 Mar 2020 19:02:56 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit fe4a37276b871e29a7397b0aa940aab2b842ce77
Author: Ludovic Court├Ęs <address@hidden>
AuthorDate: Fri Mar 20 23:12:36 2020 +0100

    gnu: guix: Install SysV init files to $(prefix)/etc.
    
    Fixes <https://bugs.gnu.org/40153>.
    Reported by Maxim Cournoyer <address@hidden>.
    
    This is a followup to 73fbe04107d38f4561636c74d28d7a4935cbb1ef.
    
    * gnu/packages/package-management.scm (guix)[arguments]: In 'bootstrap'
    phase, change "sysvinitservicedir" 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 b0457ba..c321a64 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -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)



reply via email to

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