diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-10-17 21:09:04 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-10-17 21:09:04 +0200 |
commit | 7d2764c6107964ee74046c170a9ea4cd2816090d (patch) | |
tree | d0ad50f3d0286604678b1a50d3f5b6946904100e /pkgs | |
parent | b286501a5eadad160362299c15941a642c427317 (diff) |
gjs: add darwin support
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/gjs/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gjs/default.nix b/pkgs/development/libraries/gjs/default.nix index 6a24be2adbbba..4716bb061b39a 100644 --- a/pkgs/development/libraries/gjs/default.nix +++ b/pkgs/development/libraries/gjs/default.nix @@ -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; }; } |