[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: |
Tue, 13 Nov 2018 16:55:19 +0900 |
Dear Pierre,
Thank you for the reply.
I didn't know that '~' does not expands to $HOME in the case. But
actually I have used '-L ./my-guix'.
This option is not working with 'guix system', but is working with
'guix build' and 'guix package'.
address@hidden ~# guix build spice-vdagent --load-path=~/my-guix
/gnu/store/5wk50f4zhhmg0s599z3d6v5zraxp72jp-spice-vdagent-0.17.0
address@hidden ~# guix build spice-vdagent --load-path=./my-guix
;;; note: source file ./my-guix/gnu/packages/spice.scm
;;; newer than compiled
/gnu/store/6gjbbs9d68626j05h1ff3yya3nlizsc0-guix-e740a9022-modules/gnu/packages/spice.go
;;; note: source file ./my-guix/gnu/packages/spice.scm
;;; newer than compiled
/run/current-system/profile/lib/guile/2.2/site-ccache/gnu/packages/spice.go
/gnu/store/d5l0idaszbb5dbxm072gmaknrhrh4bc9-spice-vdagent-fixed-0.17.0
address@hidden ~# guix system reconfigure /etc/config.scm -L ./my-guix/ -n
The following derivations would be built:
/gnu/store/14cww1f93h0zh6rylr18wsb8l16j7ipn-system.drv
.................
address@hidden ~# guix system reconfigure /etc/config.scm -L ~/my-guix/ -n
The following derivations would be built:
/gnu/store/14cww1f93h0zh6rylr18wsb8l16j7ipn-system.drv
..................
address@hidden ~# export GUIX_PACKAGE_PATH=~/my-guix
address@hidden ~# 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
The following derivations would be built:
/gnu/store/14cww1f93h0zh6rylr18wsb8l16j7ipn-system.drv
....................
Regards,
Taegil
2018년 11월 13일 (화) 오후 4:25, Pierre Neidhardt <address@hidden>님이 작성:
>
>
> > 'guix system reconfigure /etc/config.scm --load-path=~/my-guix'
>
> This because the shell only expands '~' to $HOME if it's a starting character.
> Here you should either use
>
> guix system reconfigure /etc/config.scm --load-path=$HOME/my-guix
>
> or
>
> guix system reconfigure /etc/config.scm -L ~/my-guix
>
> --
> Pierre Neidhardt
> https://ambrevar.xyz/