diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2023-05-22 11:04:17 +0200 |
---|---|---|
committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-07-19 07:33:55 +0200 |
commit | 72dbad505abcf360e2fedb747aad2ad7f4a0c326 (patch) | |
tree | 84758beaa08f26508fca8bc47546714fd9e4292b /gnu/packages/commencement.scm | |
parent | c1840e9442f7e69fa864553346e3af1c4c4f5ada (diff) | |
download | guix-72dbad505abcf360e2fedb747aad2ad7f4a0c326.tar guix-72dbad505abcf360e2fedb747aad2ad7f4a0c326.tar.gz |
gnu: mig: Use git-fetch.
Now that we have `git-fetch-from-tarball' to break the cycle in commencement
for git-fetch sources, we can finally update mig to use git-fetch to allow
`--with-commit' builds.
* gnu/packages/hurd.scm (mig)[source]: Use git-fetch again.
* gnu/packages/commencement.scm (mig-boot0)[source]: Use
git-fetch-from-tarball accordingly.
Diffstat (limited to 'gnu/packages/commencement.scm')
-rw-r--r-- | gnu/packages/commencement.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index f2d3b96c1a..687153f0fc 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2700,7 +2700,19 @@ memoized as a function of '%current-system'." (inherit mig) (name "mig-boot0") (version "1.8+git20230520") - (source (origin (inherit (package-source mig)))) + (source + (origin + (inherit (package-source mig)) + (method + (git-fetch-from-tarball + (origin + (method url-fetch) + (uri (string-append + "https://git.savannah.gnu.org/cgit/hurd/mig.git/snapshot/" + "mig-" version ".tar.gz")) + (sha256 + (base32 + "1l1vfm4wap5yxylv91wssgpy7fnq22wp3akgd5nv995kychfa9jy"))))))) (native-inputs (list autoconf-boot0 automake-boot0 bison-boot0 flex-boot0 gnumach-headers-boot0)) (inputs (list flex-boot0 gnumach-headers-boot0)) |