mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2025-10-02 02:14:59 +00:00
nongnu: babashka: Use G-expressions.
* nongnu/packages/clojure.scm (babashka)[arguments]: Use G-expressions.
This commit is contained in:
parent
f443f09c5f
commit
029735b18e
1 changed files with 15 additions and 16 deletions
|
@ -189,20 +189,19 @@ Clojure and Java libraries, and start Clojure programs.")
|
|||
"1bmfnkh7mi15h6gkw9az6f2p4grcyi7cj90f86xg4ljbjnidp2n3"))))
|
||||
(build-system binary-build-system)
|
||||
(arguments
|
||||
`(#:patchelf-plan
|
||||
'(("bb" ("zlib")))
|
||||
(list #:patchelf-plan
|
||||
''(("bb" ("zlib")))
|
||||
#:install-plan
|
||||
'(("./bb" "/bin/"))
|
||||
''(("bb" "/bin/"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'chmod
|
||||
(lambda _
|
||||
(chmod "bb" #o755)))
|
||||
(add-after 'patch-shebangs 'wrap-programs
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(clojure-tools (assoc-ref inputs "clojure-tools")))
|
||||
(wrap-program (string-append out "/bin/bb")
|
||||
(lambda _
|
||||
(let ((clojure-tools #$(this-package-input "clojure-tools")))
|
||||
(wrap-program (string-append #$output "/bin/bb")
|
||||
`("BABASHKA_CLASSPATH" ":" suffix
|
||||
,(find-files clojure-tools "\\.jar$")))))))))
|
||||
(inputs (list clojure-tools zlib))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue