From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YfO6HdAUzmSmIQAASxT56A (envelope-from ) for ; Sat, 05 Aug 2023 11:22:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uGarHNAUzmQCfQEAauVa8A (envelope-from ) for ; Sat, 05 Aug 2023 11:22:24 +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 1BF835D264 for ; Sat, 5 Aug 2023 11:22:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=RabjPh8Q; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691227344; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=vV2lk6VxlxX+L8KyloPRB9nDjWNJnp14j0KAF/U/bwg=; b=ji7phh9fGW5swNoaSgJtOGVhRQJ9KcYfZInVUnJhp+0IEscrzAaEiggNcXw/Buw0l+9z60 7/O/nQwNE0BVyIIRe5IaCx0fk4unAsFzpVbebAWam0wO98W8eapubaLQA7vXA9J1dpz0Jf 9LkWq6mcKt+ZMr/FzoxBB4PVOY34aq0UgfNA3ktsgepVtcuxvxm/ycJKCNXbIYDki3HICA Wia5O9mLxjZwKGN+iYvPiwu8P4IZSNzEOurVM6FB01njtZKE4AV8hZbSxoMLf+gPYlt423 zplPOmqg5/i3P7jJktHbmNal0diZQoLs7NJ2KWbvc4Tq1nRYtm9tzQwcVP8I4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=RabjPh8Q; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691227344; a=rsa-sha256; cv=none; b=BLuMX2qlUuHdzq+gfOu4e0Q0ktbC2ykj/FhHDCxfQOxDFpXX0s3/PXV5LjK55ExDGqsGWd bMZF64liPjMet/xp7cc7NbYWJuuZKC768UsNf6sWwE5RQl5n3XVi13BHYSy5pQmljxYyKO eCIFLPI9hhHV7SN4p8nxMTW4Aie+x+zjGVSREqS6Y9U68PXm9C2OeQeCaZP1Iv6rt0A6u2 IsD07XG8gt9YQ2noF8AJk+QCapmG5ch+J0qcKzCiY7BwFJXy1aglC5pvZ7liQ6aGDu8oFZ H3KFHVeiRFb5yukl7GvYZ2rS306mBxOgLps/Vbdzx7Q9feCcaPHGwtParELLAg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSDUD-0005w8-1X; Sat, 05 Aug 2023 05:22:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSDU3-0005uv-EF for guix-patches@gnu.org; Sat, 05 Aug 2023 05:22:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSDU3-0004ib-5f for guix-patches@gnu.org; Sat, 05 Aug 2023 05:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSDU3-0008Ku-18 for guix-patches@gnu.org; Sat, 05 Aug 2023 05:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65079] [PATCH 07/13] gnu: Add go-github-com-pkg-profile Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 09:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65079 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Fries Cc: 65079@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org, 65079@debbugs.gnu.org Received: via spool by 65079-submit@debbugs.gnu.org id=B65079.169122728831963 (code B ref 65079); Sat, 05 Aug 2023 09:22:02 +0000 Received: (at 65079) by debbugs.gnu.org; 5 Aug 2023 09:21:28 +0000 Received: from localhost ([127.0.0.1]:55599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSDTU-0008JT-7t for submit@debbugs.gnu.org; Sat, 05 Aug 2023 05:21:28 -0400 Received: from knopi.disroot.org ([178.21.23.139]:49028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSDTS-0008JE-H5 for 65079@debbugs.gnu.org; Sat, 05 Aug 2023 05:21:26 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id EE37140E9F; Sat, 5 Aug 2023 11:21:22 +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 bzcc7MgKPDXh; Sat, 5 Aug 2023 11:21:22 +0200 (CEST) References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1691227281; bh=E4Tm4eFSEczKFVERtXvDqU77BdjGeNG1EfpLwK+j3lA=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=RabjPh8QNme7SMjzqZsybEx1SPEZxK5h1eY7eABBF2rWKqfzlp04nQ6uhDctSmrwN GEyPCJQb93BczbnFFL2/smZH+6xmgBjnBOZPxtGmMgru4fdHwydakfFobNBxN0Wkx/ ctUY40o1xOqAX6VvjBAkUbjjhGVKUD3KJuhxA6/zXVMOe7AaLWaqp42RWlNTlvF3H2 LuvIsmrZcqbhcGj7uboy1pKD6WYfKL8jRceSe3/wtlCIjuJtlKUJDQZ6gwWPZCTr2A lCa+AXXmJJ6N6cZmjimlqZD1qp1+gF7fysQK8m9Na7rBWYZLgpVvtPrVEdPRg53iZx regG/5NIUk3Qw== Date: Sat, 05 Aug 2023 10:19:20 +0100 In-reply-to: Message-ID: <875y5trgj2.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain 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: , Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 1BF835D264 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -6.65 X-Migadu-Spam-Score: -6.65 X-TUID: 29uM9v3hJ8O4 Fries via Guix-patches via writes: > + (build-system go-build-system) > + (arguments > + '(#:import-path "github.com/pkg/profile" Use LIST and #~. > + #:phases (modify-phases %standard-phases > + ;; profile drops a cpu.pprof file inside its source directory > + ;; after tests which makes it unreproducable so we remove it. s/unreproducable/unreproducible/ > + (add-after 'check 'delete-test-file > + (lambda _ > + (delete-file "src/github.com/pkg/profile/cpu.pprof")))))) You can make this neater like so: (add-after 'check 'delete-test-file (lambda* (#:key import-path #:allow-other-keys) (delete-file (string-append "src/" import-path "/cpu.pprof")))) > + (propagated-inputs `(("go-github-com-felixge-fgprof" ,go-github-com-felixge-fgprof))) LIST here too. -- (