From 2bf766ddd5b7bd16bb4109237ae48f589b3dcfcf Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Mon, 2 Mar 2026 22:26:00 +0100 Subject: [PATCH] en-croissant: fix build on darwin by disabling codesigning --- pkgs/by-name/en/en-croissant/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/en/en-croissant/package.nix b/pkgs/by-name/en/en-croissant/package.nix index c8a63b5b6f00..8be5a1f18fea 100644 --- a/pkgs/by-name/en/en-croissant/package.nix +++ b/pkgs/by-name/en/en-croissant/package.nix @@ -48,7 +48,12 @@ rustPlatform.buildRustPackage (finalAttrs: { }; postPatch = '' - jq '.plugins.updater.endpoints = [ ] | .bundle.createUpdaterArtifacts = false' src-tauri/tauri.conf.json | sponge src-tauri/tauri.conf.json + # disable updater and disable mac codesigning + jq ' + .plugins.updater.endpoints = [ ] | + .bundle.createUpdaterArtifacts = false | + .bundle.macOS.signingIdentity = null + ' src-tauri/tauri.conf.json | sponge src-tauri/tauri.conf.json ''; cargoRoot = "src-tauri";