aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/hurd.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-01-17 09:47:02 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:24 +0200
commit69663cdfa4081d4c3b9a844f5d4f8435e5d83dfb (patch)
tree53568f25650cad64dc4f3cdbe44490b59f60b9bf /gnu/packages/hurd.scm
parent3ed5c6d94381eec033701a2ad44a6236380df4e6 (diff)
downloadguix-69663cdfa4081d4c3b9a844f5d4f8435e5d83dfb.tar.gz
guix-69663cdfa4081d4c3b9a844f5d4f8435e5d83dfb.zip
gnu: hurd: Prettify origin file names.
* gnu/packages/hurd.scm (hurd-headers): Drop “v” from ‘version’ string. (dde-sources): Strip COMMIT in ‘file-name’ field. (rumpkernel)[source]: Pass VERSION rather than COMMIT to ‘git-file-name’. Change-Id: I403048d5ba79ef410383c567157aca416843a529
Diffstat (limited to 'gnu/packages/hurd.scm')
-rw-r--r--gnu/packages/hurd.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 7a271a68b0..e7c3141c75 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -134,7 +134,7 @@ communication.")
(commit "v0.9.git20230520"))
(package
(name "hurd-headers")
- (version commit)
+ (version (string-drop commit 1))
(source (origin
(method git-fetch)
(uri (git-reference
@@ -310,7 +310,7 @@ Hurd-minimal package which are needed for both glibc and GCC.")
(sha256
(base32
"0ygk7jm4jmhpvh0zzi5bk638242z7sbcab2i57fkb4y2mmdkjjbw"))
- (file-name (git-file-name "dde" commit)))))
+ (file-name (git-file-name "dde" (string-take commit 7))))))
(define %import-from-dde
(list "libmachdevdde" "libddekit" "libdde_linux26"))
@@ -656,7 +656,7 @@ in userland processes thanks to the DDE layer.")
(sha256
(base32
"0fv0k52qqcg3nq9012hibgsamvsd7mnvn2ikdasmzjhsp8qh5q3r"))
- (file-name (git-file-name name commit))))
+ (file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
(list