Unverified Commit d202c927 authored by Toma's avatar Toma Committed by GitHub
Browse files

voicevox: patch to ignore node version (#475597)

parents 3d1b430a 9c0484a8
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