help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions regarding substitutes with debug output


From: Maxim Cournoyer
Subject: Re: Questions regarding substitutes with debug output
Date: Fri, 22 Apr 2022 00:22:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi Olivier,

Olivier Dion via <help-guix@gnu.org> writes:

> Hi,
>
> I require debugging symbols of multiple packages.  Some of them already
> have a debug output from the main guix channel, but others don't.  So
> I had in mind to make a channel and publish the substitutes with the
> debug outputs.

In general, if you need debug symbols for something, I think it's OK to
contribute adding them to Guix proper (in a debug output), unless they
make like >= 1 GiB (as I can imagine may be the case for IceCat).

[...]

>   How could I make sure that Guix use my version of Firefox over the one
>   defined by the main channel?  My guess is to change the name of my
>   package to something like "my-firefox".  But it would be nicer if I
>   don't have to do so.  Perhaps there's a way to force channel
>   preference?

Channels can only extend, not override the default Guix channel (the
world would be a bit of a mess if it did).  So the easiest path is to
use a different name; alternatively for graph rewriting you could use
the various APIs to effect package transformations.

>   I know that we can specify version like "firefox@99" but what about
>   outputs?  Is it possible to do (list "firefox:out" "firefox:debug").?

I know nothing about GWL, but if it uses the Guix-provided
specification->package procedure, it would work that way yes.n

I hope that helps,

Cheers!

Maxim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]