Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nix: fix shadow-cljs on M1 by upgrading to 2.11.16
On M1 calling `shadow-cljs` fails with: ``` Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader$NativeLibrary/load (ClassLoader.java:-2). /private/var/folders/__/x311ykg17rqgq2wyl4kn1pdr0001yh/T/jna8753030888504535661.tmp: dlopen(/private/var/folders/__/x311ykg17rqgq2wyl4kn1pdr0001yh/T/jna8753030888504535661.tmp, 0x0001): tried: '/private/var/folders/__/x311ykg17rqgq2wyl4kn1pdr0001yh/T/jna8753030888504535661.tmp' (fat file, but missing compatible architecture (have (unknown,i386,x86_64), need (arm64e))) ``` This is due to an outdeted dependency on JNA 3.2.2, which is pulled in by `hawk` package which up until release `2.11.16` was a `shadow-clj` dependency which was removed because it was: >Only used to be used on macOS since it was slightly faster than the default >JVM implementation. However in Big Sur it seems to cause issues and break >completely or just be a lot slower. thheller/shadow-cljs@f3b89b5a Dropped the explicit dependency on `org.clojure/core.async` to avoid: ``` WARNING: The org.clojure/core.async dependency in shadow-cljs.edn was ignored. Default version is used and override is not allowed to ensure compatibility. ``` Resolves: #14196 Signed-off-by: Jakub Sokołowski <jakub@status.im>
- Loading branch information