summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-07-18 00:25:06 +0200
committerLudovic Courtès <ludo@gnu.org>2018-07-18 00:25:06 +0200
commit799dc53e9bfe605613cd2e7cb2c584282847fa84 (patch)
tree04024c93c615dc5b1f1b1ca0ff2c6e09b5a86b41
parentdf35e7154236e0aff1ff2720a5b12d7c4df72ad1 (diff)
downloadguix-799dc53e9bfe605613cd2e7cb2c584282847fa84.tar.gz
gnu: guix-daemon: Fix file name of 'guix' command.
Fixes <https://bugs.gnu.org/32183>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>.

* gnu/packages/package-management.scm (guix-daemon)[arguments]: In
'install' phase, fix file name of 'guix' command.
-rw-r--r--gnu/packages/package-management.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 639d81bcc1..b7e3b320f6 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -348,7 +348,7 @@ the Nix package manager.")
                (let ((out (assoc-ref outputs "out")))
                  (substitute* (find-files (string-append out "/libexec"))
                    (("exec \".*/bin/guix\"")
-                    "exec ~root/.config/current/bin/guix"))
+                    "exec ~root/.config/guix/current/bin/guix"))
                  #t)))
            (delete 'wrap-program)))))))