Hi Feng,
Feng Shu <tuma...@163.com> writes:
Hello,
I use the below channel setting:
(service
home-channels-service-type
(cons* (channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
;; Enable signature verification:
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB
B2D5"))))
%default-channels))
but when I run
./pre-inst-env guix build unrar
it can not find unrar, for unrar is a package in nonguix
channel.
The pre-inst-env runs a different Guix than your user (or system)
Guix, so it won’t know about things like your channel
configuration. Running `./pre-inst-env guix describe' will show
you what I mean.
my question is: how to let pre-inst-env work well with my
channel
setting, and no need to use -L in every command.
The pre-inst-env is for developing Guix itself, and isn’t needed
to build packages from other channels. A simple `guix build
unrar' will build whatever version of unrar your current Guix
knows about. If you want to edit a package in a third-party
channel, `guix build -L. unrar' inside the nonguix source tree is
the best way to do that.
-- Ian