diff --git a/pkgs/by-name/oa/oama/package.nix b/pkgs/by-name/oa/oama/package.nix index c408ef4e87f8..e938805bac86 100644 --- a/pkgs/by-name/oa/oama/package.nix +++ b/pkgs/by-name/oa/oama/package.nix @@ -2,6 +2,7 @@ haskell, haskellPackages, lib, + stdenv, }: let inherit (haskell.lib.compose) overrideCabal justStaticExecutables; @@ -25,5 +26,7 @@ let in lib.pipe raw-pkg [ (overrideCabal overrides) - justStaticExecutables + # FIXME: eliminate all erroneous references on aarch64-darwin manually, + # see https://github.com/NixOS/nixpkgs/issues/318013 + (if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else justStaticExecutables) ]