guix-devel
[Top][All Lists]
Advanced

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

Re: Why linux-libre source code is not in sources.json


From: Maxime Devos
Subject: Re: Why linux-libre source code is not in sources.json
Date: Thu, 09 Sep 2021 11:50:59 +0200
User-agent: Evolution 3.34.2

Hi,

> [...]
> 
> where ’make-linux-libre-source’ returns a ’computed-origin-method’.  And
> the ’origin-uri’ of ’linux-libre-5.14-pristine-source’ is a ’gexp’.
> Then inside this ’gexp’, you can read the ’%upstream-linux-source’ URL:
> 
> --8<---------------cut here---------------start------------->8---
> #<gexp-input native
>  #<origin
>   #"mirror://kernel.org/linux/kernel/v5.x/linux-5.13.14.tar.xz"
>   #<content-hash sha256:06lbjsbr86qa8yai5gfclbfxvcqsw33kxj9b4r93hh6z1wajmx82>
> --8<---------------cut here---------------end--------------->8---
> 
> and I do not know if it is possible to extract such thing.

To extract the <origin> from the <gexp-input>, use gexp-input-thing.
To extract the <gexp-input> from the <gexp>, use the unexported
gexp-references.

Greetings,
Maxime

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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