GNU bug report logs -
#55903
[PATCHSET] Adding aerc
Previous Next
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
View this message in rfc822 format
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.