summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorIgorj Gorjaĉev <igor@goryachev.org>2026-04-26 15:57:13 +0300
committerNguyễn Gia Phong <cnx@loang.net>2026-05-06 11:31:53 +0900
commit85ce0f1fbb35fdb467e8202e1997de647dc05098 (patch)
treef1a4711d05577fed455ca4272703171bedd3c97d /gnu
parent96195363d994df00fb55b1b2dded2037991570d3 (diff)
gnu: janet: Support JANET_PATH.
* gnu/packages/lisp.scm (janet): Support JANET_PATH. [native-search-paths]: Add JANET_PATH search path. [#:make-flags]: Use PREFIX instead of DESTDIR. Change-Id: I4e6d621c5a5bc33851041cd37381db963abde1d2 Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 3473fcab54..71d67900c4 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -892,13 +892,16 @@ interface to the Tk widget system.")
(arguments
(list #:make-flags
#~(list
- (string-append "DESTDIR=" #$output)
- (string-append "PREFIX=")
+ (string-append "PREFIX=" #$output)
(string-append "CC=" #$(cc-for-target)))
#:test-target "test"
#:phases
#~(modify-phases %standard-phases
(delete 'configure))))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "JANET_PATH")
+ (files (list "lib/janet")))))
(home-page "https://janet-lang.org/")
(synopsis "Functional, imperative and embeddable programming language")
(description