aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-01-20 21:59:03 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2018-01-20 22:50:56 +0100
commitdf8a909660aeca43b38d96d5e57e84865793a5c4 (patch)
tree87aeb103cad6ba34cecf1bcdd869615d25254927 /gnu
parentfccdc8c839370558da8f05626b781bb678d86c94 (diff)
downloadguix-df8a909660aeca43b38d96d5e57e84865793a5c4.tar.gz
guix-df8a909660aeca43b38d96d5e57e84865793a5c4.zip
system: make-u-boot-package: Replace underscores by dashes in package name.
* gnu/packages/bootloaders.scm (make-u-boot-package): Replace underscores by dashes in package name.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bootloaders.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 7a5a1d88ee..e6fc9b602d 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -365,7 +365,9 @@ also initializes the boards (RAM etc).")
`#f)))
(package
(inherit u-boot)
- (name (string-append "u-boot-" (string-downcase board)))
+ (name (string-append "u-boot-"
+ (string-replace-substring (string-downcase board)
+ "_" "-")))
(native-inputs
`(,@(if (not same-arch?)
`(("cross-gcc" ,(cross-gcc triplet #:xgcc gcc-7))