unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Skyler <skyvine@protonmail.com>, 62448@debbugs.gnu.org
Subject: bug#62448: Inconsistent guile enviornment from guix shell
Date: Thu, 30 Mar 2023 22:24:53 +0200	[thread overview]
Message-ID: <87fs9mrnqi.fsf@jpoiret.xyz> (raw)
In-Reply-To: <6gt4WqkUbUpYoJWwaHY0jhjoCOcVc9vHBCDzozLBB3xDg46YvsJLEEYxTaWdwZQciB9F0OQM5dGjQ-N81W9p2y5B3LBJAuMP0HrzwZx5_VM=@protonmail.com>

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

Hi Skyler,

It's a shame that nobody had pointed out this (quite common) missing
piece earlier.

Skyler via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

> In spite of being reasonable, it is not particularly intuitive. Could I recommend an addition to the manual in section "7.1 Invoking guix-shell", adding text like the below after the example invocation `guix shell python python-numpy -- python3​`?
>
> "Note that it is necessary to include the main python package in this command even if it is already installed into your environment. This is so that the shell environment knows to set PYTHONPATH and other related variables. The shell environment cannot check the previously installed environment, because then it would be non-deterministic."

Yes, this would be a good idea.  I can try to do this right now.

Best,
-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

  reply	other threads:[~2023-03-30 20:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-25 19:10 bug#62448: Inconsistent guile enviornment from guix shell Skyler via Bug reports for GNU Guix
2023-03-29 21:23 ` Skyler via Bug reports for GNU Guix
2023-03-30 20:24   ` Josselin Poiret via Bug reports for GNU Guix [this message]
2023-03-30 20:42     ` bug#62448: [PATCH] doc: Note that `guix shell` should contain base language packages Josselin Poiret via Bug reports for GNU Guix
2023-04-11 22:57       ` Skyler via Bug reports for GNU Guix
2023-04-12  8:35         ` Josselin Poiret via Bug reports for GNU Guix
2023-04-12 12:43         ` Maxim Cournoyer
2023-04-13 19:53           ` Skyler via Bug reports for GNU Guix
2023-04-12 11:07       ` Simon Tournier
2023-08-25 16:30         ` Josselin Poiret via Bug reports for GNU Guix

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=87fs9mrnqi.fsf@jpoiret.xyz \
    --to=bug-guix@gnu.org \
    --cc=62448@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=skyvine@protonmail.com \
    /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).