-
|
Howdy, I initally thought this was an issue with lx check, but realized it was due to using gen-luarc. How should one use gen-luarc in nix and lx check? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hey 👋 I suppose you mean mrcjkb/nix-gen-luarc-json? |
Beta Was this translation helpful? Give feedback.
-
|
ah ok I was hesitant to manage deps with lux because of my experience with uv and binaries(numpy,scipy,etc) requiring me to add the packages to my shell anyway. I will add the deps to lux.toml. Though I dont really have a lua package(except maybe my vimtex PR) I was just trying it out. |
Beta Was this translation helpful? Give feedback.
Hey 👋
I suppose you mean mrcjkb/nix-gen-luarc-json?
You can prevent lux from updating the
.luarc.jsonby usinglx --no-luarc check.But if you're not using lux to manage your dependencies, perhaps it's better to use
emmylua-check(which is in nixpkgs-unstable).lx checkusesemmlua-checkas a library under the hood, but tailors the config for use with a Lux project.