mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
1d22aed041
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.
20 lines
533 B
Nix
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";
|
|
})
|