From mboxrd@z Thu Jan 1 00:00:00 1970 From: Taegil Bae Subject: Re: '--load-path' option not working for 'guix system' command Date: Thu, 15 Nov 2018 01:08:40 +0900 Message-ID: References: <87bm6tbfrv.fsf@ambrevar.xyz> <87tvkk9frt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMxim-0007Fk-QG for help-guix@gnu.org; Wed, 14 Nov 2018 11:08:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMxih-0003DE-TT for help-guix@gnu.org; Wed, 14 Nov 2018 11:08:52 -0500 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:43429) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMxih-0003B0-Gu for help-guix@gnu.org; Wed, 14 Nov 2018 11:08:47 -0500 Received: by mail-pl1-x642.google.com with SMTP id g59-v6so7990184plb.10 for ; Wed, 14 Nov 2018 08:08:45 -0800 (PST) In-Reply-To: <87tvkk9frt.fsf@gmail.com> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Oleg Pykhalov Cc: help-guix@gnu.org Dear Oleg, On 11/14/18 6:20 PM, Oleg Pykhalov wrote: > Could you place a (pk '%load-path %load-path) sexp before the > (operating-system ...) to see what does Guile load? Here is the output: # guix system reconfigure /etc/config.scm -L $HOME/my-guix -n ;;; (%load-path ("/root/my-guix" "/gnu/store/xykmv219fysc8rkb0bwqkkw64a37sm58-guix-e740a9022-modules" "/gnu/store/qbzw2ygy1nq2h0nq6sl9cgg1c5mq5g8z-guile-gcrypt-0.1.0/share/guile/site/2.2" "/gnu/store/c63g5242rs04ipx1zrkma9zxvs8782sj-gnutls-3.5.18/share/guile/site/2.2" "/gnu/store/n45hylmwfy6gdkxxdx8qpq55sh8rgml8-guile-git-0.1.0/share/guile/site/2.2" "/gnu/store/1aglyrvw57cbw4njc2q4blmbqin3r7k2-guile-bytestructures-1.0.3/share/guile/site/2.2" "/gnu/store/sw3wxk3ylxd1kc2z4z4kb5191x9pf17n-guile-json-1.2.0/share/guile/site/2.2" "/gnu/store/vni6jwl3hxn97i9sk2a9fdd4b7fhjvlb-guile-ssh-0.11.3/share/guile/site/2.2" "/gnu/store/rjp81r0sgvix8cplfgqyhyhmyxxk35a6-guile-sqlite3-0.1.0/share/guile/site/2.2" "/gnu/store/9970qxhisnrr8cq4rq25zrc4698b037b-module-import" "/gnu/store/9970qxhisnrr8cq4rq25zrc4698b037b-module-import" "/run/current-system/profile/share/guile/site/2.2" "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile/2.2" "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile/site/2.2" "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile/site" "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile")) The following derivations would be built:    /gnu/store/14cww1f93h0zh6rylr18wsb8l16j7ipn-system.drv /gnu/store/qk1ninhablh8ax7633gppwj447czc04r-grub.cfg.drv /gnu/store/jk0c7vly17k8azbpzbcpd1lrhpmk7hig-bootloader-installer.drv /gnu/store/bp735l7fzyv86rwps1ajdap2k9gvyvr1-module-import-compiled.drv /gnu/store/s04i207w7k22sgl9qfss551cp3d5cgvf-gtk-icon-themes.drv            ..... # export GUIX_PACKAGE_PATH=~/my-guix # guix system reconfigure /etc/config.scm -n ;;; note: source file /root/my-guix/gnu/packages/spice.scm ;;;       newer than compiled /gnu/store/6gjbbs9d68626j05h1ff3yya3nlizsc0-guix-e740a9022-modules/gnu/packages/spice.go ;;; note: source file /root/my-guix/gnu/packages/spice.scm ;;;       newer than compiled /run/current-system/profile/lib/guile/2.2/site-ccache/gnu/packages/spice.go ;;; (%load-path ("/root/my-guix" "/gnu/store/xykmv219fysc8rkb0bwqkkw64a37sm58-guix-e740a9022-modules" "/gnu/store/qbzw2ygy1nq2h0nq6sl9cgg1c5mq5g8z-guile-gcrypt-0.1.0/share/guile/site/2.2" "/gnu/store/c63g5242rs04ipx1zrkma9zxvs8782sj-gnutls-3.5.18/share/guile/site/2.2" "/gnu/store/n45hylmwfy6gdkxxdx8qpq55sh8rgml8-guile-git-0.1.0/share/guile/site/2.2" "/gnu/store/1aglyrvw57cbw4njc2q4blmbqin3r7k2-guile-bytestructures-1.0.3/share/guile/site/2.2" "/gnu/store/sw3wxk3ylxd1kc2z4z4kb5191x9pf17n-guile-json-1.2.0/share/guile/site/2.2" "/gnu/store/vni6jwl3hxn97i9sk2a9fdd4b7fhjvlb-guile-ssh-0.11.3/share/guile/site/2.2" "/gnu/store/rjp81r0sgvix8cplfgqyhyhmyxxk35a6-guile-sqlite3-0.1.0/share/guile/site/2.2" "/gnu/store/9970qxhisnrr8cq4rq25zrc4698b037b-module-import" "/gnu/store/9970qxhisnrr8cq4rq25zrc4698b037b-module-import" "/run/current-system/profile/share/guile/site/2.2" "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile/2.2" "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile/site/2.2" "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile/site" "/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/share/guile")) The following derivations would be built:    /gnu/store/14cww1f93h0zh6rylr18wsb8l16j7ipn-system.drv    /gnu/store/qk1ninhablh8ax7633gppwj447czc04r-grub.cfg.drv /gnu/store/jk0c7vly17k8azbpzbcpd1lrhpmk7hig-bootloader-installer.drv However, I think that load-path of 'guix system' have nothing to do with config.scm. If I run 'guix system --help' with GUIX_PACKAGE_PATH defined, I have the output below: # guix system --help ;;; note: source file /root/my-guix/gnu/packages/spice.scm ;;;       newer than compiled /gnu/store/6gjbbs9d68626j05h1ff3yya3nlizsc0-guix-e740a9022-modules/gnu/packages/spice.go ;;; note: source file /root/my-guix/gnu/packages/spice.scm ;;;       newer than compiled /run/current-system/profile/lib/guile/2.2/site-ccache/gnu/packages/spice.go Usage: guix system [OPTION ...] ACTION [ARG ...] [FILE] Build the operating system declared in FILE according to ACTION. Some ACTIONS support additional ARGS. The valid values for ACTION are:   ........ Thanks, Taegil