unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Rutherther <rutherther@ditigal.xyz>
To: guix-devel@gnu.org
Cc: Rutherther <rutherther@ditigal.xyz>
Subject: [PATCH 0/1] qt-build-system: Wrap with build variables to allow %outputs in arguments
Date: Wed,  4 Dec 2024 23:17:47 +0100	[thread overview]
Message-ID: <cover.1733339135.git.rutherther@ditigal.xyz> (raw)

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

 guix/build-system/qt.scm | 54 +++++++++++++++++++++-------------------
 1 file changed, 28 insertions(+), 26 deletions(-)


base-commit: 006679d1e6ca7acea0629b4f019c8cf89cde08be
--
2.46.0


             reply	other threads:[~2024-12-04 22:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-04 22:17 Rutherther [this message]
2024-12-05  6:18 ` [PATCH 0/1] qt-build-system: Wrap with build variables to allow %outputs in arguments John Kehayias via Development of GNU Guix and the GNU System distribution.
2024-12-05  7:35   ` Rutherther

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=cover.1733339135.git.rutherther@ditigal.xyz \
    --to=rutherther@ditigal.xyz \
    --cc=guix-devel@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 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).