unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* GUIX_PACKAGE_PATH doesn't have priority over official guix packages
@ 2021-10-16  8:45 Tim Lee
  2021-10-16 21:03 ` Phil Beadling
  0 siblings, 1 reply; 9+ messages in thread
From: Tim Lee @ 2021-10-16  8:45 UTC (permalink / raw)
  To: help-guix

I have my own channel in a Git repository on my local computer.
This is what I do to search and install packages from my own channel:

$ cd /path/to/my-channel/
$ GUIX_PACKAGE_PATH=. guix search 'mypackage'
$ GUIX_PACKAGE_PATH=. guix install 'mypackage'

However, if there is a package with the same name in both my channel and
in the official guix channel, 'guix install' will install from the
official guix channel instead of my channel. Is this supposed to happen?
I thought that GUIX_PACKAGE_PATH is supposed to have priority over
the official guix channel?

I am currently working around this problem by specifying the version
number when installing. For example:

$ GUIX_PACKAGE_PATH=. guix install 'mypackage@1.2.3'


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-10-18 13:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-16  8:45 GUIX_PACKAGE_PATH doesn't have priority over official guix packages Tim Lee
2021-10-16 21:03 ` Phil Beadling
2021-10-16 22:29   ` Tim Lee
2021-10-17  8:10     ` Phil
2021-10-17 11:36     ` Tobias Geerinckx-Rice
2021-10-17 12:15       ` Phil
2021-10-17 12:31         ` Tobias Geerinckx-Rice
2021-10-17 13:56         ` Tim Lee
2021-10-18 13:48   ` Paul Jewell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).