From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4N8yEqeLHmP4DAEAbAwnHQ (envelope-from ) for ; Mon, 12 Sep 2022 03:30:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kNNSEqeLHmOEGwEA9RJhRA (envelope-from ) for ; Mon, 12 Sep 2022 03:30:15 +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 1E5C023D8E for ; Mon, 12 Sep 2022 03:30:15 +0200 (CEST) Received: from localhost ([::1]:50328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXYH7-0003ZQ-3V for larch@yhetil.org; Sun, 11 Sep 2022 21:30:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXYGv-0003Yn-OX for guix-devel@gnu.org; Sun, 11 Sep 2022 21:30:01 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:56338) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXYGt-0003Hr-DD for guix-devel@gnu.org; Sun, 11 Sep 2022 21:30:00 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 28C1TlvS030526; Sun, 11 Sep 2022 21:29:52 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 28C1TlvS030526 To: Ryan Prior , Guix Devel Subject: Re: Request: build package with source tarball In-Reply-To: References: Date: Sun, 11 Sep 2022 21:29:47 -0400 Message-ID: <8735cxnzw4.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Mon, 12 Sep 2022 01:29:47 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" Reply-to: Olivier Dion From: Olivier Dion via "Development of GNU Guix and the GNU System distribution." 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=1662946215; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=OH+3tQNoZ95SxgAnULLV26w+DjbEKDYjnVzLt0iIg1M=; b=k1nIjmFrRQo2T4mZ71h9qqGmdbHrMCFvv/Q8pmgSsAJpkY+aerYzv3D5Kyumk9nnlrX8Le syaOLRue0yy8oAbCzwTgFm55atV3nSQIpqjImaAicNV0IcPtJe4TERKn//G8ZkfN9CpNXX iJlR6c8tlbTV9Y1jOH2ikgKbGXidwYmX4ndCjy7EQ7eEKXzw/0+8GFeBWlhqntc6NqWPiV SLjoeG26P+pU9JwIjlzUBXmvRlHLcXw5LROp4fPY/CGMklHhvgMO7nq7g+wZYAxxvcVwHF iZslJ9Zi3gPiMDbeDQEKRTLMPwcFOiQcf004B2MIvnjQo3epLNMlVLezsYktzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662946215; a=rsa-sha256; cv=none; b=aXE4sqKQjfXbJeQXLcCnsWMcK9hwX6+LJUZZsZOCVmPF2kZy/PgaCNJPsaYupfagGMVFMZ KE+wMp88Wx8kURXglxQEueUOL/HXfk8upOES3W5xXXktvSnPibAk4HBcp22emRs9xYLjre IL/GL7xbNuPrB/8cen8XoAbWAssr3YzTZHuhoOjV0Gpn4IQ/aaSXGo/05TVtv4rGKJ8+qm NPcw3BkPKKpddqBnb+t9hmvQGQwoU7fyIpoV4IDAwAZ+HpGQdYSPqTKV+WUIUxBAgUpqcU IG7HQnw8puXPCinGq0kikX4W142LX0/n6bKnjtQcowHjxOduyzSllzzg47s/qA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.80 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1E5C023D8E X-Spam-Score: -2.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: GC9Q37UtFrZT On Mon, 12 Sep 2022, Ryan Prior wrote: > Hi there! Lately I've been testing distribution tarballs with a workflow = like this: > > - update some software in my source directory > - create a distribution tarball > - untar to a directory like /tmp/mypkg-src > - run: guix build --with-source=3Dmypkg=3D/tmp/mypkg-src=E2=80=8B > > It would be nice to skip step 3 there and just run: guix build --with-sou= rce=3Dmypkg.tar.gz=E2=80=8B > Guix should then untar and use the result as the source directory for > the build. It already can. I use this in my Makefiles: --8<---------------cut here---------------start------------->8--- libpatch.tar.gz: @git archive --format=3Dtar.gz --prefix=3Dlibpatch/ \ --output $@ HEAD guix-build: libpatch.tar.gz @guix build --keep-failed --rounds=3D2 \ --with-source=3Dlibpatch=3D$^ libpatch --8<---------------cut here---------------end--------------->8--- --=20 Olivier Dion oldiob.dev