mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
haskellPackages.tasty-discover: disable broken test suite
This commit is contained in:
parent
521c788e8f
commit
07ac1b4fa0
@ -576,12 +576,10 @@ self: super: {
|
||||
# else dontCheck super.doctest-discover);
|
||||
doctest-discover = dontCheck super.doctest-discover;
|
||||
|
||||
tasty-discover = overrideCabal (drv: {
|
||||
# Depends on itself for testing
|
||||
preBuild = ''
|
||||
export PATH="$PWD/dist/build/tasty-discover:$PATH"
|
||||
'' + (drv.preBuild or "");
|
||||
}) super.tasty-discover;
|
||||
# Test suite is missing an import from hspec
|
||||
# https://github.com/haskell-works/tasty-discover/issues/9
|
||||
# https://github.com/commercialhaskell/stackage/issues/6584#issuecomment-1326522815
|
||||
tasty-discover = assert super.tasty-discover.version == "4.2.2"; dontCheck super.tasty-discover;
|
||||
|
||||
# Known issue with nondeterministic test suite failure
|
||||
# https://github.com/nomeata/tasty-expected-failure/issues/21
|
||||
|
@ -359,6 +359,13 @@ self: super: builtins.intersectAttrs super {
|
||||
preCheck = ''export PATH="$PWD/dist/build/ghcide:$PATH"'';
|
||||
}) super.ghcide;
|
||||
|
||||
tasty-discover = overrideCabal (drv: {
|
||||
# Depends on itself for testing
|
||||
preBuild = ''
|
||||
export PATH="$PWD/dist/build/tasty-discover:$PATH"
|
||||
'' + (drv.preBuild or "");
|
||||
}) super.tasty-discover;
|
||||
|
||||
# GLUT uses `dlopen` to link to freeglut, so we need to set the RUNPATH correctly for
|
||||
# it to find `libglut.so` from the nix store. We do this by patching GLUT.cabal to pkg-config
|
||||
# depend on freeglut, which provides GHC to necessary information to generate a correct RPATH.
|
||||
|
Loading…
Reference in New Issue
Block a user