unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Catonano <catonano@gmail.com>
To: Amirouche Boubekki <amirouche@hypermove.net>
Cc: help-guix <help-guix@gnu.org>,
	Help-Guix <help-guix-bounces+amirouche=hypermove.net@gnu.org>
Subject: Re: "--pure" won't work
Date: Tue, 4 Oct 2016 23:33:53 +0200	[thread overview]
Message-ID: <CAJ98PDwXkE8PdmoWaf4ek+2YqDVHm0QuU9=c_pMTEbPPQX_xcg@mail.gmail.com> (raw)
In-Reply-To: <0b99763d20463819b869bb6cf7714942@hypermove.net>

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

Amirouche, David,

2016-10-04 23:07 GMT+02:00 Amirouche Boubekki <amirouche@hypermove.net>:

> On 2016-10-04 22:42, Catonano wrote:
>
>> In exploring Culturia, here
>>
>> https://github.com/amirouche/Culturia/ [1]
>>
>> I reach this line
>>
>> guix environment --ad-hoc --pure guile-next
>>
>>
> Both with and without --pure works on my side. I don't remember why I've
> put --pure in the README.
>
> I use ubuntu 16.04.1, I have this in my ~/.zshrc
>
> export PATH="/home/amirouche/.guix-profile/bin":$PATH
> export GUIX_LOCPATH=~/.guix-profile/lib/locale
> export GUILE_LOAD_PATH="/home/amirouche/.guix-profile/share/guile/
> site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
> export GUILE_LOAD_COMPILED_PATH="/home/amirouche/.guix-profile/shar
> e/guile/site/2.2${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
> export INFOPATH="/home/amirouche/.guix-profile/share/info${INFOPATH
> :+:}$INFOPATH"
>
>
Thanks to the both of you

David's answer was a bit terse althought straight to the point

Just to widen the discussion a bit, yes, in order to have basic commands in
a "pure" environment, even ls, they need to be explicitly included (either
with the --ad-hoc clause or because they're dependencies of some of the
packages you're creating the env for)

In fact

guix environment --pure --ad-hoc guile-next --search-paths

will show the "bin" that'll be included in the environment path. Just ls
that bin folder and you'll find nothing more than the guile-next
dependencies. No ls, no lesspipe, no dircolors

On this, David's was assuming that I had read the manual already ;-)

Now, as for the reason why ls, lesspipe and dircolors get called, David is
right: the default .bashrc is full of stuff, it's a page long.

So those "errors" are harmless. The resulting environment will be perfectly
functional for Culturia to be explored ;-)

Thanks again !

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

  reply	other threads:[~2016-10-04 21:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04 20:42 "--pure" won't work Catonano
2016-10-04 20:44 ` Thompson, David
2016-10-04 21:07 ` Amirouche Boubekki
2016-10-04 21:33   ` Catonano [this message]
2016-10-05 11:42 ` Ludovic Courtès
2016-10-05 14:03   ` Catonano

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='CAJ98PDwXkE8PdmoWaf4ek+2YqDVHm0QuU9=c_pMTEbPPQX_xcg@mail.gmail.com' \
    --to=catonano@gmail.com \
    --cc=amirouche@hypermove.net \
    --cc=help-guix-bounces+amirouche=hypermove.net@gnu.org \
    --cc=help-guix@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.
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).