GNU bug report logs - #54123
[PATCH 0/5] some golang packages

Previous Next

Package: guix-patches;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Wed, 23 Feb 2022 10:27:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

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: Efraim Flashner <efraim <at> flashner.co.il>, 54123 <at> debbugs.gnu.org
Subject: [bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty.
Date: Wed, 23 Feb 2022 13:39:00 +0100
[Message part 1 (text/plain, inline)]
Efraim Flashner schreef op wo 23-02-2022 om 12:29 [+0200]:
> +    (arguments
> +     '(#:import-path "github.com/niemeyer/pretty"
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'patch-source
> +           (lambda _
> +             ;; https://github.com/kr/pretty/pull/66
> +             (substitute* "src/github.com/niemeyer/pretty/formatter.go"
> +               (("string\\(i\\)") "string(rune(i))")))))))

The 'patches' and 'snippet' fields of 'origin' are for patching
source code.  While patching in a phase works, an origin snippet
seems a more natural place to me.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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