From 9c0484a8f8646df5864e009fb0d7e642ec158e88 Mon Sep 17 00:00:00 2001 From: Justin Restivo Date: Wed, 31 Dec 2025 09:10:58 -0500 Subject: [PATCH] voicevox: patch to ignore node version --- pkgs/by-name/vo/voicevox/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/vo/voicevox/package.nix b/pkgs/by-name/vo/voicevox/package.nix index fc4276264487..0a0b60076f19 100644 --- a/pkgs/by-name/vo/voicevox/package.nix +++ b/pkgs/by-name/vo/voicevox/package.nix @@ -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