me
/
guix
Archived
1
0
Fork 0

gnu: ci: Truncate git commit in ISO label.

* gnu/ci.scm (image-jobs): Keep only 7 characters from git commit in ISO
label.
master
Julien Lepiller 2020-09-03 13:35:47 +02:00
parent e9c7bf42e7
commit 7596ae1034
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82
1 changed files with 4 additions and 1 deletions

View File

@ -237,7 +237,10 @@ system.")
(image (image
(inherit (image-with-label (inherit (image-with-label
iso9660-image 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)))) (operating-system installation-os))))
;; Only cross-compile Guix System images from x86_64-linux for now. ;; Only cross-compile Guix System images from x86_64-linux for now.
,@(if (string=? system "x86_64-linux") ,@(if (string=? system "x86_64-linux")