mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: hare: Fix search paths.
* gnu/packages/hare.scm (hare): Fix search paths. [native-search-paths]: Add all environment variable paths here. [search-paths]: Remove field. Change-Id: I25b38a3e78bccdd634c4e10ab906839b0ec43543 Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
parent
df7639a1da
commit
fe10df93ef
1 changed files with 11 additions and 6 deletions
|
|
@ -99,6 +99,16 @@ programming language. For general Hare programming, see the @code{hare}
|
||||||
package.")
|
package.")
|
||||||
(license license:gpl3)))
|
(license license:gpl3)))
|
||||||
|
|
||||||
|
(define $HAREPATH
|
||||||
|
(search-path-specification
|
||||||
|
(variable "HAREPATH")
|
||||||
|
(files '("share/hare"))))
|
||||||
|
|
||||||
|
(define $HARE_TOOLPATH
|
||||||
|
(search-path-specification
|
||||||
|
(variable "HARE_TOOLPATH")
|
||||||
|
(files '("libexec/hare"))))
|
||||||
|
|
||||||
(define-public hare
|
(define-public hare
|
||||||
(package
|
(package
|
||||||
(name "hare")
|
(name "hare")
|
||||||
|
|
@ -154,12 +164,7 @@ package.")
|
||||||
(tc "x86_64-linux-gnu")))))
|
(tc "x86_64-linux-gnu")))))
|
||||||
(native-inputs (list harec qbe scdoc))
|
(native-inputs (list harec qbe scdoc))
|
||||||
(supported-systems %hare-supported-systems)
|
(supported-systems %hare-supported-systems)
|
||||||
(search-paths (list (search-path-specification
|
(native-search-paths (list $HAREPATH $HARE_TOOLPATH))
|
||||||
(variable "HAREPATH")
|
|
||||||
(files '("share/hare")))))
|
|
||||||
(native-search-paths (list (search-path-specification
|
|
||||||
(variable "HARE_TOOLPATH")
|
|
||||||
(files '("libexec/hare")))))
|
|
||||||
(home-page "https://harelang.org")
|
(home-page "https://harelang.org")
|
||||||
(synopsis "Harelang compiler tooling and stdlib")
|
(synopsis "Harelang compiler tooling and stdlib")
|
||||||
(description "Hare is a simple systems programming language, featuring
|
(description "Hare is a simple systems programming language, featuring
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue