From 200961e8f28974b89bdb218139e1bc3e4395b5d5 Mon Sep 17 00:00:00 2001 From: PapayaJackal <145766029+PapayaJackal@users.noreply.github.com> Date: Sun, 20 Oct 2024 17:11:32 +0000 Subject: [PATCH] coyim: fix build on aarch64 --- pkgs/by-name/co/coyim/package.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/co/coyim/package.nix b/pkgs/by-name/co/coyim/package.nix index 60da34d0f2ac..182aef00b98e 100644 --- a/pkgs/by-name/co/coyim/package.nix +++ b/pkgs/by-name/co/coyim/package.nix @@ -38,15 +38,16 @@ buildGoModule { adwaita-icon-theme ]; + postPatch = '' + # fixes build on aarch64 + rm -v windows_amd64_icon.syso + ''; + meta = { description = "Safe and secure chat client"; mainProgram = "coyim"; homepage = "https://coy.im/"; license = lib.licenses.gpl3; - platforms = [ - "x86_64-linux" - "x86_64-darwin" - ]; broken = stdenv.hostPlatform.isDarwin; maintainers = with lib.maintainers; [ PapayaJackal ]; };