From: Alexander Asteroth <alexander.asteroth@h-brs.de>
To: help-guix@gnu.org
Subject: why does '-e' work differently in guix shell and guix package?
Date: Tue, 26 Dec 2023 11:48:44 +0100 [thread overview]
Message-ID: <878r5h5j4w.fsf@h-brs.de> (raw)
When I do
```
$ guix shell --network --container --emulate-fhs bash coreutils -e
'(list (@@ (gnu packages commencement) gcc) "lib")'
```
I get a shell, that has `libstdc++.so.6` in `/lib`.
But when I do
```
$ guix package -e '(list (@@ (gnu packages commencement) gcc)
"lib")'
guix package: error: expression "(list (@@ (gnu packages
commencement) gcc) \"lib\")" does not evaluate to a package
```
I get an error. Why is that?
Cheers
Alex
PS: reason I'm trying that is, that the recent pytorch-version
installed via pip complains about not finding libstdc++ which is
in the lib output of the superseeded gcc package and I thought
this might resolve my problem.
next reply other threads:[~2023-12-26 10:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-26 10:48 Alexander Asteroth [this message]
2024-02-15 16:47 ` why does '-e' work differently in guix shell and guix package? Simon Tournier
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=878r5h5j4w.fsf@h-brs.de \
--to=alexander.asteroth@h-brs.de \
--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).