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-21 18:43:13 +03:00
parent 286f0c0704
commit 186d01eff3
No known key found for this signature in database
GPG Key ID: E081FF12ADCB4AD5
3 changed files with 3 additions and 6 deletions

View File

@ -5270,8 +5270,6 @@ broken-packages:
- gi-gsk
- gi-gstpbutils
- gi-gsttag
- gi-gtk-declarative
- gi-gtk-declarative-app-simple
- gi-gtkosxapplication
- gi-handy
- gi-poppler

View File

@ -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;

View File

@ -99083,8 +99083,6 @@ self: {
];
description = "Declarative GTK+ programming in Haskell";
license = stdenv.lib.licenses.mpl20;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
"gi-gtk-declarative-app-simple" = callPackage
@ -99103,8 +99101,6 @@ self: {
];
description = "Declarative GTK+ programming in Haskell in the style of Pux";
license = stdenv.lib.licenses.mpl20;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
"gi-gtk-hs" = callPackage