Commit bf311d95 authored by OPNA2608's avatar OPNA2608
Browse files

luaPackages.luarocks-nix: Fix meta.position

Which in turn, fixes running the updateScript:

+ update-source-version luaPackages.luarocks-nix 0-unstable-2024-04-29 --rev=a473a8f479711682f5b97a72362736d96efd463b
update-source-version: error: Couldn't locate old source hash 'sha256-dqFFYehBgK0RqH0/1GtZXq7XLGCcc3Kfadq8ICYNCWk=' (or it appeared more than once) in '<nixpkgs>/pkgs/development/tools/misc/luarocks/default.nix'!
parent 8b563cd9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -20,7 +20,9 @@ luarocks.overrideAttrs (old: {
    };
  };

  meta = old.meta // {
  # old.meta // { /* ... */ } doesn't update meta.position, which breaks the updateScript
  meta = {
    inherit (old.meta) description license maintainers platforms;
    mainProgram = "luarocks";
  };
})