From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SPg9O74hA2OaYAEAbAwnHQ (envelope-from ) for ; Mon, 22 Aug 2022 08:27:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yNBOO74hA2OZmAAA9RJhRA (envelope-from ) for ; Mon, 22 Aug 2022 08:27:10 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A92AF89D3 for ; Mon, 22 Aug 2022 08:27:10 +0200 (CEST) Received: from localhost ([::1]:54184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ0tx-0001bT-SG for larch@yhetil.org; Mon, 22 Aug 2022 02:27:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ0tq-0001b5-Df for guix-patches@gnu.org; Mon, 22 Aug 2022 02:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ0tq-0000mg-55 for guix-patches@gnu.org; Mon, 22 Aug 2022 02:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQ0tq-0006uj-0u for guix-patches@gnu.org; Mon, 22 Aug 2022 02:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH v8 01/41] gnu: Add go-github-com-zenhack-go-notmuch. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Aug 2022 06:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55903 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "(" , <55903@debbugs.gnu.org> Received: via spool by 55903-submit@debbugs.gnu.org id=B55903.166114961826568 (code B ref 55903); Mon, 22 Aug 2022 06:27:01 +0000 Received: (at 55903) by debbugs.gnu.org; 22 Aug 2022 06:26:58 +0000 Received: from localhost ([127.0.0.1]:37615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ0tm-0006uS-EK for submit@debbugs.gnu.org; Mon, 22 Aug 2022 02:26:58 -0400 Received: from knopi.disroot.org ([178.21.23.139]:46954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ0tk-0006uJ-H0 for 55903@debbugs.gnu.org; Mon, 22 Aug 2022 02:26:57 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0C80E40153; Mon, 22 Aug 2022 08:26:55 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wLOWYCHA0jcp; Mon, 22 Aug 2022 08:26:54 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1661149614; bh=cIf6reSoB7EG7cdaR93z0IicBc3xF4tuIJTTgU67erE=; h=Date:From:To:Subject:References:In-Reply-To; b=jbfnrdm9fQmAtF/2+clRfq+78D80OADwkb3BZ45AaSR5nT2vW/6qP1xpO47ajj2Ao mOZ+S4JWAgG1wGjc0o+k+6d+K29snWPQLJG6ac+hkJ1TG6GO3E00/rNYhwYUw+/CkE 44b9xXaxIlqzPtqdpvlz+znk1GKjLhZutEeAgOIIF9MPr36OX+WfZI6ySo6LpfJjKL OtaUr9D268rbYI/r55uD4m9UkkVW8PT5FV5+WOmHeFbMtyQ1r+Rg2p9V5m/FZ+cfaP OwWNjlm6Kj31yC7OmLwWV1bSb05or/b7Awli7hdjv0028ReWXV86qg0TpSGMAWdMxW H3kVzkTtzcGfg== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 22 Aug 2022 07:26:53 +0100 Message-Id: References: <20220822061141.13876-1-paren@disroot.org> In-Reply-To: <20220822061141.13876-1-paren@disroot.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661149630; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rejJrEaGdB5gNDWqhYtdD7ogFVro113QF2QruKg7ul0=; b=SiHxcF5RV0Grwss3IbMeYgEhclBdQcEbJ3QLRI+9M2VDVqTQGY4LYfHgPwrLlemHwG5ywz sK9nl4hDrfb375Gs2qpGR6Y9jEBzUMmEtbkt7tFQXeckmRTTSATXmAinW79FVu5g/K0K6K SqyGDA49nSRomSmixF7ZiDnhZj8WRVbBN5lCU9NLhN+s6x4PvUBIQ0Ju8jxMsdm8WXBY4+ vCOC/KI46msc6qK666sh0FV+edtzMbVo1faVpvG5qR6Rx/1DCx2BCdJbUbX/4w5PKcAl+f fFiPDbLtaDjrlSU7z/0OQWyzfWX7i81u2U4uR58+qgOF4qPZH2wj3tATwsTiCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661149630; a=rsa-sha256; cv=none; b=FZL4MKlllg8LQ3naNzb9AA8kqXWsySV+kW4boNXlCLhA5T6SMf8leE12hiQ+BE2cL5CJag YCOzNeflSyRXbhsD3B1C4GXICXiMLrqemUO0jd7J8zKG2+RLE9k/pgoIEE0oYzRQWtcggT JbvfjEWfteoM8Zqj92CTLThf+v6BeWtt7dXZOfFORCefsk3U5tzwmJHJZx0Gq+dfMxhs2i /4I+XV3631vyDdNao1YUYpxG/0TQ+YU3yYcGO1cEznS8IpYDARREo62BxoHax5UoR85JAf s5dckPWP5lcSG4p+5jHWU6U9Bq/ixXu7MZp4T6bfG4gaQTSati+wQ1E6f1LCnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=jbfnrdm9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=jbfnrdm9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A92AF89D3 X-Spam-Score: -0.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: hNWw6QMNG0p1 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, be= cause source code must be position-independent, so this new patchset uses a phase= to add direct notmuch references to the go.notmuch package instead. -- (