GNU bug report logs - #53456
[PATCH] gnu: Add fnlfmt.

Previous Next

Package: guix-patches;

Reported by: Brandon Lucas <br <at> ndon.dk>

Date: Sat, 22 Jan 2022 21:30:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: Brandon Lucas <br <at> ndon.dk>, 53456 <at> debbugs.gnu.org
Subject: [bug#53456] [PATCH] gnu: Add fnlfmt.
Date: Sat, 22 Jan 2022 22:39:54 +0100
[Message part 1 (text/plain, inline)]
Brandon Lucas schreef op za 22-01-2022 om 21:28 [+0000]:
> +           ;; Use input fennel instead of bundled fennel.
> +           (lambda* (#:key inputs #:allow-other-keys)
> +             (substitute* "Makefile"
> +               (("./fennel") (search-input-file inputs "/bin/fennel")))))

'fennel' is in native-inputs, not inputs.  For historical reasons,
the 'inputs' in the phase contains both the native-inputs and native-
inputs in the phase is #false when compiling natively, which can be
confusing (maybe that can be addressed someday).

I suggest:

   (lambda* (#:key native-inputs inputs #:allow-other-keys)
     (substitute* "Makefile"
       (("./fennel")
        (search-input-file (or native-inputs inputs) "/bin/fennel")))))
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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