mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
voicevox: patch to ignore node version (#475597)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user