help-guix
[Top][All Lists]
Advanced

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

Re: '--load-path' option not working for 'guix system' command


From: Taegil Bae
Subject: Re: '--load-path' option not working for 'guix system' command
Date: Thu, 15 Nov 2018 01:08:40 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

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




reply via email to

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