Clojure fixes

This commit is contained in:
Daniel Ziltener 2024-01-05 00:37:43 +01:00
parent 8b1ecedd2b
commit 1dc3c4b89b
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -99,7 +99,7 @@ lets you focus on your code.")
`(#:patchelf-plan
'(("clj-kondo" ("gcc:lib" "zlib")))
#:install-plan
'(("clj-kondo" "/bin/"))
'(("./clj-kondo" "/bin/"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chmod
@ -120,22 +120,17 @@ and EDN, without the need of a running REPL.")
(define-public clojure-lsp
(package
(name "clojure-lsp")
(version "2023.10.30-16.25.41")
(version "2023.12.29-12.09.27")
(source (origin
(method url-fetch/zipbomb)
(uri (string-append "https://github.com/clojure-lsp/clojure-lsp/releases/download/" version "/clojure-lsp-native-static-linux-amd64.zip"))
(sha256
(base32
"13hvvqfg5b7ffm8an9wlnk3cc0l9gnl2r8lzxadgfxfqsj452rlg"))))
"0qwxjzyisdxc61a43df1rmk1pqifankg0g51sw6hlrjyw8sk06q5"))))
(build-system binary-build-system)
(arguments
`(#:install-plan
'(("clojure-lsp" "/bin/"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chmod
(lambda _
(chmod "clojure-lsp" #o755))))))
'(("./clojure-lsp" "/bin/"))))
(inputs
`(("gcc:lib" ,gcc "lib")
("zlib" ,zlib)))
@ -161,7 +156,7 @@ and EDN, without the need of a running REPL.")
`(#:patchelf-plan
'(("bb" ("gcc:lib" "zlib")))
#:install-plan
'(("bb" "/bin/"))
'(("./bb" "/bin/"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chmod