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-09 15:53:55 +02:00
committed by Matthieu Coudron
parent fe4d8b1b73
commit c4bd61ba34
+1 -1
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 ];