bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34590: Effects of GUIX_PACKAGE_PATH and --load-path differ


From: Daniel Gerber
Subject: bug#34590: Effects of GUIX_PACKAGE_PATH and --load-path differ
Date: Wed, 20 Feb 2019 11:38:19 +0100

Hi,

From reading the doc on `guix environment`:

-L, --load-path=DIR prepend DIR to the package module search path

I would expect these to be exactly equivalent:

$ export GUIX_PACKAGE_PATH=; guix environment -L path ...
$ export GUIX_PACKAGE_PATH=path; guix environment ...

Yet they differ. With address@hidden in the guix channel (a37bdf4) and address@hidden in --and also address@hidden only in-- /gnu/guix-local-packages/:

$ export GUIX_PACKAGE_PATH=/gnu/guix-local-packages/; guix environment --no-grafts -C address@hidden --ad-hoc strace gdb -- ls /gnu/store/ |grep -o libuv-.*
libuv-1.26.0

$ export GUIX_PACKAGE_PATH=; guix environment -L /gnu/guix-local-packages/ --no-grafts -C address@hidden --ad-hoc strace gdb -- ls /gnu/store/ |grep -o libuv-.*
libuv-1.24.0

Is this the intended behaviour?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]