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 +NN/NgtniWJVjAAAbAwnHQ (envelope-from ) for ; Sun, 22 May 2022 00:26:19 +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 UPV+NgtniWIjZwAA9RJhRA (envelope-from ) for ; Sun, 22 May 2022 00:26:19 +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 4FC2BBACA for ; Sun, 22 May 2022 00:26:19 +0200 (CEST) Received: from localhost ([::1]:57332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsXYA-0008Jk-50 for larch@yhetil.org; Sat, 21 May 2022 18:26:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsXXh-0008J2-1s for help-guix@gnu.org; Sat, 21 May 2022 18:25:49 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:54574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsXXe-0005NR-Vw for help-guix@gnu.org; Sat, 21 May 2022 18:25:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=O35Ubttyeieik ldV4IdRdcIegFgf+mCtF9qOD9NwQU0=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=pBiJYFM2HFKfH1B+EUKRj6U9xBKfIW2Li9FYTF E3jX4RZmsE034jJm3WQJqG5FsXt/mxbPI0BbZj2REGjc6F6YKDBahsMvAGskSFosIOqiF8 PixKLo+5uhM6TSVaKDgjhV6z9hitpJLQc+wkx7Y0p0tW/uly5j3/TFhxzWNBD9n4SM/D8I CFNNuxkBfjiAuUTLy+lEr9HU3I/qWU9kn3y5xLCdjUdqDg8m6z9UVoDivFmZ9b0168zMuP TPUIAfDMQN77axiUQPrY2LW0tk+ojVb5N13Q7e1r9J5MonFqTZNXMvbImq/mIG/0vvHse5 H2ZfBucMGAzwpMk1OmIjAOCw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 5433cacc (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 21 May 2022 22:25:43 +0000 (UTC) References: <3eceaea9454f82f2d8c28af880f82ecb@sumou.com> <20220521222910.07a43915@riseup.net> From: Tobias Geerinckx-Rice To: =?utf-8?B?55m944GE54aK?= Cc: raingloom , help-guix@gnu.org Subject: Re: Package definition - argument, fix for wrong file format before unpack Date: Sun, 22 May 2022 00:15:42 +0200 In-reply-to: BIMI-Selector: v=BIMI1; s=default; Message-ID: <87bkvq34kn@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1653171979; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=O35UbttyeieikldV4IdRdcIegFgf+mCtF9qOD9NwQU0=; b=qtrnzqWb9RQmB94L+spNykweQaRqRQWv4r/AbOdFvi1v1RuYA8PyBAX41kPktqhdC9Ly8t TBjD05IvYjZUMJx9t/XtoGUTvrKQ5MrT0iJtj1mzMcwv6DybrlYhBof+woQq81URPoDmaA 1N+Oh5wpX4krt0fmLsqeL2AeY5CV0h4LffhfGeVBZCC4Mitb9CYHDHZZIvyQ74WOJhY+l1 HTkIA2Vkd+5Lr+p/N4zitg3blOD3KrtvVRj3E8Vye48kTufpsxTQ2g/mlir3z7snixivhs x9knOZg5o3Z5VC7KO7Qcojhbahevm0litru5kQWObR6qAH6B5Ha4qQ5qy7OJSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653171979; a=rsa-sha256; cv=none; b=XZNqiQGswq594kWODsVHEU3IYzuN6qgP/zszp9KXAUeZ1v8EjgUAZZhVeeiwL5hKZD0eYt 69EQdcnEMCmrmvpGMwuqASybvZ2SFWss3mgcx+JN5hAYkuqrdiWVUzrG0W7gdCb4IA1z1g G/lb2ppk1cG+id7IigIvF0g12AgTD9kmATR4xs9ArKvdhCxS1m59twIGgDnThd27Lwn0hb 7V134mLRIZ6xhr7RI2WljLbqefyN4g0Uehg/BEixt4Q3g/IH91w6z8tLHJ5NT1dMdxfbP3 u2X2/dVkAJ7lKHhQu5cPLJKG7AQ3Pe13L0/+baDVHpW8zw2Z6mm50r5CMCISCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=pBiJYFM2; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=pBiJYFM2; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4FC2BBACA X-Spam-Score: -5.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: gPDOfFAzQg4Q --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable =E7=99=BD=E3=81=84=E7=86=8A, =E7=99=BD=E3=81=84=E7=86=8A =E5=86=99=E9=81=93=EF=BC=9A > However seeing it how should I change the unpack now - to=20 > extract only > via tar, however from the tar.gz file which isn't a gz really? Guix does invoke only =E2=80=98tar=E2=80=99, but it's tar that chokes on th= e=20 misleading file extension and throws the error you see. The easiest way to convince tar of its errant ways is to set the=20 correct extension in the store: (source (origin (method url-fetch) (uri "https://=E2=80=A6/mell-1.0.0.tar.gz") ;; Despite the above extension, this is actually an=20 uncompressed tar file.=20 (file-name (string-append name "-" version "tar")) (sha256 =E2=80=A6))) Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYolnGQ0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15R5oA/3i2zaucGrt7+tatdveZnovNXl/GShYE+PF2NVw0 CdhIAP9vcVB/4rID6amSWnfmId8TA0sXmEyohD2YCKiVT7NfAw== =0jsd -----END PGP SIGNATURE----- --=-=-=--