From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2AgsL90VUmd3zAAAe85BDQ:P1 (envelope-from ) for ; Thu, 05 Dec 2024 21:06:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2AgsL90VUmd3zAAAe85BDQ (envelope-from ) for ; Thu, 05 Dec 2024 22:06:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=mkyoqhhG; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20230601.gappssmtp.com header.s=20230601 header.b=hvsCK+bA; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733432796; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=nLzple0QNcf2eEhDa3qI8DM80dyRng7AH+Yt/GNd7s8=; b=tBrAB71DWvdopLVzSKF5bXDhtd3CyYCYUD4bGJWwbDCXjicmAvGX3J2ikIgp/O2gRu05u+ t38kpW7n4QP7Om45AD49SbbLWw05jvGgM4UbiOA5cVKmcNVRnF3I5GOzFZsO+0futyH1Ge WjBFJPKM6vHcOaUR+atasVVNfUnYEbM6Na875M9C22gZdK9ZK2hzfwH3xWU300PWBiVExH zCdn9wFQ9DnWJ6W6KXu8u4m1paGLs8p7+cXSoamj8gvN13i+oeEVmGSgmSVGfl8ujJNuaC EATOO9hU/EjcqnrtRjP3iIXzYUh98CKoR8XiCDsSDQJHhDb2Akz+8beAdUhXqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=mkyoqhhG; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20230601.gappssmtp.com header.s=20230601 header.b=hvsCK+bA; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733432796; a=rsa-sha256; cv=none; b=eJjnWxpTdmYOQwceeTP7GYwZ9lvHwpWruYg3+NSN15wh4/aWyFHHNshfTQ+Vy9oImlx/Hq JgvqBS1mKb6gc8KqGPL1V8dPkpy1NiEIBMOuZQj5KkcpKhDg8wAuO5pgsPYTVOJnV5UiQh 6Api5L1ejwna9vdHymFGZwyafCAJxGz8/+dP/cGKGLpGU25nVXX7aRd0cgudjZ+BFq64B1 pNWTk618fxXxvV7YM1THUHnJ5KsIix/7O+TRkaEGiTyn17P35tJol69Xe7VXe4gvL4BUaG rUjD8AMjOFV/3AVQi1fl6PEU3ENWPSHpRZ4yLaf3bpk7R0k/KHNVPMNs61lqwA== 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 848688F0B7 for ; Thu, 05 Dec 2024 22:06:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJJ2z-0001ru-V1; Thu, 05 Dec 2024 16:06:05 -0500 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 1tJJ2y-0001pf-Fp for guix-patches@gnu.org; Thu, 05 Dec 2024 16:06:04 -0500 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 1tJJ2x-0007J4-UC for guix-patches@gnu.org; Thu, 05 Dec 2024 16:06:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=nLzple0QNcf2eEhDa3qI8DM80dyRng7AH+Yt/GNd7s8=; b=mkyoqhhGw2SzPehuw0qJBB6JQkB41qf++JqvfUdg/JATPTVylT0m6UhP82gHIjgGgByhM3/jB+wT4txuMu/nLY7XHgBrNpnCeOkCr9OG5wa63GOSUCKUDvFhl9ycxC1zw6YhPeXdYLSW4KUHSq0dHc5f1UqwfPNF6OBxv0kChlVGiulS7yYBO8FLr8RH5KTkgEQtNiS0v3glfx1K+qeBboa7h6pabXS2RiZ5o5SjJDsEMWo40JswOncBkWvoJeO5p0IsIDkCOg19qlYOyC7pppQB6t2dcS0ZABLstQyBxKzJ6f7hDW4PQYMVeoGx6fnzoPZfNilIzD+Q9P7lA+Ylcg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJJ2x-0003Ql-OU for guix-patches@gnu.org; Thu, 05 Dec 2024 16:06:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73993] [PATCH v2 2/3] gnu: git-sizer: Use gexps. Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Dec 2024 21:06:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73993 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73993@debbugs.gnu.org Cc: Greg Hogan Received: via spool by 73993-submit@debbugs.gnu.org id=B73993.173343276313179 (code B ref 73993); Thu, 05 Dec 2024 21:06:03 +0000 Received: (at 73993) by debbugs.gnu.org; 5 Dec 2024 21:06:03 +0000 Received: from localhost ([127.0.0.1]:41166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJJ2w-0003QI-BI for submit@debbugs.gnu.org; Thu, 05 Dec 2024 16:06:02 -0500 Received: from mail-qk1-f179.google.com ([209.85.222.179]:50209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJJ2s-0003P7-Nc for 73993@debbugs.gnu.org; Thu, 05 Dec 2024 16:05:59 -0500 Received: by mail-qk1-f179.google.com with SMTP id af79cd13be357-7b6681e92b1so168671885a.0 for <73993@debbugs.gnu.org>; Thu, 05 Dec 2024 13:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1733432693; x=1734037493; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nLzple0QNcf2eEhDa3qI8DM80dyRng7AH+Yt/GNd7s8=; b=hvsCK+bAh1Cypfn3e6OeDM7mB6sbU72oeKqG4NyAYmMf4kL0b1+5BPj5WUzDrMO9Yk uV/RGtTdfxZTIgdY0oJd7Tmix6mFuygVjZFnBQsbSg1N0h5pS6QIzBpy3quFeqaHNY3d w7qwwQuDVxr/m4LZUH2AZ29zENhCru2E0rxbjaMsTtEbniicMAKRD6xN95kKm47PSWJv kK4WcfgjAf49vRnAFw0GYdTNKK7iVgncFUTpXf+FvRQO0U8DIPpAeGZb+qLs1e5RC4hS uhikPz0zNqAnacKTi6gEGL3Y+XBSCtUhpvElKhhWY+5RGSEDw64DkIkYukxWgoyDnCP2 0zIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733432693; x=1734037493; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nLzple0QNcf2eEhDa3qI8DM80dyRng7AH+Yt/GNd7s8=; b=H/o9HsWercEfsng4NsVxpc/fDk4dU5GFHTfn9F2I1hgU44CmqZcTxYMouIan57wWP+ b0r9koYcG/C3nrKulEmY2qrciWDEaZZrbykZ9LVXh8OEgGb7/JllsHuESWjNXohYAOFy XVXt7O1dpHx6FvXhrv4VN7NmsdZSUgjbdeHgftcchOkbdb8eP4jbgf6/RufOLFJI7MpN 1u9gTpOtD63d/3TK+SxiVH3O5j8j/wqSAuLdi1NqWt9BpBXWy/lPXscd+Ysp1fy0MqGj 93dnRK1qkgG91vf0KrZEJ+A1L7Gh0+bmuilyLL40Z/8ZN2h+TbpzLFGbZMlFgqSrlu3G RYDg== X-Gm-Message-State: AOJu0YzJhJ1NK/96Xsral3eyxTCkj1g3Qebp6puYAeHWEhef8BN2F+0V usodgz1KMIYEN+iN5+hWprcZ2xCsMObvpuqYOsfUyk/qOe6McBSOqaEO3Thfv/hfzepXFTjf1JE z X-Gm-Gg: ASbGnctemsUZ5tSayAUsBM1KLyzI/Sq9xsWwgp65gX4kxd99gi/KsXNBrci7I1x68ea BPLh3WspGYpO5+av+zncO4HYfQXZOav/zgdgD2WJkO/IeT40w2qTybuRqOsJ0cA5J4cgVBsEgGK NSNftWcMV9ySYYOu+/KJyxzIe5LTiHu53DUZ8BUSMN0Oq6dxXKfwjslFqLvByhDSOeMGuUcaJ6J 0GjrWRm6or/I8ijutJKueaJpk9ah84Mf5RSwjoPtYMvoayMaue/QcaY0aXs2Qh0KXtSNbR15qhW oaEhJ7dci3NpwbZLNtih7+L8/eDymQvt/1CmZs8F9G5i6ShiMw== X-Google-Smtp-Source: AGHT+IFAP+IqlwhPy8DZ+dAM0LhBR1slICjFWQ/zj7i9gTLSRz60gtw350tGTs2B6f+pyIPDkXit/g== X-Received: by 2002:a05:620a:1a94:b0:7b6:7a87:744a with SMTP id af79cd13be357-7b6bcac1c53mr111686485a.5.1733432693186; Thu, 05 Dec 2024 13:04:53 -0800 (PST) Received: from ip-10-114-89-186.evoforge.org (ec2-52-70-167-183.compute-1.amazonaws.com. [52.70.167.183]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b6b5a83c80sm96497885a.72.2024.12.05.13.04.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 13:04:52 -0800 (PST) From: Greg Hogan Date: Thu, 5 Dec 2024 21:04:32 +0000 Message-ID: <5fb143fe5d3b981106d71d9d029d026a732982c2.1733430615.git.code@greghogan.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -4.24 X-Spam-Score: -4.24 X-Migadu-Queue-Id: 848688F0B7 X-TUID: S9lS9XWQo8ME * gnu/packages/version-control.scm (git-sizer) [arguments]<#:phases>: Use gexps. Change-Id: Ic2c797c59b7f5f0d30b4b799eb293be4973f7e13 --- gnu/packages/version-control.scm | 39 ++++++++++++++++---------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 86e241ad27..37ee819688 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -4461,25 +4461,26 @@ (define-public git-sizer "1b4sl4djnfaxwph41y4bh9yal4bpd1nz4403ryp7nzna7h2x0zis")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/github/git-sizer" - #:install-source? #f - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-paths - (lambda* (#:key outputs #:allow-other-keys) - (substitute* '("src/github.com/github/git-sizer/git_sizer_test.go") - (("bin/git-sizer") - (string-append (assoc-ref outputs "out") - "/bin/git-sizer"))))) - (replace 'check - (lambda* (#:key tests? import-path #:allow-other-keys) - (when tests? - (for-each (lambda (test) - (invoke "go" "test" "-v" "-run" test import-path)) - ;; TestExec and TestSubmodule require a copy of the - ;; Git repository. - '("TestBomb" "TestFromSubdir" "TestRefgroups" - "TestRefSelections" "TestTaggedTags")))))))) + (list + #:import-path "github.com/github/git-sizer" + #:install-source? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda _ + (let ((git #$git)) + (substitute* '("src/github.com/github/git-sizer/git_sizer_test.go") + (("bin/git-sizer") + (string-append #$output "/bin/git-sizer")))))) + (replace 'check + (lambda* (#:key tests? import-path #:allow-other-keys) + (when tests? + (for-each (lambda (test) + (invoke "go" "test" "-v" "-run" test import-path)) + ;; TestExec and TestSubmodule require a copy of the + ;; Git repository. + '("TestBomb" "TestFromSubdir" "TestRefgroups" + "TestRefSelections" "TestTaggedTags")))))))) (propagated-inputs (list git go-github-com-cli-safeexec -- 2.47.1