[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55903] [PATCH v8 01/41] gnu: Add go-github-com-zenhack-go-notmuch.
From: |
( |
Subject: |
[bug#55903] [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.
-- (
- [bug#55903] [PATCH v8 29/41] gnu: Add go-git-sr-ht--sircmpwn-getopt., (continued)
- [bug#55903] [PATCH v8 29/41] gnu: Add go-git-sr-ht--sircmpwn-getopt., (, 2022/08/22
- [bug#55903] [PATCH v8 39/41] gnu: Add go-github-com-onsi-ginkgo., (, 2022/08/22
- [bug#55903] [PATCH v8 30/41] gnu: Add go-github-com-lithammer-fuzzysearch., (, 2022/08/22
- [bug#55903] [PATCH v8 31/41] gnu: Add go-github-com-google-shlex., (, 2022/08/22
- [bug#55903] [PATCH v8 33/41] gnu: Add go-github-com-emersion-go-milter., (, 2022/08/22
- [bug#55903] [PATCH v8 34/41] gnu: Add go-github-com-emersion-go-msgauth., (, 2022/08/22
- [bug#55903] [PATCH v8 40/41] gnu: Add go-github-com-syndtr-goleveldb-leveldb., (, 2022/08/22
- [bug#55903] [PATCH v8 32/41] gnu: Add go-github-com-emersion-go-maildir., (, 2022/08/22
- [bug#55903] [PATCH v8 38/41] gnu: Add go-github-com-go-task-slim-sprig., (, 2022/08/22
- [bug#55903] [PATCH v8 41/41] gnu: Add aerc., (, 2022/08/22
- [bug#55903] [PATCH v8 01/41] gnu: Add go-github-com-zenhack-go-notmuch.,
( <=