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,22 +189,21 @@ Clojure and Java libraries, and start Clojure programs.")
|
||||||
"1bmfnkh7mi15h6gkw9az6f2p4grcyi7cj90f86xg4ljbjnidp2n3"))))
|
"1bmfnkh7mi15h6gkw9az6f2p4grcyi7cj90f86xg4ljbjnidp2n3"))))
|
||||||
(build-system binary-build-system)
|
(build-system binary-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:patchelf-plan
|
(list #:patchelf-plan
|
||||||
'(("bb" ("zlib")))
|
''(("bb" ("zlib")))
|
||||||
#:install-plan
|
#:install-plan
|
||||||
'(("./bb" "/bin/"))
|
''(("bb" "/bin/"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'chmod
|
(add-after 'unpack 'chmod
|
||||||
(lambda _
|
(lambda _
|
||||||
(chmod "bb" #o755)))
|
(chmod "bb" #o755)))
|
||||||
(add-after 'patch-shebangs 'wrap-programs
|
(add-after 'patch-shebangs 'wrap-programs
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((clojure-tools #$(this-package-input "clojure-tools")))
|
||||||
(clojure-tools (assoc-ref inputs "clojure-tools")))
|
(wrap-program (string-append #$output "/bin/bb")
|
||||||
(wrap-program (string-append out "/bin/bb")
|
`("BABASHKA_CLASSPATH" ":" suffix
|
||||||
`("BABASHKA_CLASSPATH" ":" suffix
|
,(find-files clojure-tools "\\.jar$")))))))))
|
||||||
,(find-files clojure-tools "\\.jar$")))))))))
|
|
||||||
(inputs (list clojure-tools zlib))
|
(inputs (list clojure-tools zlib))
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
(home-page "https://github.com/babashka/babashka")
|
(home-page "https://github.com/babashka/babashka")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue