mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 19:41:50 +02:00
gnu: kicad: Remove separator from native-search-paths.
KiCad environment variables don't support multiple paths. See https://gitlab.com/kicad/code/kicad/-/issues/14792 This is documented for `KICAD9_TEMPLATE_DIR`. However, from personal testing, the same applies for other variables. * gnu/packages/engineering.scm (kicad):[native-search-paths]: Remove path separator from environment variables. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
committed by
Ludovic Courtès
parent
9a77992b95
commit
2b08ff1cf7
@@ -1166,24 +1166,32 @@ Emacs).")
|
|||||||
`("PATH" ":" prefix
|
`("PATH" ":" prefix
|
||||||
(,(string-append python "/bin:"))))))))))
|
(,(string-append python "/bin:"))))))))))
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
|
;; Currently, KiCad environment variables are single-valued
|
||||||
|
;; (see https://gitlab.com/kicad/code/kicad/-/issues/14792).
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
(variable "KICAD") ;to find kicad-doc
|
(variable "KICAD") ;to find kicad-doc
|
||||||
(files '("")))
|
(files '(""))
|
||||||
|
(separator #f))
|
||||||
(search-path-specification
|
(search-path-specification
|
||||||
(variable "KICAD9_TEMPLATE_DIR")
|
(variable "KICAD9_TEMPLATE_DIR")
|
||||||
(files '("share/kicad/template")))
|
(files '("share/kicad/template"))
|
||||||
|
(separator #f))
|
||||||
(search-path-specification
|
(search-path-specification
|
||||||
(variable "KICAD9_SYMBOL_DIR")
|
(variable "KICAD9_SYMBOL_DIR")
|
||||||
(files '("share/kicad/symbols")))
|
(files '("share/kicad/symbols"))
|
||||||
|
(separator #f))
|
||||||
(search-path-specification
|
(search-path-specification
|
||||||
(variable "KICAD9_FOOTPRINT_DIR")
|
(variable "KICAD9_FOOTPRINT_DIR")
|
||||||
(files '("share/kicad/footprints")))
|
(files '("share/kicad/footprints"))
|
||||||
|
(separator #f))
|
||||||
(search-path-specification
|
(search-path-specification
|
||||||
(variable "KICAD9_3DMODEL_DIR")
|
(variable "KICAD9_3DMODEL_DIR")
|
||||||
(files '("share/kicad/3dmodels")))
|
(files '("share/kicad/3dmodels"))
|
||||||
|
(separator #f))
|
||||||
(search-path-specification
|
(search-path-specification
|
||||||
(variable "KICAD_STOCK_DATA_HOME")
|
(variable "KICAD_STOCK_DATA_HOME")
|
||||||
(files '("share/kicad")))))
|
(files '("share/kicad"))
|
||||||
|
(separator #f))))
|
||||||
(native-inputs (list boost
|
(native-inputs (list boost
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
gettext-minimal
|
gettext-minimal
|
||||||
|
|||||||
Reference in New Issue
Block a user