Skip to content

Commit

Permalink
lua51Packages.nfd: fix module not loading
Browse files Browse the repository at this point in the history
As this (issue)[NixOS#295022] complains, it wasn't
finding symbols properly.

I traced it to the (migration)[NixOS#288669] from buildLuarocksPackage.extraVariables to
buildLuarocksPackage.luarocksConfig.variables where someone forgot to
add .variables.

It now launches the dialogue properly.
  • Loading branch information
Petingoso committed May 4, 2024
1 parent eb8c39c commit 7ec2e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/lua-modules/nfd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ buildLuarocksPackage {
];
knownRockspec = "lua/nfd-scm-1.rockspec";

luarocksConfig.LUA_LIBDIR = "${lua}/lib";
luarocksConfig.variables.LUA_LIBDIR = "${lua}/lib";
nativeBuildInputs = [ pkg-config ];

buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
Expand Down

0 comments on commit 7ec2e73

Please sign in to comment.