about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPetingoso <petingavasco@protonmail.com>2024-05-04 12:51:42 +0100
committerMatthieu Coudron <886074+teto@users.noreply.github.com>2024-05-09 15:53:55 +0200
commitc4bd61ba34c99e77ac65cc6238559acb3068ba3f (patch)
treec93ea341c83581609179e981fbe23087e144e717
parentfe4d8b1b73426177fb95c716a14ec0fef4810fa8 (diff)
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.
-rw-r--r--pkgs/development/lua-modules/nfd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/lua-modules/nfd/default.nix b/pkgs/development/lua-modules/nfd/default.nix
index 5c2ffabc9b543..581b5289aef06 100644
--- a/pkgs/development/lua-modules/nfd/default.nix
+++ b/pkgs/development/lua-modules/nfd/default.nix
@@ -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 ];