mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: make-qmk-firmware/implementation: Replace "/" in package name by "-".
* gnu/packages/firmware.scm (make-qmk-firmware/implementation): Replace "/" in package name by "-". Change-Id: I5cca6d21e52171a5fb1231ea1632661550b4a950
This commit is contained in:
parent
9f066c813b
commit
b87b96b9c7
1 changed files with 4 additions and 1 deletions
|
@ -88,6 +88,7 @@ (define-module (gnu packages firmware)
|
|||
#:use-module (gnu packages xml)
|
||||
#:use-module (ice-9 format)
|
||||
#:use-module (ice-9 match)
|
||||
#:use-module (ice-9 regex)
|
||||
|
||||
#:export (make-ergodox-firmware
|
||||
make-qmk-firmware))
|
||||
|
@ -1523,7 +1524,9 @@ (define* (make-qmk-firmware/implementation keyboard keymap
|
|||
keyboard definition in KEYBOARD-SOURCE-DIRECTORY."
|
||||
(package
|
||||
(name (string-append "qmk-firmware-"
|
||||
(string-replace-substring keyboard "_" "-") "-"
|
||||
(regexp-substitute/global #f "[_/]" keyboard
|
||||
'pre "-" 'post)
|
||||
"-"
|
||||
(string-replace-substring keymap "_" "-")))
|
||||
;; Note: When updating this package, make sure to also update the commit
|
||||
;; used for the LUFA submodule in the 'copy-lufa-source' phase below.
|
||||
|
|
Loading…
Reference in a new issue