Unverified Commit 0b9c114d authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

oxfmt: include `tsgolint` in the `PATH` (#477811)

parents f5e7bd26 4f6d72e2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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