fix(update): use nix run for mozilla-addons-to-nix

This commit is contained in:
matt1432 2024-07-24 22:11:21 -04:00
parent 4b7fa67767
commit f33090798d

View file

@ -55,8 +55,9 @@ export const updateFirefoxAddons = () => {
.filter((pinfo) => pinfo[0] !== 'frankerfacez'));
const NEW_VERS = Object.fromEntries(spawnSync(
'mozilla-addons-to-nix',
[SLUGS, GENERATED_FILE],
'nix',
['run', 'sourcehut:~rycee/mozilla-addons-to-nix',
SLUGS, GENERATED_FILE],
{ shell: true },
).stdout
.toString()