[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bootstrap a GNU source distribution from git
From: |
Ludovic Courtès |
Subject: |
Re: Bootstrap a GNU source distribution from git |
Date: |
Thu, 14 Nov 2024 12:02:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> skribis:
> If we replace with something like that:
>> (define-public git-minimal
>> (package
>> (name "git-minimal")
>> (version "2.46.0")
>> (source
>> (origin
>> (method git-fetch)
>> (uri
>> (git-reference
>> (url "https://git.kernel.org/pub/scm/git/git.git"))
>> (commit "<some hash>")))
>> (file-name (git-file-name name version))
>> (sha256
>> (base32
>> "15bzq9m6c033qiz5q5gw1nqw4m452vvqax30wbms6z4bl9i384kz"))))
>> [...]
>
> Then we have at least 2 issues.
>
> The first one is that we might end up with circular dependencies inside
> the Guix source code somehow that creates issues when building packages
> and/or guix, etc. But that might be fixable with some work.
There’s no circular dependency *if* the daemon is recent enough and
supports the ‘git-download’ derivation builder. See
<https://issues.guix.gnu.org/65866> for context.
HTH,
Ludo’.