help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use guix hash --serializer?


From: Tobias Geerinckx-Rice
Subject: Re: How to use guix hash --serializer?
Date: Tue, 04 Jan 2022 20:57:02 +0100

Hi Mortimer,

This is no bug:
expected hash: 1ykbpz6pqx0bkvfp3c60qfb9r0xvpmrs0ldlxm2qw0zd8f67lmaj actual hash: 10nfjllq28jrzxd4dfqm6xzx8f2g1m6p2vivzihxc7d3ac1imnk2

It really means you're not hashing what you think you're hashing and it won't matter which arguments you give ‘guix hash’: garbage in, garbage out :-)

You probably have untracked files laying around. Reset your local checkout, or start again:

/tmp λ 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 λ cd shinyln

/tmp/shinyln master λ git reset --hard 9f06568ffa61953ab48c93e1623d88b4e672af42
HEAD is now at 9f06568 removed chmod statement

/tmp/shinyln master λ guix hash -S nar -x .
10nfjllq28jrzxd4dfqm6xzx8f2g1m6p2vivzihxc7d3ac1imnk2

The ‘-S git’ bug you found does not affect this.

Kind regards,

T G-R

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]