diff options
| -rw-r--r-- | gnu/packages/hare.scm | 17 |
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} | |||
| 99 | package.") | 99 | package.") |
| 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 |
