GNU bug report logs - #52588
A linter & styler for %outputs -> #$output:...?

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Fri, 17 Dec 2021 21:52:02 UTC

Severity: normal

Full log


Message #8 received at 52588 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 52588 <at> debbugs.gnu.org
Subject: Re: bug#52588: A linter & styler for %outputs -> #$output:...?
Date: Sun, 19 Dec 2021 23:16:21 +0100
Hi,

Maxime Devos <maximedevos <at> telenet.be> skribis:

> Alternatively, %outputs (& friends?) could be re-introduced,
> albeit with #$output and #$(this-package-input ...) being strongly
> preferred above %outputs & %build-inputs & friends.
>
> Reintroducing %build-inputs/%build-target-inputs/... could help with
> the ‘how do I refer to implicit build inputs from #:configure-flags’
> issues that have been cropping up.

Yes, the intent was to still provide ‘%build-inputs’ & co. for backward
compatibility.

There are a few build systems where these variables seemed to be mostly
unused already, so I didn’t bother reintroducing them; that’s the case
of ‘qt-build-system’ and ‘julia-build-system’, for instance.  But these
are the exception.

In the case of meson cross-compilation, it was an oversight.

Ludo’.




This bug report was last modified 3 years and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.