voicevox: patch to ignore node version

This commit is contained in:
Justin Restivo
2025-12-31 09:10:58 -05:00
parent a0ddc9e83f
commit 9c0484a8f8

View File

@@ -40,6 +40,10 @@ stdenv.mkDerivation (finalAttrs: {
];
postPatch = ''
# don't fail if node version doesn't fit the constraint
substituteInPlace .npmrc \
--replace-fail "engine-strict=true" ""
# unlock the overly specific pnpm package version pin
# and also set version to a proper value
jq "del(.packageManager) | .version = \"$version\"" package.json | sponge package.json