GNU bug report logs - #55903
[PATCHSET] Adding aerc

Previous Next

Package: guix-patches;

Reported by: "(" <paren <at> disroot.org>

Date: Sat, 11 Jun 2022 09:07:01 UTC

Severity: normal

Tags: patch

Done: Raghav Gururajan <rg <at> raghavgururajan.name>

Bug is archived. No further changes may be made.

Full log


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

From: "(" <paren <at> disroot.org>
To: "(" <paren <at> disroot.org>, <55903 <at> debbugs.gnu.org>
Subject: Re: [PATCH v8 01/41] gnu: Add go-github-com-zenhack-go-notmuch.
Date: Mon, 22 Aug 2022 07:26:53 +0100
Hello again!

On Mon Aug 22, 2022 at 7:11 AM BST, ( wrote:
> +           #~(modify-phases %standard-phases
> +               (add-after 'unpack 'patch-notmuch-path
> +                 (lambda* (#:key inputs import-path #:allow-other-keys)
> +                   (substitute* (find-files (string-append
> +                                             "src/" import-path)
> +                                            "\\.go$")
> +                     (("// #cgo LDFLAGS:.*$")
> +                      (string-append
> +                       "// #cgo LDFLAGS: -lnotmuch "
> +                       "-L" #$(this-package-input "notmuch") "/lib\n"
> +                       "// #cgo CFLAGS: "
> +                       "-I" #$(this-package-input "notmuch") "/include\n")))))

Turns out you're not supposed to embed package references with snippets, because
source code must be position-independent, so this new patchset uses a phase to
add direct notmuch references to the go.notmuch package instead.

    -- (




This bug report was last modified 2 years and 175 days ago.

Previous Next


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