diff options
author | Jack Kelly <jack@jackkelly.name> | 2019-01-09 13:19:17 +1100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2019-02-02 13:11:53 +0100 |
commit | 528251c37b1e55cf6b91c298c970ab0d42f7014a (patch) | |
tree | d7a65be007f1817d315f15240fd15de70af5af6b /pkgs/development/haskell-modules/configuration-common.nix | |
parent | f5d52c1949d5b209becb1a832453c73a84198f58 (diff) | |
download | nixlib-528251c37b1e55cf6b91c298c970ab0d42f7014a.tar nixlib-528251c37b1e55cf6b91c298c970ab0d42f7014a.tar.gz nixlib-528251c37b1e55cf6b91c298c970ab0d42f7014a.tar.bz2 nixlib-528251c37b1e55cf6b91c298c970ab0d42f7014a.tar.lz nixlib-528251c37b1e55cf6b91c298c970ab0d42f7014a.tar.xz nixlib-528251c37b1e55cf6b91c298c970ab0d42f7014a.tar.zst nixlib-528251c37b1e55cf6b91c298c970ab0d42f7014a.zip |
haskellPackages.servant-docs: jailbreak
Upstream doesn't publish releases or revisions to relax test bounds.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 174ab1a8a7ae..f0fa623517c2 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -931,7 +931,12 @@ self: super: { # aarch64 and armv7l fixes. happy = if (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) then dontCheck super.happy else super.happy; # Similar to https://ghc.haskell.org/trac/ghc/ticket/13062 hashable = if (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) then dontCheck super.hashable else super.hashable; # https://github.com/tibbe/hashable/issues/95 - servant-docs = if (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) then dontCheck super.servant-docs else super.servant-docs; + servant-docs = + let + f = if (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) + then dontCheck + else pkgs.lib.id; + in doJailbreak (f super.servant-docs); # jailbreak tasty < 1.2 until servant-docs > 0.11.3 is on hackage. swagger2 = if (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) then dontHaddock (dontCheck super.swagger2) else super.swagger2; # requires a release including https://github.com/haskell-servant/servant-swagger/commit/249530d9f85fe76dfb18b100542f75a27e6a3079 |