Merge pull request #204003 from wegank/fractal-darwin

fractal: fix build on darwin
This commit is contained in:
Robert Scott
2022-12-04 00:52:13 +00:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
@@ -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;
};
}
+2 -2
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;
};
}