summaryrefslogtreecommitdiff
path: root/gnu/packages/bootloaders.scm
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-12-20 18:35:05 +0100
committerLudovic Courtès <ludo@gnu.org>2024-12-30 13:49:57 +0100
commita775968063787d9ca3368a1f24ebdbde4463cfd3 (patch)
tree50d2319a79b1a7bc3f5d738130cbb1759ae0968b /gnu/packages/bootloaders.scm
parent558c1f39a1db8aa7473d7a6ef8c589b939d1bf49 (diff)
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>
Diffstat (limited to 'gnu/packages/bootloaders.scm')
-rw-r--r--gnu/packages/bootloaders.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 3122a185dd6..b5cfacca4bc 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -1041,9 +1041,7 @@ U-Boot must be used."
(gnu-triplet->nix-system triplet))))))
(package
(inherit u-boot)
- (name (string-append "u-boot-"
- (string-replace-substring (string-downcase board)
- "_" "-")
+ (name (string-append (downstream-package-name "u-boot-" board)
(or name-suffix "")))
(description (if append-description
(string-append (package-description u-boot)