Just a small thought:
On 16/10/2021 22:03, Phil Beadling wrote:
As far as I can see, Guix will always prefer the highest version number
irrspective of which channel is sources it from.
However, if there is a package with the same name in both my channel and
in the official guix channel, 'guix i
On 2021-10-17 13:15 +0100, Phil wrote:
> I'd highlight that when 2 packages exist with identical verison number,
> and one package is specified as local (via -L or GUIX_PACKAGE_PATH),
> that local version is preferred over a git-hosted channel.
Warnings will also be printed. For example:
> guix i
Phil,
Right, I meant to add this but forgot:
“In the event of a tie, packages from GUIX_PACKAGE_PATH will
take precedence.”
Thanks for bringing up ‘-L’. We should explicitly state which of
‘-L’ and GUIX_PACKAGE_PATH wins, if someone's willing to test
that.
Kind regards,
T G-R
signat
Tobias Geerinckx-Rice writes:
> “Any packages they define will be added to the pool of available
> packages. Standard package specification rules apply: when
> given a package name without an unambiguous version number, Guix
> will always pick the highest version of that package regardless
Tim Lee 写道:
Environment Variable: GUIX_PACKAGE_PATH
This is a colon-separated list of directories to search for
additional
package modules. Directories listed in this variable take
precedence
over the own modules of the distribution.
The last sentence makes it sound like GUIX_PACKAGE_PATH w
Tim Lee writes:
>> Environment Variable: GUIX_PACKAGE_PATH
>>
>> This is a colon-separated list of directories to search for additional
>> package modules. Directories listed in this variable take precedence
>> over the own modules of the distribution.
>
> The last sentence makes it sound like G
> As far as I can see, Guix will always prefer the highest version
> number irrspective of which channel is sources it from.
I guess I misread the documentation or was misled by it.
https://guix.gnu.org/manual/en/html_node/Package-Modules.html
> Environment Variable: GUIX_PACKAGE_PATH
>
> This is
As far as I can see, Guix will always prefer the highest version number
irrspective of which channel is sources it from.
If you want another version you can use the '@' format as you have already
worked out.
Another way is to define the package is to keep the 'name' of the original,
but the defin
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