gjs: add darwin support
This commit is contained in:
parent
b286501a5e
commit
7d2764c610
1 changed files with 4 additions and 2 deletions
|
@ -79,9 +79,11 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
|
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
|
||||||
|
] ++ lib.optionals (!stdenv.isLinux) [
|
||||||
|
"-Dprofiler=disabled"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs build/choose-tests-locale.sh
|
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";
|
homepage = "https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Home.md";
|
||||||
license = licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue