all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Taegil Bae <esrevinu@gmail.com>
To: Oleg Pykhalov <go.wigust@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: '--load-path' option not working for 'guix system' command
Date: Thu, 15 Nov 2018 01:08:40 +0900	[thread overview]
Message-ID: <e2bf6178-31d7-e6ca-9031-1bb563b004ac@gmail.com> (raw)
In-Reply-To: <87tvkk9frt.fsf@gmail.com>

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	other threads:[~2018-11-14 16:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-13  3:49 '--load-path' option not working for 'guix system' command Taegil Bae
2018-11-13  7:25 ` Pierre Neidhardt
2018-11-13  7:55   ` Taegil Bae
2018-11-14  9:20     ` Oleg Pykhalov
2018-11-14 16:08       ` Taegil Bae [this message]
2018-11-18 11:08         ` Oleg Pykhalov
2018-11-18 20:12           ` Taegil Bae

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e2bf6178-31d7-e6ca-9031-1bb563b004ac@gmail.com \
    --to=esrevinu@gmail.com \
    --cc=go.wigust@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.