From fe4a37276b871e29a7397b0aa940aab2b842ce77 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 20 Mar 2020 23:12:36 +0100 Subject: gnu: guix: Install SysV init files to $(prefix)/etc. Fixes . Reported by Maxim Cournoyer . 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 b0457ba87a..c321a64751 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) -- cgit 1.4.1