From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Gerber Subject: bug#34590: Effects of GUIX_PACKAGE_PATH and --load-path differ Date: Wed, 20 Feb 2019 11:38:19 +0100 Message-ID: <8736oivj6s.fsf@atufi.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwPGS-0005pR-Ut for bug-guix@gnu.org; Wed, 20 Feb 2019 05:38:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwPGN-0005om-7f for bug-guix@gnu.org; Wed, 20 Feb 2019 05:38:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56441) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwPGM-0005oU-Tq for bug-guix@gnu.org; Wed, 20 Feb 2019 05:38:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gwPGM-0001bP-JP for bug-guix@gnu.org; Wed, 20 Feb 2019 05:38:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:47871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwPFw-0005mY-PV for bug-guix@gnu.org; Wed, 20 Feb 2019 05:37:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwPFu-0005TI-TN for bug-guix@gnu.org; Wed, 20 Feb 2019 05:37:36 -0500 Received: from smtp-sh2.infomaniak.ch ([128.65.195.6]:47714) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwPFs-0005Oh-UD for bug-guix@gnu.org; Wed, 20 Feb 2019 05:37:34 -0500 Received: from smtp8.infomaniak.ch (smtp8.infomaniak.ch [83.166.132.38]) by smtp-sh.infomaniak.ch (8.14.5/8.14.5) with ESMTP id x1KAbSZY007219 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 20 Feb 2019 11:37:28 +0100 Received: from jura (84-73-10-131.dclient.hispeed.ch [84.73.10.131]) (authenticated bits=0) by smtp8.infomaniak.ch (8.14.5/8.14.5) with ESMTP id x1KAbQRp019902 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 20 Feb 2019 11:37:28 +0100 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 34590@debbugs.gnu.org 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 libuv@1.24.0 in the guix channel (a37bdf4) and libuv@1.26.0 in --and also node@11.10.0 only in-- /gnu/guix-local-packages/: $ export GUIX_PACKAGE_PATH=/gnu/guix-local-packages/; guix environment --no-grafts -C node@11.10.0 --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 node@11.10.0 --ad-hoc strace gdb -- ls /gnu/store/ |grep -o libuv-.* libuv-1.24.0 Is this the intended behaviour?