gjs: add darwin support

This commit is contained in:
Weijia Wang 2022-10-17 21:09:04 +02:00
parent b286501a5e
commit 7d2764c610

View file

@ -79,9 +79,11 @@ in stdenv.mkDerivation rec {
mesonFlags = [
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
] ++ lib.optionals (!stdenv.isLinux) [
"-Dprofiler=disabled"
];
doCheck = true;
doCheck = !stdenv.isDarwin;
postPatch = ''
patchShebangs build/choose-tests-locale.sh
@ -139,6 +141,6 @@ in stdenv.mkDerivation rec {
homepage = "https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Home.md";
license = licenses.lgpl2Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
platforms = platforms.unix;
};
}