nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ luarocks, fetchFromGitHub, unstableGitUpdater }:
2
3luarocks.overrideAttrs (old: {
4 pname = "luarocks-nix";
5 version = "unstable-2023-02-26";
6
7 src = fetchFromGitHub {
8 owner = "nix-community";
9 repo = "luarocks-nix";
10 rev = "4cfea3d5d826db4cfbc809ef8bb5f0a9f3a18919";
11 sha256 = "sha256-7L8B+/C7Kzt25Ec+OsM2rliYB2/wyZQ3OT63V7AaOxo=";
12 };
13
14 patches = [ ];
15
16 passthru = {
17 updateScript = unstableGitUpdater { };
18 };
19
20 meta = old.meta // {
21 mainProgram = "luarocks";
22 };
23})