summaryrefslogtreecommitdiff
path: root/gnu/packages/hare.scm
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2025-12-07 21:43:08 -0600
committerjgart <jgart@dismail.de>2025-12-08 16:56:59 -0600
commitfe10df93efa9b5c80ee370ac909031b3cbcb56a9 (patch)
tree24f0978dbaa6c3d3038e3ffc829bfbbc5365fb50 /gnu/packages/hare.scm
parentdf7639a1da15b3f6f10987d1aedfcad4fe9eebfb (diff)
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>
Diffstat (limited to 'gnu/packages/hare.scm')
-rw-r--r--gnu/packages/hare.scm17
1 files changed, 11 insertions, 6 deletions
diff --git a/gnu/packages/hare.scm b/gnu/packages/hare.scm
index 17480f07714..20ffc0760f2 100644
--- a/gnu/packages/hare.scm
+++ b/gnu/packages/hare.scm
@@ -99,6 +99,16 @@ programming language. For general Hare programming, see the @code{hare}
99package.") 99package.")
100 (license license:gpl3))) 100 (license license:gpl3)))
101 101
102(define $HAREPATH
103 (search-path-specification
104 (variable "HAREPATH")
105 (files '("share/hare"))))
106
107(define $HARE_TOOLPATH
108 (search-path-specification
109 (variable "HARE_TOOLPATH")
110 (files '("libexec/hare"))))
111
102(define-public hare 112(define-public hare
103 (package 113 (package
104 (name "hare") 114 (name "hare")
@@ -154,12 +164,7 @@ package.")
154 (tc "x86_64-linux-gnu"))))) 164 (tc "x86_64-linux-gnu")))))
155 (native-inputs (list harec qbe scdoc)) 165 (native-inputs (list harec qbe scdoc))
156 (supported-systems %hare-supported-systems) 166 (supported-systems %hare-supported-systems)
157 (search-paths (list (search-path-specification 167 (native-search-paths (list $HAREPATH $HARE_TOOLPATH))
158 (variable "HAREPATH")
159 (files '("share/hare")))))
160 (native-search-paths (list (search-path-specification
161 (variable "HARE_TOOLPATH")
162 (files '("libexec/hare")))))
163 (home-page "https://harelang.org") 168 (home-page "https://harelang.org")
164 (synopsis "Harelang compiler tooling and stdlib") 169 (synopsis "Harelang compiler tooling and stdlib")
165 (description "Hare is a simple systems programming language, featuring 170 (description "Hare is a simple systems programming language, featuring