From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oHZ+OM+o1GEiWQEAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 21:06:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OOciMc+o1GFDiAAAG6o9tA (envelope-from ) for ; Tue, 04 Jan 2022 21:06:39 +0100 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 39AE241E90 for ; Tue, 4 Jan 2022 21:06:39 +0100 (CET) Received: from localhost ([::1]:53302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4q4r-0005CN-9U for larch@yhetil.org; Tue, 04 Jan 2022 15:06:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4q4g-0005CF-O6 for help-guix@gnu.org; Tue, 04 Jan 2022 15:06:26 -0500 Received: from tobias.gr ([80.241.217.52]:38568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4q4e-0002v2-OT for help-guix@gnu.org; Tue, 04 Jan 2022 15:06:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=d7qPz0fHc5ujT mALxsVlT0PRpBTgQId9SdtCfddL4rY=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=emelR/cWbjU8dqVUeme8pDUKf2mtVpRzYzba0B LmySVohWazWiBXmv7fltoqoGqi3npUFv1gUFjQlWQ93eO54Oy3wyUVoZnNT6qh3gknbHcG ma8Yro0f0Xob+emsG0BPAlysOEIFtOWNgsk+wRPEN1vrnpfKHoS++ZfWfr/1Lx6sk5fvSC WpoWn7pyk/vBzEGlGN6J7nLQborEGwZu/xIwllV4hRU9ACD59smAcxO7m0sXx5bsllFIuu XE2t9F0EWLH04yaoTU37ehLmKMrJs9pBjtC50f680I8Hqj5d9b1JNB8Axd6ldAmED6H4Di H+9c8H0kYpsodznDycy8JlzA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id c48e501c (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 4 Jan 2022 20:06:18 +0000 (UTC) References: <87k0ff1foz.fsf@ngyro.com> From: Tobias Geerinckx-Rice To: Mortimer Cladwell Cc: Timothy Sample , help-guix@gnu.org Subject: Re: How to use guix hash --serializer? Date: Tue, 04 Jan 2022 20:57:02 +0100 In-reply-to: BIMI-Selector: v=BIMI1; s=default; Message-ID: <87fsq3uuyc.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=80.241.217.52; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641326799; 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=d7qPz0fHc5ujTmALxsVlT0PRpBTgQId9SdtCfddL4rY=; b=VG7vjWIrViS1zWoirTLrMX0m6uYN+7JWs06klRYDriY8gNTvaZb6oyjF0Ffg9lPZfd10Be D0e9IFFZ2eDy3r4PsVAIYL3QK85kMPreDMGIYCbvcGpdx/O+Rp5zmomcXsbbr0Jt8W2ZfK zgAkh7svdA5+4ZrtPVevaYpc/8z8/c9064MC1UTpg+RBVGfG7ForZX69gwtRVYWJNNxj95 7+Lx4ZdHBSu5UpxTgAccH6diRFMu4Crd1Ndhq3OKm4XFnQGsocL/1Yh85YNl2rrAMdcEPb JfPoRTteMtT6vDm5IceBpnKgP8yErI5Bm02qV7inmfmfjvDxmWdgs0OHhTNicA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641326799; a=rsa-sha256; cv=none; b=f7L2pleeturTdZgbYiirhGV2M9UxWk8T5+k6oyz2gr0soSncnhLhSC4C1i6ezR105xFD4V nQZfOwbccwP6E7es41Z4bNLShv7145HnyMQI31zgyBlpmdAhiNijBDvCvUMiYDMhb1y0rX Zua+OG1tSWqjW+w3kVxpUQnOfCpu39HnFdl2lDT9wB5GsPEBr1ESHqfbUYDuxqI5hzbpsb /kcmkCMT1im1AqZb9zZEeUKNM9FeL0oHpGPZnkoQKJWeSBioehxb60dKrpTsIvWqn3qh0d jNdA6yLGRD3KLs7caRZsYC+BR3JXfW7IWgeDyW0ebNYdDA7SNkgGJVbt8iOXfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b="emelR/cW"; 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: -8.39 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b="emelR/cW"; 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: 39AE241E90 X-Spam-Score: -8.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: nRxawiU5XRpK --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Mortimer, This is no bug: > expected hash:=20 > 1ykbpz6pqx0bkvfp3c60qfb9r0xvpmrs0ldlxm2qw0zd8f67lmaj > actual hash:=20 > 10nfjllq28jrzxd4dfqm6xzx8f2g1m6p2vivzihxc7d3ac1imnk2 It really means you're not hashing what you think you're hashing=20 and it won't matter which arguments you give =E2=80=98guix hash=E2=80=99: g= arbage=20 in, garbage out :-) You probably have untracked files laying around. Reset your local=20 checkout, or start again: /tmp =CE=BB git clone git://github.com/mbcladwell/shinyln.git Cloning into 'shinyln'... remote: Enumerating objects: 74, done. remote: Counting objects: 100% (74/74), done. remote: Compressing objects: 100% (48/48), done. remote: Total 74 (delta 34), reused 59 (delta 19), pack-reused 0 Receiving objects: 100% (74/74), 34.75 KiB | 444.00 KiB/s, done. Resolving deltas: 100% (34/34), done. /tmp =CE=BB cd shinyln /tmp/shinyln master =CE=BB git reset --hard=20 9f06568ffa61953ab48c93e1623d88b4e672af42 HEAD is now at 9f06568 removed chmod statement /tmp/shinyln master =CE=BB guix hash -S nar -x . 10nfjllq28jrzxd4dfqm6xzx8f2g1m6p2vivzihxc7d3ac1imnk2 The =E2=80=98-S git=E2=80=99 bug you found does not affect this. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYdSozA0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW154dYA/0bCugz1zBC0Kuj+a3uxHatFliS03S1G/AhagQuU 38BHAP49XM7pG22i7WheyQK31FjyNLYefam6Tl4tFUwfpBTlAg== =4lOf -----END PGP SIGNATURE----- --=-=-=--