From 85ce0f1fbb35fdb467e8202e1997de647dc05098 Mon Sep 17 00:00:00 2001 From: Igorj Gorjaĉev Date: Sun, 26 Apr 2026 15:57:13 +0300 Subject: gnu: janet: Support JANET_PATH. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- gnu/packages/lisp.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gnu') 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 -- cgit v1.3