pull: Suggest running 'hash guix' if needed.
authorLudovic Courtès <ludo@gnu.org>
Fri, 18 Jan 2019 13:59:59 +0000 (14:59 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 18 Jan 2019 16:51:34 +0000 (17:51 +0100)
commit3bbd6919bd84b76686d1aa626ba861faf3fc8ceb
tree8afc7073e7fbf07b7db8fbabfb9191fc91a3950c
parent9fe3f11398e858f1d06120bd046cab506efc86dc
pull: Suggest running 'hash guix' if needed.

Fixes <https://bugs.gnu.org/33647>.
Suggested by Diego Nicola Barbato <dnbarbato@posteo.de>.

* guix/scripts/pull.scm (build-and-install): Before returning, display a
hint if (which "guix") is not in PROFILE.
guix/scripts/pull.scm