From 75749833b54d787669cedd14a365642170c0b872 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 13 Mar 2026 20:07:02 -0500 Subject: [PATCH] oxfmt: 0.27.0 -> 0.40.0 https://github.com/oxc-project/oxc/compare/apps_v1.42.0...apps_v1.55.0 --- pkgs/by-name/ox/oxfmt/package.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/ox/oxfmt/package.nix b/pkgs/by-name/ox/oxfmt/package.nix index b4bc90854a61..ac3a4efa04b8 100644 --- a/pkgs/by-name/ox/oxfmt/package.nix +++ b/pkgs/by-name/ox/oxfmt/package.nix @@ -21,33 +21,25 @@ # A pure Rust build would lack the Prettier plugin functionality. stdenv.mkDerivation (finalAttrs: { pname = "oxfmt"; - version = "0.27.0"; + version = "0.40.0"; src = fetchFromGitHub { owner = "oxc-project"; repo = "oxc"; tag = "oxfmt_v${finalAttrs.version}"; - hash = "sha256-EAM1DxA/TqnIRN5Tlvg5/jvbyOUtSuwQ4RCBeO9esCw="; + hash = "sha256-A2cq1WgZg8csNGB3yFNo21450f46n4ZVblke1yqlBCc="; }; - # Remove patchedDependencies from both workspace and lockfile - # to avoid LOCKFILE_CONFIG_MISMATCH error - postPatch = '' - substituteInPlace pnpm-workspace.yaml pnpm-lock.yaml \ - --replace-fail "patchedDependencies:" "_patchedDependencies:" - ''; - cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-okwkhcT6mekIvo52T8eSrXUcp/LQhcEYvHyIc5CLdrE="; + hash = "sha256-Oz9u2+5lq+z9A81BEn2T4jvVMqf1uNXip+OH4AxiTG0="; }; pnpmDeps = fetchPnpmDeps { inherit (finalAttrs) pname version src; pnpm = pnpm_10; fetcherVersion = 2; - hash = "sha256-GOsSTfM93VgGhVlgzXhJIJG9MSf306cEnRru/aTA+oY="; - prePnpmInstall = finalAttrs.postPatch; + hash = "sha256-iO1MRUTO8Ce1YGH/qDWQmdfvTfvsmgwGBaybWw3wiu0="; }; nativeBuildInputs = [