diff --git a/pkgs/by-name/ma/matrix-sdk-crypto-nodejs/package.nix b/pkgs/by-name/ma/matrix-sdk-crypto-nodejs/package.nix index ff3ba4e92c57..e40aa7e6d11d 100644 --- a/pkgs/by-name/ma/matrix-sdk-crypto-nodejs/package.nix +++ b/pkgs/by-name/ma/matrix-sdk-crypto-nodejs/package.nix @@ -64,5 +64,7 @@ stdenv.mkDerivation rec { dandellion ]; inherit (nodejs.meta) platforms; + # napi_build doesn't handle most cross-compilation configurations + broken = (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) || stdenv.hostPlatform.isStatic; }; }