unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Rosebud Uplink <Uplink.Introversion@outlook.com>
To: 28223@debbugs.gnu.org
Subject: bug#28223: Guix documentation uses wrong install command
Date: Thu, 24 Aug 2017 11:45:36 +0000	[thread overview]
Message-ID: <VI1P192MB0174DA61E17665603BA9C82AE39A0@VI1P192MB0174.EURP192.PROD.OUTLOOK.COM> (raw)

[-- Attachment #1: Type: text/plain, Size: 904 bytes --]

Package: guix

Version: 0.13.0


In the Guix documentation, category 2.1 (Binary Installation), step 3, the command used to augment the PATH doesn't give the wanted result.


3. Make root’s profile available under ~/.guix-profile:
[...]

# GUIX_PROFILE=$HOME/.guix-profile \
  source $GUIX_PROFILE/etc/profile


$GUIX_PROFILE is expanded first, and the "source" command will always be expanded as:

source /etc/profile


Putting a semicolon between the variable definition and the "source" command resolves this problem and has the required effect.


# GUIX_PROFILE=$HOME/.guix-profile ; source $GUIX_PROFILE/etc/profile

The command could also be simplified by removing the definition of GUIX_PROFILE, and passing $HOME/.guix-profile/etc/profile to source.


System: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64 GNU/Linux

Libc: 2.19-18+deb8u10

[-- Attachment #2: Type: text/html, Size: 1669 bytes --]

             reply	other threads:[~2017-08-24 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-24 11:45 Rosebud Uplink [this message]
2017-11-20 17:44 ` bug#28223: Guix documentation uses wrong install command Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=VI1P192MB0174DA61E17665603BA9C82AE39A0@VI1P192MB0174.EURP192.PROD.OUTLOOK.COM \
    --to=uplink.introversion@outlook.com \
    --cc=28223@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).