diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-03-20 23:12:36 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-03-20 23:59:31 +0100 |
commit | fe4a37276b871e29a7397b0aa940aab2b842ce77 (patch) | |
tree | 72a965d0c73c4f8b5d7a60a1c575e6937f311eaf /gnu | |
parent | f08040c5f864df1e85573172aa921e42ceef6859 (diff) | |
download | patches-fe4a37276b871e29a7397b0aa940aab2b842ce77.tar patches-fe4a37276b871e29a7397b0aa940aab2b842ce77.tar.gz |
gnu: guix: Install SysV init files to $(prefix)/etc.
Fixes <https://bugs.gnu.org/40153>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.
This is a followup to 73fbe04107d38f4561636c74d28d7a4935cbb1ef.
* gnu/packages/package-management.scm (guix)[arguments]: In 'bootstrap'
phase, change "sysvinitservicedir" in 'nix/local.mk'.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/package-management.scm | 7 |
1 files changed, 7 insertions, 0 deletions
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) |