This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-22
Channels
- # announcements (1)
- # babashka (94)
- # beginners (11)
- # biff (9)
- # calva (21)
- # clj-kondo (14)
- # clojure (12)
- # clojure-europe (56)
- # clojure-nl (1)
- # clojure-norway (41)
- # clojure-uk (4)
- # clojurescript (4)
- # core-logic (2)
- # gratitude (12)
- # honeysql (1)
- # hoplon (3)
- # hugsql (7)
- # introduce-yourself (2)
- # jobs-discuss (23)
- # leiningen (3)
- # malli (11)
- # off-topic (1)
- # pedestal (11)
- # reagent (3)
- # squint (8)
- # vim (9)
- # xtdb (3)
A few Nix users (including myself) have run into a puzzling issue with clj-kondo, jet and clojure-lsp.
error: output '/nix/store/3c1pjrwjnfkb06abcs322nbn4a3mv2nj-clojure-lsp-2023.08.06-00.28.06' is not allowed to refer to the following paths:
/nix/store/qlwc7ymlnafhw368vwwn4bbqcl06xqbc-graalvm-ce-21.0.1
error: 1 dependencies of derivation '/nix/store/bkhx8pdvay3k4h3sv5q7h4c9g72q8cxl-nix-shell-env.drv' failed to build
It seems to be specific to macOS and didn’t present itself before the automatic upgrade from 2023.09.07 -> 2023.10.20
.
Did anything change between those versions that we should incorporate into the packaging process?
https://github.com/NixOS/nixpkgs/issues/269029My working hypothesis has been this comes down to buildGraalvmNativeImage
in Nix as multiple packages are affected.
If all of the affected packages have moved to Oracle GraalVM…
That’s helpful — thanks, @U04V15CAJ!
I created https://github.com/NixOS/nixpkgs/pull/259639 to add oracle graalvm to nixpkgs but it was not merged yet, after that, we can update all derivations that use oracle graalvm like clojure-lsp. clj-kondo etc to use that one
@U06FTAZV3 Thanks, and congratulations on your first-time contribution!
@U050CT4HR thank you! I hope the intersection between the Nix and Clojure communities will find it valuable. I for one can’t wait to install the latest version of clj-kondo in a new project I’m really excited about!
Will we need this for other derivations that use graal like clojure-lsp, babashka etc?
@U06FTAZV3 would you mind changing the other derivations doing the same 😅? I think could be in the same PR
@UKFSJSM38 if I get the clj-kondo PR approved and merged, it’s something I can look at.