* bug#34679: --load-path does not work with guix environment
@ 2019-02-27 20:52 Hartmut Goebel
2019-03-06 14:05 ` Ludovic Courtès
2020-05-14 5:24 ` Ricardo Wurmus
0 siblings, 2 replies; 5+ messages in thread
From: Hartmut Goebel @ 2019-02-27 20:52 UTC (permalink / raw)
To: 34679
According to the manual:
|--load-path=directory|
Add directory *to the front* of the package module search path.
This does not work for guix environment (guix 0.16.0-3.6ddc63e):
Prepare to reproduce
$ git clone https://gnunet.org/git/gnunet.git
$ cd gnunet
guix package honors --load-path:
$ guix package --load-path=$PWD/contrib/guix -A gnunet
[...]
gnunet v0.11.0pre66-1108-g8bb29d2fb out
.../contrib/guix/gnu/packages/gnunet.scm:274:2
[...]
guix environment still installs gnunet 0.10.1 (which is defined in guix
0.16):
$ guix environment --load-path=$PWD/contrib/guix --ad-hoc gnunet
[guix]$ realpath $(which gnunet-arm)
/gnu/store/...-gnunet-0.10.1/bin/gnunet-arm
Using GUIX_PACKAGE_PATH the correct version of gnunet is installed into
the environment:
$ export GUIX_PACKAGE_PATH=$PWD/contrib/guix
$ guix environment --ad-hoc gnunet
[guix]$ realpath $(which gnunet-arm)
/gnu/store/...-gnunet-v0.11.0pre66-1108-g8bb29d2fb/bin/gnunet-arm
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#34679: --load-path does not work with guix environment
2019-02-27 20:52 bug#34679: --load-path does not work with guix environment Hartmut Goebel
@ 2019-03-06 14:05 ` Ludovic Courtès
2019-03-13 8:35 ` Hartmut Goebel
2020-05-14 5:24 ` Ricardo Wurmus
1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2019-03-06 14:05 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 34679
Hi,
Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:
> guix environment still installs gnunet 0.10.1 (which is defined in guix
> 0.16):
>
> $ guix environment --load-path=$PWD/contrib/guix --ad-hoc gnunet
> [guix]$ realpath $(which gnunet-arm)
> /gnu/store/...-gnunet-0.10.1/bin/gnunet-arm
>
>
> Using GUIX_PACKAGE_PATH the correct version of gnunet is installed into
> the environment:
>
> $ export GUIX_PACKAGE_PATH=$PWD/contrib/guix
> $ guix environment --ad-hoc gnunet
> [guix]$ realpath $(which gnunet-arm)
> /gnu/store/...-gnunet-v0.11.0pre66-1108-g8bb29d2fb/bin/gnunet-arm
I tried to simulate the issue but I can’t seem to reproduce it; that is,
with -L, I do get the “v0.11.0pre66-1108-g8bb29d2fb” version.
Could you try to reduce this to a simpler test case and/or post the
files to test it?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#34679: --load-path does not work with guix environment
2019-03-06 14:05 ` Ludovic Courtès
@ 2019-03-13 8:35 ` Hartmut Goebel
0 siblings, 0 replies; 5+ messages in thread
From: Hartmut Goebel @ 2019-03-13 8:35 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 34679
Am 06.03.19 um 15:05 schrieb Ludovic Courtès:
> Could you try to reduce this to a simpler test case and/or post the
> files to test it?
I will do thus, but in two or three weeks time only.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#34679: --load-path does not work with guix environment
2019-02-27 20:52 bug#34679: --load-path does not work with guix environment Hartmut Goebel
2019-03-06 14:05 ` Ludovic Courtès
@ 2020-05-14 5:24 ` Ricardo Wurmus
2020-05-31 9:48 ` Hartmut Goebel
1 sibling, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2020-05-14 5:24 UTC (permalink / raw)
To: 34679; +Cc: Hartmut Goebel
Hi Hartmut,
have you been able to reproduce this with a simpler test case? Or would
you agree to close this issue as unreproducible?
--
Ricardo
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#34679: --load-path does not work with guix environment
2020-05-14 5:24 ` Ricardo Wurmus
@ 2020-05-31 9:48 ` Hartmut Goebel
0 siblings, 0 replies; 5+ messages in thread
From: Hartmut Goebel @ 2020-05-31 9:48 UTC (permalink / raw)
To: Ricardo Wurmus, 34679-close
Am 14.05.20 um 07:24 schrieb Ricardo Wurmus:
> have you been able to reproduce this with a simpler test case? Or would
> you agree to close this issue as unreproducible?
I could not reporduce this either when using a current version fo guix.
Closing.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-31 9:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-27 20:52 bug#34679: --load-path does not work with guix environment Hartmut Goebel
2019-03-06 14:05 ` Ludovic Courtès
2019-03-13 8:35 ` Hartmut Goebel
2020-05-14 5:24 ` Ricardo Wurmus
2020-05-31 9:48 ` Hartmut Goebel
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).