oxfmt: include tsgolint in the PATH (#477811)

This commit is contained in:
OTABI Tomoya
2026-01-08 01:47:33 +00:00
committed by GitHub
+2
View File
@@ -14,6 +14,7 @@
rustc,
versionCheckHook,
nix-update-script,
tsgolint,
}:
# Build with pnpm instead of buildRustPackage because Prettier integration
@@ -89,6 +90,7 @@ stdenv.mkDerivation (finalAttrs: {
cp npm/oxfmt/configuration_schema.json $outPath/
makeWrapper ${lib.getExe nodejs-slim} $out/bin/oxfmt \
--prefix PATH : "${lib.makeBinPath [ tsgolint ]}" \
--add-flags $outPath/dist/cli.js
runHook postInstall