aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-09-03 13:35:47 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-09-03 14:10:10 +0200
commit7596ae1034a6878ecbe9e65a642a1434a78b1cf0 (patch)
tree63cfb7d4ada590e6c70c2402fd8c9694627bca63 /gnu
parente9c7bf42e750df025421b972b1a054197903217b (diff)
downloadguix-7596ae1034a6878ecbe9e65a642a1434a78b1cf0.tar.gz
guix-7596ae1034a6878ecbe9e65a642a1434a78b1cf0.zip
gnu: ci: Truncate git commit in ISO label.
* gnu/ci.scm (image-jobs): Keep only 7 characters from git commit in ISO label.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/ci.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/ci.scm b/gnu/ci.scm
index 7181daeb62..630c4a9030 100644
--- a/gnu/ci.scm
+++ b/gnu/ci.scm
@@ -237,7 +237,10 @@ system.")
(image
(inherit (image-with-label
iso9660-image
- (string-append "GUIX_" system "_" %guix-version)))
+ (string-append "GUIX_" system "_"
+ (if (> (string-length %guix-version) 7)
+ (substring %guix-version 0 7)
+ %guix-version))))
(operating-system installation-os))))
;; Only cross-compile Guix System images from x86_64-linux for now.
,@(if (string=? system "x86_64-linux")