haskellPackages.gi-gtk-declarative: fix build by disabling tests

gi-gtk-declarative requires an X11 display in its test suite.
X11 display is not available inside nix build sandbox, which makes tests fail.

Solution: disable tests for gi-gtk-declarative.
This commit is contained in:
Alexander Bantyev
2020-06-22 09:43:26 +03:00
parent 286f0c0704
commit 186d01eff3
3 changed files with 3 additions and 6 deletions
@@ -442,6 +442,9 @@ self: super: builtins.intersectAttrs super {
[ pkgs.darwin.apple_sdk.frameworks.OpenCL ];
});
# requires an X11 display in test suite
gi-gtk-declarative = dontCheck super.gi-gtk-declarative;
# depends on 'hie' executable
lsp-test = dontCheck super.lsp-test;