[Top][All Lists]

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

Re: How to use guix hash --serializer?

From: Mortimer Cladwell
Subject: Re: How to use guix hash --serializer?
Date: Tue, 4 Jan 2022 15:44:38 -0500

Thanks Tobias you are correct.

My project is ~/projects/shinyln

I repeat your suggestion of cloning a second copy into ~temp/shinyln, cd,
git reset etc.

I then compare the contents of the two 'clone' directories, see below

looks like the difference, other than make/git related files are four empty
directories doc, scripts, shinyln and tests, so appears empty directories
are not allowed?

Hi Simon,

mbc@HP8300:~/projects/shinyln$  git --no-pager log -1 --oneline
  git status
9f06568 (HEAD -> master, origin/master) removed chmod statement
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean


output of
find /home/mbc/projects/shinyln -type d -printf "%P\n" | sort > file1
find /home/mbc/temp/shinyln -type d -printf "%P\n" | sort | diff - file1

mbc@HP8300:~/temp$ cat file1


On Tue, Jan 4, 2022 at 3:21 PM zimoun <> wrote:

> Hi Mortimer,
> On Tue, 04 Jan 2022 at 14:48, Mortimer Cladwell <>
> wrote:
> > mbc@HP8300:~/projects$ cd shinyln/
> > mbc@HP8300:~/projects/shinyln$ guix hash -S nar -x .
> > 1ykbpz6pqx0bkvfp3c60qfb9r0xvpmrs0ldlxm2qw0zd8f67lmaj
> Could you report:
>   git --no-pager log -1 --oneline
>   git status
> ?
> > FYI from
> > at the bottom explaining --exclude-vcs:
> >
> > $ git clone
> > $ cd foo
> > $ guix hash -rx .
> >
> > Suggests (to me) that you go inside the directory to calculate hash,
> > though as above seems not to matter.
> Yes, indeed.  I tried outside without fulling checking. :-)
> Cheers,
> simon

reply via email to

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