unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Olivier Dion via <help-guix@gnu.org>
To: help-guix@gnu.org
Subject: Questions regarding substitutes with debug output
Date: Wed, 20 Apr 2022 13:32:39 -0400	[thread overview]
Message-ID: <877d7joe2w.fsf@laura> (raw)

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.

Regarding this specific case, I have a question:

  Let's say I need firefox:out + firefox:debug.  My channel does provide
  these outputs, guix's main channel only provides the firefox:out.

  I need to specify the package programmatically as a string in Guile.
  More specifically in the process packages field of Guix Workflow Language.

  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?

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

Regards,
old

-- 
Olivier Dion
oldiob.dev



             reply	other threads:[~2022-04-21 14:47 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20 17:32 Olivier Dion via [this message]
2022-04-22  4:22 ` Questions regarding substitutes with debug output Maxim Cournoyer
2022-04-22 14:29   ` Olivier Dion via
2022-04-24  3:38     ` Maxim Cournoyer
2022-04-24 14:56       ` Olivier Dion via
2022-04-25  4:10         ` Maxim Cournoyer
2022-04-28  8:13     ` zimoun
2022-04-28  8:58       ` Ricardo Wurmus
2022-04-28 14:11       ` Olivier Dion via
2022-04-28 14:18         ` Ricardo Wurmus
2022-04-28 14:25           ` Olivier Dion via
2022-04-29  5:06             ` Ricardo Wurmus
2022-04-28 14:20         ` Olivier Dion via
2022-04-29  8:49         ` zimoun
2022-04-29 14:47           ` Olivier Dion via
2022-04-29 16:01             ` Ricardo Wurmus
2022-04-29 16:17               ` Olivier Dion via
2022-04-29 20:08                 ` Ricardo Wurmus
2022-04-29 20:53                   ` Olivier Dion via
2022-05-09 10:33                   ` zimoun
2022-05-09 13:33                     ` Ricardo Wurmus
2022-05-09 14:37                       ` zimoun
2022-04-29 16:06             ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877d7joe2w.fsf@laura \
    --to=help-guix@gnu.org \
    --cc=olivier.dion@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).