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)[#295022] complains, it wasn't
finding symbols properly.

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

It now launches the dialogue properly.
  • Loading branch information
Petingoso authored and teto committed May 9, 2024
1 parent fe4d8b1 commit c4bd61b
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 c4bd61b

Please sign in to comment.