all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* debugging %build-inputs
@ 2022-10-06  1:35 jgart
  2022-10-06  6:40 ` (
  0 siblings, 1 reply; 2+ messages in thread
From: jgart @ 2022-10-06  1:35 UTC (permalink / raw)
  To: Guix Help

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


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

end of thread, other threads:[~2022-10-06  6:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-06  1:35 debugging %build-inputs jgart
2022-10-06  6:40 ` (

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.