nixpkgs/pkgs/development/tools/misc/luarocks/luarocks-nix.nix
Matthieu Coudron 1d22aed041 luarocks-nix: bumped luarocks-nix
this new version removes support of src.rock but now supports rockspecs embedded in a repo. The goal is to be able to support neovim plugins that provide a rockspec, even when they are not registered on luarocks.
2021-08-31 01:01:56 +02:00

20 lines
533 B
Nix

{ luarocks, fetchFromGitHub }:
luarocks.overrideAttrs(old: {
pname = "luarocks-nix";
version = "2021-01-22";
src = fetchFromGitHub {
owner = "nix-community";
repo = "luarocks-nix";
rev = "test-speedup";
sha256 = "sha256-WfzLSpIp0V7Ib4sjYvoJHF+/vHaieccvfVAr5W47QsQ=";
};
patches = [];
# src = builtins.fetchGit {
# url = "https://github.com/nix-community/luarocks-nix.git";
# ref = "test-speedup";
# rev = "68ebd5356206a625021b9add4ec2f916692a55eb";
# };
meta.mainProgram = "luarocks";
})