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