[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/1] qt-build-system: Wrap with build variables to allow %out
From: |
Rutherther |
Subject: |
Re: [PATCH 0/1] qt-build-system: Wrap with build variables to allow %outputs in arguments |
Date: |
Thu, 05 Dec 2024 08:35:56 +0100 |
Hi John,
thanks.
> You should be able to use gexps, e.g. #$output (see
> <https://guix.gnu.org/manual/devel/en/html_node/G_002dExpressions.html>
> for more details). That is actually the preferred way now, though
> there are still instances of assoc-ref.
> I believe the commit in question is
> <https://git.savannah.gnu.org/cgit/guix.git/commit?id=7d873f194ca69d6096d28d7a224ab78e83e34fe1>.
I've seen this commit before and saw that many of the build systems
in it had the inputs and outputs build variables added, so that's why I asked.
> Though perhaps you are getting at that you'd expect the older way to
> still work? Perhaps qt-build purposefully left the older procedure
> behind as it should have much fewer dependents (which may rely on the
> old assoc-ref)?
Yes, exactly, I wanted to know if this is purposefully left out, ie. for
the thing you are saying - less dependants, or if it was sort of a
mistake.
So is the goal to port everything to gexps eventually, and to get
rid of %outputs completely?
Regards,
Rutherther