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'!
This commit is contained in:
OPNA2608 2024-04-30 20:45:51 +02:00
parent 8b563cd9f9
commit bf311d950e

View file

@ -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";
};
})