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 ms0.migadu.com with LMTPS id UH6bMUl41GF9RQAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 17:39:37 +0100 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 mM7xLkl41GGwIgEA9RJhRA (envelope-from ) for ; Tue, 04 Jan 2022 17:39:37 +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 6D1113C2FD for ; Tue, 4 Jan 2022 17:39:37 +0100 (CET) Received: from localhost ([::1]:52996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4mqV-000551-Jz for larch@yhetil.org; Tue, 04 Jan 2022 11:39:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4mqD-00054q-I7 for help-guix@gnu.org; Tue, 04 Jan 2022 11:39:19 -0500 Received: from [2607:f8b0:4864:20::332] (port=35353 helo=mail-ot1-x332.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4mq8-00069Y-I6 for help-guix@gnu.org; Tue, 04 Jan 2022 11:39:15 -0500 Received: by mail-ot1-x332.google.com with SMTP id g79-20020a9d12d5000000b0058f08f31338so47971039otg.2 for ; Tue, 04 Jan 2022 08:39:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=mpW5eHTxTgJz5XdOedKxZczzmIR6Y49qjenYx//qN2E=; b=IWnvwC0SgimZKe3mTvE67FrsSfPCSaEgd37Ix5Vorat9aX2ejRR7Lj7d5Gznb98V5t s6/+9SLEUCSfP9ImGxs+HeLg5uP84AQ4xzDhRErBBI88sWIXiza/8cPQrGZXQz7Y6v1r Awe7e0hpkhzalTOyEcKuGWSzvlIlCZ5LY9ndvMPsKtWP74/X9bbHWm3bzprRAJi6iyrf N5LqZR4SkQaY+T+XQ8hMck9JmI7NjaUpFIFNBK9xokSR5aH1mfGwo8YZrIby3+mWlsTH v8Pk8GOYVgYnq6AQVf6rZIsAEfL2RsPTKYDw6Rex2r4qy9n0vnLUXi1ANSiSRO+kGhR7 qtCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mpW5eHTxTgJz5XdOedKxZczzmIR6Y49qjenYx//qN2E=; b=fs9JALy55tnyrjgRj8Hb2WaygyWv/xpr0sWr2bfu1oNy8Pcehka9MQcpRrtF4CLn9J t/eeyVVlINDeWcwTc2Lx8NP/oVLLCcZVW6qiIPGqWM3uz5OIS7ScI1OqrQ62Zo10GnEe yHZzFtTitoj0ACU6H0p5STJV1tqw6ElookMl+p9voNHGhSpFKI/8dr8Voseto3lB/fxd MwLRVzmya62Mr1LpdQ09gKCd5JBkB4Qebk5lsdOyTi/gN7m3AzIxMuDLuKwWvUerNe4d QxyU3k4Sm3ZbI4kLrmjoMctAFYUZDF6HthmMj4dC7atvGWAWiq0ySTmJ6TPeFG+6qv3l wIQQ== X-Gm-Message-State: AOAM531T5tp2VMBcTFXDFWxkAUlxjonLqgXjhmx1SEohrM4cT1AUSTA2 +RMMZ/xVsyXK95ZWcbuuKbMR8Y116U39n5KukdxctKZyK1s= X-Google-Smtp-Source: ABdhPJz178ZVAJ0P5W7E5brt3Wu46T8Su1qtZxQOJU57zTkAHAjizI/0UU4KZzbS5qmxOnySFOCfpAVag460KbwSKRM= X-Received: by 2002:a4a:a98e:: with SMTP id w14mr32095855oom.16.1641313983329; Tue, 04 Jan 2022 08:33:03 -0800 (PST) MIME-Version: 1.0 From: Mortimer Cladwell Date: Tue, 4 Jan 2022 11:32:52 -0500 Message-ID: Subject: How to use guix hash --serializer? To: help-guix@gnu.org X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::332 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::332; envelope-from=mbcladwell@gmail.com; helo=mail-ot1-x332.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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=1641314377; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TYBch8NCZzZtAOdlKfn2dKgMXkmhSUx/4Y0+29esxXI=; b=md+lKT2CNAk5x1bB+shSRhmv5RZ0gdkA0azLA0ildX5aYMPuSfCDd9sVmhsvug7d0D+2w7 K/Y5f4IkzC0uGKrQp1eJG1ynAnfqmgCmjW0aYeKn2/00CeZBaVBnPBq7c1lEs0XxvXcdLZ /kDWzk7Rvq8mGB+e8Er6v8z0fRKyD9MJ+TV90X6P3cGco9IeRjn85eE7OHaXsatWToasqp hq6sm9MyHNqfctJ4he9hlWwVV5EvHP8/IvDBj01IOw56792eOwyBI5euy37KoGze7OOU7h 2ONDADfLwTQV8qScUwb5MWyy9XpYzp7JfkAfSPKpqHB4OKrA3+o1OIMy1BI4yA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641314377; a=rsa-sha256; cv=none; b=iMfwu2pNUSGrGJlc0SAr5QApn+QOBt2Fndqg7Ri75WB54GGb7qJ8VFBq1YGyaG86mUttj2 WrxX+oKIB2aQUZwC6WDLpGlV7B64zQqw1GZIFrWUJh7Rar5puZIFHmgQYOivTsnmx+77w/ XIYikdmZj0G7l1WIxQ9Nsich3HgFvVcIDuiL3c4hd9ugIIDu/LXHkUduiOgfp3zjpQUWlz L2FzBSV6jZ5AGhzxsBHBGh9N4TdM6qjs0TEHhpd6k/RKaANn9BoBedFIqj6yTtGrfqYTMA 3nWYuC3QOh8QnHMtoQPQRMfi+Jsh3w6H66Rly7J6GTfOAz5jU/SaC1zuEI1lBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=IWnvwC0S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=IWnvwC0S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 6D1113C2FD X-Spam-Score: -1.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: JsIx3g1aN1bd Hi, Using guix package --install-from-file=guix.scm I determined the commit hash from the error message. The git-reference that works is: (uri (git-reference (url "git://github.com/mbcladwell/shinyln.git") (commit "9f06568ffa61953ab48c93e1623d88b4e672af42"))) (sha256 (base32 "10nfjllq28jrzxd4dfqm6xzx8f2g1m6p2vivzihxc7d3ac1imnk2")) In the local directory from where I issued git commit -am "my message" I try the following: -------------------------------------------------------- $git log -n 1 commit 9f06568ffa61953ab48c93e1623d88b4e672af42 (HEAD -> master, origin/master) Author: mbcladwell Date: Tue Jan 4 09:08:09 2022 -0500 removed chmod statement $guix hash -rx . 1ykbpz6pqx0bkvfp3c60qfb9r0xvpmrs0ldlxm2qw0zd8f67lmaj $guix hash --serializer=git -x . 0lai57r0p11q041b3flriv56j6n8lizwb69yv7j396yiivkspv3x $guix hash --serializer=git . 0lai57r0p11q041b3flriv56j6n8lizwb69yv7j396yiivkspv3x ------------------------------------------------------------ Appears that the -x switch has no effect. -r and --serializer give different results. Neither result matches the (valid) error message hash. Where did I go wrong? Thanks Mortimer ----the .gitignore----------------------------------- *.eps *.go *.log *.pdf *.png *.tar.xz *.tar.gz *.tmp *~ .#* \#*\# ,* /ABOUT-NLS /INSTALL /aclocal.m4 /autom4te.cache /build-aux/ar-lib /build-aux/compile /build-aux/config.guess /build-aux/config.rpath /build-aux/config.sub /build-aux/depcomp /build-aux/install-sh /build-aux/mdate-sh /build-aux/missing /build-aux/test-driver /build-aux/texinfo.tex /config.status /configure /doc/*.1 /doc/.dirstamp /doc/contributing.*.texi /doc/*.aux /doc/*.cp /doc/*.cps /doc/*.fn /doc/*.fns /doc/*.html /doc/*.info /doc/*.info-[0-9] /doc/*.ky /doc/*.pg /doc/*.toc /doc/*.t2p /doc/*.tp /doc/*.vr /doc/*.vrs /doc/stamp-vti /doc/version.texi /doc/version-*.texi /m4/* /pre-inst-env /test-env /test-tmp /tests/*.trs GPATH GRTAGS GTAGS Makefile Makefile.in config.cache stamp-h[0-9] tmp /.version /doc/stamp-[0-9]