diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-12-28 11:28:42 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-12-28 11:28:42 +0000 |
commit | 0004682e366356f9072d7e45447611e67b65e20c (patch) | |
tree | 8147c8cee356ddc796241ae13f470f257fa0a408 /pkgs/desktops | |
parent | a9d066a990928b00f3e3578c0d324e465f05f1cd (diff) |
gtksourceview: run checks on Linux only
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/gnome-3/core/gtksourceview/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/desktops/gnome-3/core/gtksourceview/default.nix b/pkgs/desktops/gnome-3/core/gtksourceview/default.nix index 363cf1a0c4ac0..e3b92a4aeaccc 100644 --- a/pkgs/desktops/gnome-3/core/gtksourceview/default.nix +++ b/pkgs/desktops/gnome-3/core/gtksourceview/default.nix @@ -14,9 +14,9 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" ]; nativeBuildInputs = [ pkgconfig intltool gettext perl ] - ++ stdenv.lib.optionals doCheck checkInputs; + ++ checkInputs; buildInputs = [ atk cairo glib pango libxml2 ]; - checkInputs = [ xvfb_run dbus ]; + checkInputs = stdenv.lib.optionals doCheck [ xvfb_run dbus ]; preBuild = '' substituteInPlace gtksourceview/gtksourceview-utils.c --replace "@NIX_SHARE_PATH@" "$out/share" @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { patches = [ ./nix_share_path.patch ]; - doCheck = true; + doCheck = stdenv.isLinux; checkPhase = '' export NO_AT_BRIDGE=1 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ |