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:
parent
8b563cd9f9
commit
bf311d950e
1 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue