guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty.


From: Maxime Devos
Subject: [bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty.
Date: Wed, 23 Feb 2022 13:39:00 +0100
User-agent: Evolution 3.38.3-1

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.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]