From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Rutherther <rutherther@ditigal.xyz>
Cc: 74405@debbugs.gnu.org, å®ææ¦ <iyzsong@envs.net>
Subject: [bug#74405] [PATCH 0/1] qt-build-system: Wrap with build variables to allow %outputs in arguments
Date: Thu, 02 Jan 2025 22:48:41 +0900 [thread overview]
Message-ID: <871pxl72di.fsf@gmail.com> (raw)
In-Reply-To: <cover.1733339135.git.rutherther@ditigal.xyz> (rutherther@ditigal.xyz's message of "Wed, 4 Dec 2024 20:12:17 +0100")
Hi Rutherther,
Rutherther <rutherther@ditigal.xyz> writes:
> It is impossible to refer to %outputs in arguments like #:configure-flags
> (ie. `(assoc-ref %outputs "out")` leads to unbound-variable %outputs).
> I think the issue is in qt using different system than build systems such
> as cmake or gnu. Since I am unsure about the reason for qt not having
> the same structure, I am submitting this to guix devel for discussion,
> as well as opening a patch in case this is fine to be merged. If not,
> could someone please explain what the reason behind not adding
> inputs and outputs is, and what is the alternative?
>
> Regards,
> Rutherther
>
> Rutherther (1):
> guix: qt: add inputs and outputs build variables in qt-build
I haven't seen that patch in the series here, but just for the record I
think support for %outputs is omitted by purpose to nudge new package
definitions to migrate to use G-Expressions, e.g.
--8<---------------cut here---------------start------------->8---
#:configure-flags #~(list (string-append "DESTDIR=" #$output))
--8<---------------cut here---------------end--------------->8---
--
Thanks,
Maxim
prev parent reply other threads:[~2025-01-02 13:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-17 19:15 [bug#74406] [PATCH 0/1] antlr4 package does not refer to java executable by full path Rutherther via Guix-patches via
2024-11-17 19:17 ` [bug#74405] [PATCH 1/1] gnu: antlr4: Pass full path to java in bin executable Rutherther via Guix-patches via
2025-01-02 13:51 ` [bug#74405] [bug#74406] " Maxim Cournoyer
2024-12-04 19:12 ` [bug#74405] [PATCH 0/1] qt-build-system: Wrap with build variables to allow %outputs in arguments Rutherther via Guix-patches via
2024-12-04 19:14 ` Rutherther via Guix-patches via
2025-01-02 13:45 ` Maxim Cournoyer
2024-12-04 19:15 ` [bug#74695] [PATCH 1/1] guix: qt: add inputs and outputs build variables in qt-build Rutherther via Guix-patches via
2025-01-02 13:48 ` Maxim Cournoyer [this message]
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=871pxl72di.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=74405@debbugs.gnu.org \
--cc=iyzsong@envs.net \
--cc=rutherther@ditigal.xyz \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).