lua51Packages.nfd: fix module not loading

As this (issue)[https://github.com/NixOS/nixpkgs/issues/295022] complains, it wasn't
finding symbols properly.

I traced it to the (migration)[https://github.com/NixOS/nixpkgs/pull/288669] from buildLuarocksPackage.extraVariables to
buildLuarocksPackage.luarocksConfig.variables where someone forgot to
add .variables.

It now launches the dialogue properly.
This commit is contained in:
Petingoso 2024-05-04 12:51:42 +01:00 committed by Matthieu Coudron
parent fe4d8b1b73
commit c4bd61ba34

View file

@ -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 ];