[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43426: [PATCH 1/1] gnu: gdsl: Replace 'url-fetch' by 'git-fetch'.
From: |
Ludovic Courtès |
Subject: |
bug#43426: [PATCH 1/1] gnu: gdsl: Replace 'url-fetch' by 'git-fetch'. |
Date: |
Mon, 21 Sep 2020 23:12:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi!
zimoun <zimon.toutoune@gmail.com> skribis:
> Fixes <https://debbugs.gnu.org/25913>.
>
> * gnu/packages/datastructures.scm (gdsl)[source]: Replace 'url-fetch' by
> 'git-fetch'.
> [home-page]: Update.
Applied with the change below, to avoid the empty URI.
I’ve checked that the content hashes match:
--8<---------------cut here---------------start------------->8---
$ (cd /tmp; tar xf $(guix build -S gdsl); guix hash -r /tmp/gdsl-1.8)
0a52g12d9sf9hhcyvwfd7xdazj2a9i9jh97cnlqf2ymvwnvjk1g0
$ guix hash -r $(./pre-inst-env guix build -S gdsl)
0a52g12d9sf9hhcyvwfd7xdazj2a9i9jh97cnlqf2ymvwnvjk1g0
--8<---------------cut here---------------end--------------->8---
Thanks,
Ludo’.
diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm
index ac091500fc..cd4126b22d 100644
--- a/gnu/packages/datastructures.scm
+++ b/gnu/packages/datastructures.scm
@@ -39,8 +39,9 @@
(source (origin
(method git-fetch)
(uri (git-reference
- (url "") ; only hosted on Software Heritage
+ (url "https://example.org") ;only hosted on Software
Heritage
(commit "6adb53be8b8f9f2e4bbfc92d357eedeefb4c7430")))
+ (file-name (git-file-name name version))
(sha256
(base32
"0a52g12d9sf9hhcyvwfd7xdazj2a9i9jh97cnlqf2ymvwnvjk1g0"))))