Commit 9c0484a8 authored by Justin Restivo's avatar Justin Restivo
Browse files

voicevox: patch to ignore node version

parent a0ddc9e8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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