From: Jesse Millwood <jesse_m@fastmail.com>
To: help-guix@gnu.org
Subject: Re: Help with channel build system and package
Date: Sat, 9 Mar 2024 10:02:27 -0500 [thread overview]
Message-ID: <a37c98fe-13de-4f32-8ae8-078815b802e0@fastmail.com> (raw)
In-Reply-To: <87y1asqdj8.fsf@freakingpenguin.com>
Thanks for your response Richard!
On 3/8/24 22:39, Richard Sent wrote:
> Jesse,
>
> I expect your issue is you have an extra gexp in
> build-system/crosstool-ng.scm, line 71. I determined this by:
>
> 1. Examining the derivation Guix is trying to build
I'm still trying to learn about the internals of Guix and writing
packages. How did you examine the derivation Guix is trying to build?
> 2. Examining the -builder file mentioned in the derivation
Ah! I did not notice that file in the output nor open it! I see now that
the Derivations section of the manual mentions these drv files. Is this
where you are examining the derivation that Guix is trying to build?
> 3. Observe that ct-ng-riscv64-unknown-elf-1.26.0-builder wraps
> (crosstool-ng-build ...) in (gexp).
Where is this? Are you talking of this in build-system/crosstool-ng:
(define build
(with-imported-modules
imported-modules
#~(begin
(use-modules #$@(sexp->gexp modules))
#~(crosstool-ng-build #:name #$name
Where "#~", I have learned from Marek (earlier in this thread), is an
alias for "gexp".
Ah, I see the ct-ng-riscv64-unknown-elf-1.26.0-builder in the drv file
and wow, I didn't know this existed! I see the gexp wrapping that you
mention.
Is there a way to use the guix command to tell me where the drv file for
other packages exist? It is apparent that I need to perform a more in
depth review of the manual. This really helps contextualize things for me.
> The package still did not build locally on my machine after removing it,
> but it seems to have progressed to a further stage.
>
Thanks, I may investigate how other derivations look now that I know
where to look. I appreciate the detailed input!
next prev parent reply other threads:[~2024-03-09 15:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-08 3:27 Help with channel build system and package Jesse
2024-02-08 3:37 ` Carlo Zancanaro
2024-02-08 14:32 ` Jesse
2024-02-08 17:00 ` Marek Paśnikowski
2024-02-08 18:33 ` Jesse Millwood
2024-02-08 18:52 ` Marek Paśnikowski
2024-02-15 13:23 ` Jesse
2024-03-08 2:35 ` Jesse Millwood
2024-03-08 10:43 ` Marek Paśnikowski
2024-03-09 14:44 ` Jesse Millwood
2024-03-09 3:39 ` Richard Sent
2024-03-09 15:02 ` Jesse Millwood [this message]
2024-03-16 21:47 ` Jesse Millwood
2024-03-16 22:50 ` Jesse Millwood
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=a37c98fe-13de-4f32-8ae8-078815b802e0@fastmail.com \
--to=jesse_m@fastmail.com \
--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.