Skip to content
Discussion options

You must be logged in to vote

Hey 👋

How are you setting up your environment?
Using nix develop or nix shell?

Lux uses pkg-config to detect lux-lua.
So you need to add that to your buildInputs.
With Nix, pkg-config gets setup via the shell hook when you use nix develop to enter a devShell, but not when you use nix shell.
I'm don't know if a package is included if it's behind lua.withPackages.

lux-lua is a Lua package, but it's not a luarocks package, and iirc lua.withPackages currently assumes that packages are luarocks packages (this would be a nixpkgs issue though).

Transferring this issue to discussions, as this is not a Lux bug.

I've also opened a feature request that may eliminate the need for pkg-config when using

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@mrcjkb
Comment options

@ALameLlama
Comment options

@mrcjkb
Comment options

@ALameLlama
Comment options

@mrcjkb
Comment options

Answer selected by mrcjkb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1130 on October 17, 2025 02:15.