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.

authored by Petingoso and committed by Matthieu Coudron c4bd61ba fe4d8b1b

+1 -1
+1 -1
pkgs/development/lua-modules/nfd/default.nix
··· 22 ]; 23 knownRockspec = "lua/nfd-scm-1.rockspec"; 24 25 - luarocksConfig.LUA_LIBDIR = "${lua}/lib"; 26 nativeBuildInputs = [ pkg-config ]; 27 28 buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
··· 22 ]; 23 knownRockspec = "lua/nfd-scm-1.rockspec"; 24 25 + luarocksConfig.variables.LUA_LIBDIR = "${lua}/lib"; 26 nativeBuildInputs = [ pkg-config ]; 27 28 buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];