1
0
forked from tribes/guix

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>
This commit is contained in:
Igorj Gorjaĉev
2026-04-26 15:57:13 +03:00
committed by Nguyễn Gia Phong
parent 96195363d9
commit 85ce0f1fbb
+5 -2
View File
@@ -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