luarocks: use self.pname for an effective overrideAttrs
luarocks-nix store path was ..luarocks-version instead of ...luarocks-nix-version. This fixes it
This commit is contained in:
parent
ca1654d325
commit
e511f674e1
@ -78,7 +78,7 @@ let
|
||||
|
||||
luarocksDrv = luaLib.toLuaModule ( lua.stdenv.mkDerivation (self: attrs // {
|
||||
|
||||
name = namePrefix + pname + "-" + self.version;
|
||||
name = namePrefix + self.pname + "-" + self.version;
|
||||
inherit rockspecVersion;
|
||||
|
||||
__structuredAttrs = true;
|
||||
@ -114,7 +114,7 @@ let
|
||||
rocksSubdir = "${self.pname}-${self.version}-rocks";
|
||||
|
||||
configFile = writeTextFile {
|
||||
name = pname + "-luarocks-config.lua";
|
||||
name = self.pname + "-luarocks-config.lua";
|
||||
text = self.luarocks_content;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user