clojure-lsp: fix compilation on darwin
This commit is contained in:
parent
a6bb32aecc
commit
e234811bb0
@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
GRAALVM_HOME = graalvm11-ce;
|
||||
CLOJURE_LSP_JAR = jar;
|
||||
CLOJURE_LSP_XMX = "-J-Xmx4g";
|
||||
|
||||
patches = lib.optionals stdenv.isDarwin [ ./disable-check-toolchain.patch ];
|
||||
|
||||
buildInputs = [ graalvm11-ce ];
|
||||
|
||||
@ -52,7 +55,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Language Server Protocol (LSP) for Clojure";
|
||||
homepage = "https://github.com/clojure-lsp/clojure-lsp";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.ericdallo ];
|
||||
maintainers = [ maintainers.ericdallo maintainers.babariviere ];
|
||||
platforms = graalvm11-ce.meta.platforms;
|
||||
};
|
||||
}
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff --git a/graalvm/native-unix-compile.sh b/graalvm/native-unix-compile.sh
|
||||
index ec0e49f..e19a120 100755
|
||||
--- a/graalvm/native-unix-compile.sh
|
||||
+++ b/graalvm/native-unix-compile.sh
|
||||
@@ -17,6 +17,7 @@ CLOJURE_LSP_XMX=${CLOJURE_LSP_XMX:-"-J-Xmx4g"}
|
||||
|
||||
args=("-jar" "$CLOJURE_LSP_JAR"
|
||||
"-H:+ReportExceptionStackTraces"
|
||||
+ "-H:-CheckToolchain"
|
||||
"--verbose"
|
||||
"--no-fallback"
|
||||
"--native-image-info"
|
Loading…
Reference in New Issue
Block a user