gnu: u-boot: Use downstream-package-name.

* gnu/packages/bootloaders.scm (u-boot): Use downstream-package-name.

Change-Id: I7226519a676ba201be3a95078112b6514a201731
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Herman Rimm 2024-12-20 18:35:05 +01:00 committed by Ludovic Courtès
parent 558c1f39a1
commit a775968063
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1041,9 +1041,7 @@ (define*-public (make-u-boot-package board triplet
(gnu-triplet->nix-system triplet)))))) (gnu-triplet->nix-system triplet))))))
(package (package
(inherit u-boot) (inherit u-boot)
(name (string-append "u-boot-" (name (string-append (downstream-package-name "u-boot-" board)
(string-replace-substring (string-downcase board)
"_" "-")
(or name-suffix ""))) (or name-suffix "")))
(description (if append-description (description (if append-description
(string-append (package-description u-boot) (string-append (package-description u-boot)