From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AK9hJr621GHDLwAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 22:06:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EE34Ir621GH8sgAAauVa8A (envelope-from ) for ; Tue, 04 Jan 2022 22:06:06 +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 F0E4339FCD for ; Tue, 4 Jan 2022 22:06:05 +0100 (CET) Received: from localhost ([::1]:36198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4r0N-0001Kd-QS for larch@yhetil.org; Tue, 04 Jan 2022 16:06:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4qzR-0001Hr-EF for help-guix@gnu.org; Tue, 04 Jan 2022 16:05:05 -0500 Received: from [2a02:c205:2020:6054::1] (port=38358 helo=tobias.gr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4qzP-0001W1-4d for help-guix@gnu.org; Tue, 04 Jan 2022 16:05:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=NZgQRw6JUTVmD 1ksgh2O9ywCOeOHzkRiuXN6sv22cU0=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=DxPTQIHvpgbvuhYX/Ii9zVWCQ4A6WjIhuUg0Hg 3ObTxZusdHBwEp4AdRG1hjO5QhnRd9sMKsJxP+tlu6iMtE48CDiQqztGVNnmEVd79/I8Pl kwnyI7A8Vr/fvtBdTWE5knQRINZS6f9+VBvwb50wDf7wotSl4bBI2MfRhQEqU1xZJrL6Bd uQ3v+oBDx1CrCjFjwHs2363lcLo9N6+lfLLs56GUunBefqrQHDUhy7rgcLfMMvx7WW36gL bq5uKnK05IBTdOLxZq0qFAsgiRPfa6PWa0vmSBnTs9pDi6179yb2HeGyzOz+qFwvCrPW6Z 3Nq2Co+wfv4gcgstijEZNYjA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 1bce0384 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 4 Jan 2022 21:04:56 +0000 (UTC) References: <87k0ff1foz.fsf@ngyro.com> <86mtkbcl31.fsf@gmail.com> From: Tobias Geerinckx-Rice To: Mortimer Cladwell Cc: zimoun , help-guix@gnu.org Subject: Re: How to use guix hash --serializer? Date: Tue, 04 Jan 2022 21:57:30 +0100 In-reply-to: BIMI-Selector: v=BIMI1; s=default; Message-ID: <87bl0rus8o.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:c205:2020:6054::1 (failed) Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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=1641330366; 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=NZgQRw6JUTVmD1ksgh2O9ywCOeOHzkRiuXN6sv22cU0=; b=guZ0j6D7s4qZTx0H+8nwD4rCvqJKOjfMrs0XHqshDI2MWJcVxmJNX8t+zLPqDqoVWpL0db kuMciYMrSLXSov8la3mxNYAJ3xpYSB76kKqdvmXgRItS4srwz2TloYWUFMYWpwBVZqwxci n0qWxILICtv+SVnMPeXUYrQAXuLpo/scJ8mSXGdvDV9UNUKDmdwnX+6+GUsi7aX/SmH+S6 U0FDlVBJbSynSyZ64+CsNhNSVLg3tQdjcKifxnPIDCgUAnMmuBXbJq4B1PZTK+tS3FMFLu RNKXs0tbaT4UMG18CxqbZ3hu0446uVJ+FRTqY0fxdMoDnfrUhBMKUhD8w73N3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641330366; a=rsa-sha256; cv=none; b=H/ISf2LLR4o4+UL3JhPeQtr5HTPRpznbFcIZfbDC2DriWvQfTRXJLBIjfT6K16/wh1N7vY iAXU3GvT8pzcOBLZpRc1aO8Iryluux/a6j4wnllE7zkDMK0CSv1Zi9/fZ2WNLCnqSUbKgd FC5bVa4HeFgdWxNAEIB841K3jf7t2gbsKPctdfDRVBttCR0ceDc3+YmPoCSy3xnOEoqN2z DeacXwQU5jh67afSWtXhlywUtayKvNy7BdKeOtFBLdepge3pG6fBbnbdFoapR9CbD5V8wz BPz1AYj2tJ0/4EsKY2QIQF2SfvbvwTBv1w/Fxng24gXmabCkNynkAwWKIb7PDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=DxPTQIHv; 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=DxPTQIHv; 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: F0E4339FCD X-Spam-Score: -8.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: P5gdQLBFnVE2 --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Martimer, Mortimer Cladwell =E5=86=99=E9=81=93=EF=BC=9A > looks like the difference, other than make/git related files are=20 > four empty > directories doc, scripts, shinyln and tests, so appears empty=20 > directories > are not allowed? They are allowed but they change the hash, just as any other=20 difference would. Missing or extraneous directories are no less meaningful than=20 files or permissions, etc., and can easily cause the build to fail=20 (=E2=80=98cd: blah: No such file or directory=E2=80=99, =E2=80=98mkdir: can= not create foo:=20 File exists=E2=80=99) or otherwise behave very differently. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYdS2iA0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15e/UA/15CJNUhWDr1mQY4MWRSiZfNltjtggfEp7YK0SPg egwAAP0dHAQsSV6NK5WXiMT4q9/VykUT+enW/hEs0I9oj1oMAg== =+QHV -----END PGP SIGNATURE----- --=-=-=--