From 9cf16db669e18b9d2304cddd543dce1b9c5e769f Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Mon, 19 Oct 2026 20:39:33 -0400 Subject: [PATCH] use webcrypto fork to fix macOS builds --- linux/nix/pkg/default.nix | 2 +- pubspec.lock | 6 +++--- pubspec.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/linux/nix/pkg/default.nix b/linux/nix/pkg/default.nix index f97e696..0b2c95c 100644 --- a/linux/nix/pkg/default.nix +++ b/linux/nix/pkg/default.nix @@ -44,7 +44,7 @@ flutter.buildFlutterApplication { navigation_rail_m3e = "sha256-5V9m6yY0jimx2gh7lQHYg4HDKQ4Wrl0ATmBhw5DkQMI="; unifiedpush_linux = "sha256-aIF/8oabSuuZo7K6qr4r7UBmf57qgoGAXyJ40fdntuQ="; unifiedpush_platform_interface = "sha256-aIF/8oabSuuZo7K6qr4r7UBmf57qgoGAXyJ40fdntuQ="; - webcrypto = "sha256-jC5hTIcfnhqm/rD9myrfXfA5+Wkf5CfTYjtAnlT4FN4="; + webcrypto = "sha256-HW0NukbddwOYd9iVUFA3L8iy1qggnyOBgcbMj0MTYss="; xdg_desktop_portal = "sha256-8GgiXHGv+wy6hJgj/rZxbymMitNVmdDLAnedZm9STSc="; }; diff --git a/pubspec.lock b/pubspec.lock index becd454..05ea34c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1749,9 +1749,9 @@ packages: dependency: "direct overridden" description: path: "." - ref: da6648cf87309af4271e312c447e0356f8fda5d1 - resolved-ref: da6648cf87309af4271e312c447e0356f8fda5d1 - url: "https://github.com/google/webcrypto.dart" + ref: "fix/apple-x86_64-fiat-asm-upstream" + resolved-ref: e50fcce3d0c30627b11ffc74eb964b1073d42620 + url: "https://github.com/DavidClaudeAI/webcrypto.dart" source: git version: "0.6.2-wip" webpush_encryption: diff --git a/pubspec.yaml b/pubspec.yaml index 74cf3fe..4e538d9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -25,8 +25,8 @@ dependency_overrides: code_assets: 2.1.0 # webcrypto requires ^1.0.0, but works with 2.x webcrypto: git: - url: https://github.com/google/webcrypto.dart - ref: da6648cf87309af4271e312c447e0356f8fda5d1 # Uses build hooks, unreleased + url: https://github.com/DavidClaudeAI/webcrypto.dart + ref: fix/apple-x86_64-fiat-asm-upstream # Uses build hooks and fixes macOS x86_64, unreleased native_toolchain_cmake: git: url: https://github.com/Henry-Hiles/native_toolchain_cmake