telepathy-mission-control: add darwin support

This commit is contained in:
Weijia Wang 2023-10-17 00:41:02 +02:00
parent 5eecf587ae
commit 1005b0828a

View file

@ -6,6 +6,8 @@
, python3 , python3
, libxslt , libxslt
, makeWrapper , makeWrapper
, autoreconfHook
, gtk-doc
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -27,6 +29,9 @@ stdenv.mkDerivation rec {
pkg-config pkg-config
libxslt libxslt
makeWrapper makeWrapper
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
autoreconfHook
gtk-doc
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -49,7 +54,5 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21Only; license = licenses.lgpl21Only;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
platforms = platforms.unix; platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
}; };
} }