nixpkgs/pkgs/development/tools/misc/luarocks/luarocks-nix.nix
Matthieu Coudron 77a0e5f36e luarocks: 3.8.0 -> 3.9.0
pass the config to the luarocks binary

also bumps luarocks-nix: bump package due to the luarocks rebase
2022-06-13 11:17:24 +02:00

21 lines
469 B
Nix

{ luarocks, fetchFromGitHub, nix-update-script }:
luarocks.overrideAttrs(old: {
pname = "luarocks-nix";
src = fetchFromGitHub {
owner = "nix-community";
repo = "luarocks-nix";
rev = "b1ff9eeb64c7c1dc5fc177008d6f2be9191c6aa2";
sha256 = "sha256-mkzrf/6yMyLMIEDwsuCIxi1HJvg57ybyZPXVheFAAHE=";
};
patches = [];
passthru = {
updateScript = nix-update-script {
attrPath = "luarocks-nix";
};
};
meta.mainProgram = "luarocks";
})