all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jgart <jgart@dismail.de>
To: Guix Help <help-guix@gnu.org>
Subject: debugging %build-inputs
Date: Wed, 5 Oct 2022 20:35:08 -0500	[thread overview]
Message-ID: <20221005203508.GC31716@dismail.de> (raw)

Hi,

How can I debug what %build-inputs is in the context of the package being built?

    (arguments
     `(#:configure-flags
       (list (string-append "--with-tcl="
                            (assoc-ref %build-inputs "tcl")
                            "/lib")    ^^^^^^^^^^^^
             (string-append "--with-tk="
                            (assoc-ref %build-inputs "tk")
                            "/lib"))))


The above snippet is from gtkwave (e.g. guix edit gtkwave).

What I would like to do is drop into a debugger in the environment where I can print %build-inputs.

If I can't do it that way what is the Guiler way to achieve what I'm trying to do?

Any advice and enlightment would be much appreciated.

all best,

jgart


             reply	other threads:[~2022-10-06  1:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06  1:35 jgart [this message]
2022-10-06  6:40 ` debugging %build-inputs (

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

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

  git send-email \
    --in-reply-to=20221005203508.GC31716@dismail.de \
    --to=jgart@dismail.de \
    --cc=help-guix@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.