It worked!
Thanks!

phf

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, May 17, 2020 2:14 PM, Reza Alizadeh Majd <[email protected]> wrote:

> On Sun, 17 May 2020 12:00:38 +0000
> "Pierre-Henry F." [email protected] wrote:
>
> > Hello,
> > I'm trying my hand on defining a package.
> > I have a source defined as in:
> > (origin
> > (method git-fetch)
> > (uri "some/git/dir")
> > (commit "acommit")
> > (file-name "a_filename")
> > (sha256 (base32 "XXX")))
> > when origin resolves to an archive, guix download $url gives the
> > value of "XXX" but when using git-fetch... how to get the value of
> > "XXX" ?
> > Thanks,
> > phf
>
> Hi,
>
> you can calculate directory hash recusrsively using guix with this
> command:
>
> `guix hash -rx /path/to/directory`
>
>
> ------------------------------------------------------------------------------------------------------------------------
>
> Reza Alizadeh Majd
> PantherX Team



Reply via email to