fractal: fix build on darwin

This commit is contained in:
Weijia Wang 2022-12-04 01:48:45 +01:00
parent cee75d23a9
commit 7363bec14a
2 changed files with 7 additions and 2 deletions

View file

@ -92,6 +92,10 @@ stdenv.mkDerivation rec {
patchShebangs scripts/meson_post_install.py scripts/test.sh
'';
preConfigure = ''
export GETTEXT_DIR="${gettext}"
'';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
@ -103,5 +107,6 @@ stdenv.mkDerivation rec {
homepage = "https://gitlab.gnome.org/GNOME/fractal";
license = licenses.gpl3;
maintainers = teams.gnome.members ++ (with maintainers; [ dtzWill ]);
platforms = platforms.unix;
};
}

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
"-Dintrospection=enabled"
];
doCheck = true;
doCheck = !stdenv.isDarwin;
checkPhase = ''
NO_AT_BRIDGE=1 \
@ -48,6 +48,6 @@ stdenv.mkDerivation rec {
homepage = "https://source.puri.sm/Librem5/libhandy";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}