2017-02-02 16:49:28 +01:00
|
|
|
# COMMON OVERRIDES FOR THE HASKELL PACKAGE SET IN NIXPKGS
|
|
|
|
#
|
|
|
|
# This file contains haskell package overrides that are shared by all
|
|
|
|
# haskell package sets provided by nixpkgs and distributed via the official
|
|
|
|
# NixOS hydra instance.
|
|
|
|
#
|
|
|
|
# Overrides that would also make sense for custom haskell package sets not provided
|
|
|
|
# as part of nixpkgs and that are specific to Nix should go in configuration-nix.nix
|
|
|
|
#
|
|
|
|
# See comment at the top of configuration-nix.nix for more information about this
|
|
|
|
# distinction.
|
2018-07-04 13:18:21 +02:00
|
|
|
{ pkgs, haskellLib }:
|
2015-01-07 20:31:32 +01:00
|
|
|
|
2022-03-24 19:19:57 +01:00
|
|
|
let
|
2024-09-20 09:56:58 +08:00
|
|
|
inherit (pkgs) fetchpatch lib;
|
|
|
|
inherit (lib) throwIfNot versionOlder;
|
2022-03-24 19:19:57 +01:00
|
|
|
in
|
|
|
|
|
2017-08-01 12:44:08 -04:00
|
|
|
with haskellLib;
|
2015-01-07 20:31:32 +01:00
|
|
|
|
|
|
|
self: super: {
|
2024-11-17 03:37:48 +00:00
|
|
|
# https://github.com/ivanperez-keera/dunai/issues/427
|
|
|
|
dunai = addBuildDepend self.list-transformer (enableCabalFlag "list-transformer" super.dunai);
|
2024-08-05 15:28:02 +02:00
|
|
|
|
2024-11-01 13:17:30 +01:00
|
|
|
# Make sure that Cabal_* can be built as-is
|
|
|
|
Cabal_3_10_3_0 = doDistribute (super.Cabal_3_10_3_0.override {
|
2024-04-01 11:20:16 +02:00
|
|
|
Cabal-syntax = self.Cabal-syntax_3_10_3_0;
|
2024-11-01 13:17:30 +01:00
|
|
|
});
|
|
|
|
Cabal_3_12_1_0 = doDistribute (super.Cabal_3_12_1_0.override {
|
2024-07-19 22:12:08 +02:00
|
|
|
Cabal-syntax = self.Cabal-syntax_3_12_1_0;
|
2024-11-01 13:17:30 +01:00
|
|
|
});
|
2025-01-16 15:54:34 +01:00
|
|
|
Cabal_3_14_1_1 = overrideCabal (drv: {
|
|
|
|
# Revert increased lower bound on unix since we have backported
|
|
|
|
# the required patch to all GHC bundled versions of unix.
|
|
|
|
postPatch = drv.postPatch or "" + ''
|
|
|
|
substituteInPlace Cabal.cabal --replace-fail "unix >= 2.8.6.0" "unix >= 2.6.0.0"
|
|
|
|
'';
|
|
|
|
}) (doDistribute (super.Cabal_3_14_1_1.override {
|
2024-12-24 14:41:09 +01:00
|
|
|
Cabal-syntax = self.Cabal-syntax_3_14_1_0;
|
2025-01-16 15:54:34 +01:00
|
|
|
}));
|
2023-03-14 13:43:01 +01:00
|
|
|
|
2023-02-18 19:18:05 +01:00
|
|
|
# cabal-install needs most recent versions of Cabal and Cabal-syntax,
|
|
|
|
# so we need to put some extra work for non-latest GHCs
|
|
|
|
inherit (
|
|
|
|
let
|
|
|
|
# !!! Use cself/csuper inside for the actual overrides
|
|
|
|
cabalInstallOverlay = cself: csuper:
|
2025-01-05 18:55:06 +01:00
|
|
|
lib.optionalAttrs (lib.versionOlder self.ghc.version "9.12") {
|
2025-01-05 13:57:12 +01:00
|
|
|
Cabal = cself.Cabal_3_14_1_1;
|
2024-12-25 20:04:32 +01:00
|
|
|
Cabal-syntax = cself.Cabal-syntax_3_14_1_0;
|
2023-02-18 19:18:05 +01:00
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
2024-05-28 16:31:39 -07:00
|
|
|
cabal-install =
|
|
|
|
let
|
|
|
|
cabal-install = super.cabal-install.overrideScope cabalInstallOverlay;
|
|
|
|
scope = cabal-install.scope;
|
|
|
|
in
|
|
|
|
# Some dead code is not properly eliminated on aarch64-darwin, leading
|
|
|
|
# to bogus references to some dependencies.
|
|
|
|
overrideCabal (old: lib.optionalAttrs (pkgs.stdenv.hostPlatform.isDarwin && pkgs.stdenv.hostPlatform.isAarch64) {
|
|
|
|
postInstall = ''
|
|
|
|
${old.postInstall or ""}
|
|
|
|
remove-references-to -t ${scope.HTTP} "$out/bin/.cabal-wrapped"
|
2025-01-30 20:20:07 +01:00
|
|
|
# if we don't override Cabal, it is taken from ghc's core libs
|
|
|
|
remove-references-to -t ${if scope.Cabal != null then scope.Cabal else scope.ghc} "$out/bin/.cabal-wrapped"
|
2024-05-28 16:31:39 -07:00
|
|
|
'';
|
|
|
|
}) cabal-install;
|
|
|
|
|
2023-02-18 19:18:05 +01:00
|
|
|
cabal-install-solver = super.cabal-install-solver.overrideScope cabalInstallOverlay;
|
2023-02-18 20:33:07 +01:00
|
|
|
|
2023-07-02 14:29:50 +09:00
|
|
|
# Needs cabal-install >= 3.8 /as well as/ matching Cabal
|
|
|
|
guardian =
|
|
|
|
lib.pipe
|
|
|
|
(super.guardian.overrideScope cabalInstallOverlay)
|
|
|
|
[
|
|
|
|
# Tests need internet access (run stack)
|
|
|
|
dontCheck
|
|
|
|
# May as well…
|
|
|
|
(self.generateOptparseApplicativeCompletions [ "guardian" ])
|
|
|
|
];
|
2023-02-18 19:18:05 +01:00
|
|
|
}
|
|
|
|
) cabal-install
|
|
|
|
cabal-install-solver
|
2023-02-18 20:33:07 +01:00
|
|
|
guardian
|
2023-02-18 19:18:05 +01:00
|
|
|
;
|
|
|
|
|
2024-01-06 16:35:08 +01:00
|
|
|
# Extensions wants the latest version of Cabal for its list of Haskell
|
|
|
|
# language extensions.
|
2024-01-15 12:03:03 +01:00
|
|
|
# 2024-01-15: jailbreak to allow hspec-hedgehog 0.1.1.0 https://github.com/kowainik/extensions/pull/92
|
|
|
|
extensions = doJailbreak (super.extensions.override {
|
2024-01-06 16:35:08 +01:00
|
|
|
Cabal =
|
|
|
|
if versionOlder self.ghc.version "9.6"
|
2024-04-01 11:20:16 +02:00
|
|
|
then self.Cabal_3_10_3_0
|
2024-01-06 16:35:08 +01:00
|
|
|
else null; # use GHC bundled version
|
2024-01-15 12:03:03 +01:00
|
|
|
});
|
2024-01-04 13:23:25 +01:00
|
|
|
|
2023-04-01 15:33:25 +02:00
|
|
|
#######################################
|
|
|
|
### HASKELL-LANGUAGE-SERVER SECTION ###
|
|
|
|
#######################################
|
|
|
|
|
2024-07-07 13:53:34 +02:00
|
|
|
# All jailbreaks in this section due to: https://github.com/haskell/haskell-language-server/pull/4316#discussion_r1667684895
|
2024-11-07 11:38:24 -08:00
|
|
|
haskell-language-server =
|
|
|
|
lib.pipe
|
|
|
|
(super.haskell-language-server.overrideScope (lself: lsuper: {
|
|
|
|
# For most ghc versions, we overrideScope Cabal in the configuration-ghc-???.nix,
|
|
|
|
# because some packages, like ormolu, need a newer Cabal version.
|
|
|
|
# ghc-paths is special because it depends on Cabal for building
|
|
|
|
# its Setup.hs, and therefor declares a Cabal dependency, but does
|
|
|
|
# not actually use it as a build dependency.
|
|
|
|
# That means ghc-paths can just use the ghc included Cabal version,
|
|
|
|
# without causing package-db incoherence and we should do that because
|
|
|
|
# otherwise we have different versions of ghc-paths
|
|
|
|
# around which have the same abi-hash, which can lead to confusions and conflicts.
|
|
|
|
ghc-paths = lsuper.ghc-paths.override { Cabal = null; };
|
|
|
|
}))
|
|
|
|
[
|
|
|
|
doJailbreak
|
|
|
|
dontCheck
|
|
|
|
];
|
|
|
|
|
2024-07-07 13:53:34 +02:00
|
|
|
hls-plugin-api = doJailbreak super.hls-plugin-api;
|
2024-11-09 15:54:46 +01:00
|
|
|
ghcide = doJailbreak (appendPatch (pkgs.fetchpatch {
|
|
|
|
name = "ghcide-ghc-9.8.3.patch";
|
|
|
|
url = "https://github.com/haskell/haskell-language-server/commit/6d0a6f220226fe6c1cb5b6533177deb55e755b0b.patch";
|
|
|
|
sha256 = "1jwxldar9qzkg2z6vsx8f2yih3vkf4yjk9p3mryv0azn929qn3h1";
|
|
|
|
stripLen = 1;
|
|
|
|
excludes = [ "cabal.project" ];
|
|
|
|
}) super.ghcide);
|
2023-10-18 23:44:37 +02:00
|
|
|
|
2023-04-01 15:33:25 +02:00
|
|
|
# For -f-auto see cabal.project in haskell-language-server.
|
|
|
|
ghc-lib-parser-ex = addBuildDepend self.ghc-lib-parser (disableCabalFlag "auto" super.ghc-lib-parser-ex);
|
|
|
|
|
|
|
|
###########################################
|
|
|
|
### END HASKELL-LANGUAGE-SERVER SECTION ###
|
|
|
|
###########################################
|
|
|
|
|
2023-10-18 23:44:37 +02:00
|
|
|
# Test ldap server test/ldap.js is missing from sdist
|
|
|
|
# https://github.com/supki/ldap-client/issues/18
|
|
|
|
ldap-client-og = dontCheck super.ldap-client-og;
|
|
|
|
|
2024-01-06 18:20:47 +01:00
|
|
|
# Support for template-haskell >= 2.16
|
|
|
|
language-haskell-extract = appendPatch (pkgs.fetchpatch {
|
|
|
|
url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/language-haskell-extract-0.2.4.patch";
|
|
|
|
sha256 = "0w4y3v69nd3yafpml4gr23l94bdhbmx8xky48a59lckmz5x9fgxv";
|
|
|
|
}) (doJailbreak super.language-haskell-extract);
|
|
|
|
|
2023-03-20 14:14:41 +01:00
|
|
|
vector = overrideCabal (old: {
|
|
|
|
# Too strict bounds on doctest which isn't used, but is part of the configuration
|
|
|
|
jailbreak = true;
|
|
|
|
# vector-doctest seems to be broken when executed via ./Setup test
|
|
|
|
testTarget = lib.concatStringsSep " " [
|
|
|
|
"vector-tests-O0"
|
|
|
|
"vector-tests-O2"
|
|
|
|
];
|
|
|
|
}) super.vector;
|
2023-02-18 19:18:05 +01:00
|
|
|
|
2023-08-17 01:40:00 +02:00
|
|
|
# Too strict bounds on base
|
|
|
|
# https://github.com/lspitzner/butcher/issues/7#issuecomment-1681394943
|
|
|
|
butcher = doJailbreak super.butcher;
|
2023-08-17 09:30:05 +02:00
|
|
|
# https://github.com/lspitzner/data-tree-print/issues/4
|
|
|
|
data-tree-print = doJailbreak super.data-tree-print;
|
2023-08-17 01:40:37 +02:00
|
|
|
# … and template-haskell.
|
|
|
|
# https://github.com/lspitzner/czipwith/issues/5
|
|
|
|
czipwith = doJailbreak super.czipwith;
|
|
|
|
|
2024-12-21 03:43:37 +01:00
|
|
|
# jacinda needs latest version of alex and happy
|
2024-03-21 21:29:23 +01:00
|
|
|
jacinda = super.jacinda.override {
|
2025-01-27 13:32:46 +01:00
|
|
|
happy = self.happy_2_1_4;
|
2024-03-21 21:29:23 +01:00
|
|
|
};
|
|
|
|
|
2024-11-27 23:12:54 +01:00
|
|
|
# Test suite hangs on 32bit. Unclear if this is a bug or not, but if so, then
|
|
|
|
# it has been present in past versions as well.
|
|
|
|
# https://github.com/haskell-unordered-containers/unordered-containers/issues/491
|
|
|
|
unordered-containers =
|
|
|
|
if pkgs.stdenv.hostPlatform.is32bit
|
|
|
|
then dontCheck super.unordered-containers
|
|
|
|
else super.unordered-containers;
|
|
|
|
|
2024-02-10 15:42:35 +01:00
|
|
|
aeson =
|
2023-08-14 15:31:46 +02:00
|
|
|
# aeson's test suite includes some tests with big numbers that fail on 32bit
|
|
|
|
# https://github.com/haskell/aeson/issues/1060
|
2024-02-10 15:42:35 +01:00
|
|
|
dontCheckIf pkgs.stdenv.hostPlatform.is32bit
|
|
|
|
# Deal with infinite and NaN values generated by QuickCheck-2.14.3
|
2025-01-11 14:48:58 +01:00
|
|
|
super.aeson;
|
2023-06-08 14:35:21 +02:00
|
|
|
|
2023-06-28 00:29:56 +02:00
|
|
|
# 2023-06-28: Test error: https://hydra.nixos.org/build/225565149
|
|
|
|
orbits = dontCheck super.orbits;
|
|
|
|
|
2024-01-07 17:57:37 +01:00
|
|
|
# Too strict bounds on hspec < 2.11
|
|
|
|
http-api-data = doJailbreak super.http-api-data;
|
2024-01-08 11:45:16 +01:00
|
|
|
tasty-discover = doJailbreak super.tasty-discover;
|
2024-01-07 17:57:37 +01:00
|
|
|
|
2024-12-31 13:39:19 +01:00
|
|
|
# Too strict lower bound on lens, drop with LTS 23
|
|
|
|
provide = doJailbreak super.provide;
|
2024-12-31 13:39:37 +01:00
|
|
|
# Too strict bounds on quickcheck-instances/tasty-qickcheck, drop with LTS 23
|
|
|
|
lawful-conversions = doJailbreak super.lawful-conversions;
|
|
|
|
|
2024-09-13 03:04:59 +02:00
|
|
|
# Out of date test data: https://github.com/ocharles/weeder/issues/176
|
|
|
|
weeder = appendPatch (pkgs.fetchpatch {
|
|
|
|
name = "weeder-2.9.0-test-fix-expected.patch";
|
|
|
|
url = "https://github.com/ocharles/weeder/commit/56028d0c80fe89d4f2ae25275aedb72714fec7da.patch";
|
|
|
|
sha256 = "10zkvclyir3zf21v41zdsvg68vrkq89n64kv9k54742am2i4aygf";
|
|
|
|
}) super.weeder;
|
|
|
|
|
2023-07-11 22:56:25 +02:00
|
|
|
# Allow aeson == 2.1.*
|
|
|
|
# https://github.com/hdgarrood/aeson-better-errors/issues/23
|
2024-03-19 14:11:53 -06:00
|
|
|
aeson-better-errors = lib.pipe super.aeson-better-errors [
|
|
|
|
doJailbreak
|
|
|
|
(appendPatches [
|
|
|
|
# https://github.com/hdgarrood/aeson-better-errors/pull/25
|
|
|
|
(fetchpatch {
|
|
|
|
name = "mtl-2-3.patch";
|
|
|
|
url = "https://github.com/hdgarrood/aeson-better-errors/commit/1ec49ab7d1472046b680b5a64ae2930515b47714.patch";
|
|
|
|
hash = "sha256-xuuocWxSoBDclVp0bJ9UrDamVcDVOAFgJIi/un1xBvk=";
|
|
|
|
})
|
|
|
|
])
|
|
|
|
];
|
2023-07-11 22:56:25 +02:00
|
|
|
|
2024-08-26 17:29:20 +02:00
|
|
|
# Version 2.1.1 is deprecated, but part of Stackage LTS at the moment.
|
|
|
|
# https://github.com/commercialhaskell/stackage/issues/7500
|
|
|
|
# https://github.com/yesodweb/shakespeare/issues/280
|
|
|
|
shakespeare = doDistribute self.shakespeare_2_1_0_1;
|
|
|
|
|
2023-08-09 15:15:20 +02:00
|
|
|
# 2023-08-09: Jailbreak because of vector < 0.13
|
2023-11-09 15:28:11 +01:00
|
|
|
# 2023-11-09: don't check because of https://github.com/tweag/monad-bayes/pull/326
|
2024-01-07 23:41:48 +01:00
|
|
|
monad-bayes = dontCheck (doJailbreak super.monad-bayes);
|
2023-06-28 00:30:21 +02:00
|
|
|
|
2023-06-09 12:28:05 +02:00
|
|
|
# Disable tests failing on odd floating point numbers generated by QuickCheck 2.14.3
|
|
|
|
# https://github.com/haskell/statistics/issues/205
|
|
|
|
statistics = overrideCabal (drv: {
|
|
|
|
testFlags = [
|
|
|
|
"-p" "! (/Pearson correlation/ || /t_qr/ || /Tests for: FDistribution.1-CDF is correct/)"
|
|
|
|
];
|
|
|
|
}) super.statistics;
|
|
|
|
|
2024-12-15 23:58:12 +01:00
|
|
|
# Work around -Werror failures until a more permanent solution is released
|
|
|
|
# https://github.com/haskell-cryptography/HsOpenSSL/issues/88
|
|
|
|
# https://github.com/haskell-cryptography/HsOpenSSL/issues/93
|
|
|
|
# https://github.com/haskell-cryptography/HsOpenSSL/issues/95
|
|
|
|
HsOpenSSL = appendConfigureFlags [
|
2024-12-21 20:15:26 +01:00
|
|
|
"--ghc-option=-optc=-Wno-error=incompatible-pointer-types"
|
2024-12-15 23:58:12 +01:00
|
|
|
] super.HsOpenSSL;
|
2024-12-22 13:42:53 +01:00
|
|
|
# Work around compilation failures with gcc >= 14
|
|
|
|
# https://github.com/audreyt/hssyck/issues/5
|
2024-12-21 20:15:26 +01:00
|
|
|
HsSyck = appendConfigureFlags [
|
|
|
|
"--ghc-option=-optc=-Wno-error=implicit-function-declaration"
|
|
|
|
] super.HsSyck;
|
2024-12-22 13:42:53 +01:00
|
|
|
# https://github.com/rethab/bindings-dsl/issues/46
|
2024-12-21 20:31:20 +01:00
|
|
|
bindings-libcddb = appendConfigureFlags [
|
|
|
|
"--ghc-option=-optc=-Wno-error=incompatible-pointer-types"
|
|
|
|
] super.bindings-libcddb;
|
2024-12-22 13:42:53 +01:00
|
|
|
# https://github.com/ocramz/hdf5-lite/issues/3
|
2024-12-21 20:31:20 +01:00
|
|
|
hdf5-lite = appendConfigureFlags [
|
|
|
|
"--ghc-option=-optc=-Wno-error=implicit-function-declaration"
|
|
|
|
] super.hdf5-lite;
|
2024-12-22 13:42:53 +01:00
|
|
|
# https://github.com/awkward-squad/termbox/issues/5
|
2024-12-22 13:02:06 +01:00
|
|
|
termbox-bindings-c = appendConfigureFlags [
|
|
|
|
"--ghc-option=-optc=-Wno-error=implicit-function-declaration"
|
|
|
|
] super.termbox-bindings-c;
|
2024-12-15 23:58:12 +01:00
|
|
|
|
2021-11-16 12:25:31 +01:00
|
|
|
# There are numerical tests on random data, that may fail occasionally
|
|
|
|
lapack = dontCheck super.lapack;
|
|
|
|
|
2024-01-18 09:49:14 +01:00
|
|
|
# currently, cabal-plan seems to get not much maintenance
|
|
|
|
cabal-plan = doJailbreak super.cabal-plan;
|
|
|
|
|
2024-03-20 13:15:42 +01:00
|
|
|
# support for transformers >= 0.6
|
2025-01-30 04:03:03 +00:00
|
|
|
lifted-base = appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/basvandijk/lifted-base/commit/6b61483ec7fd0d5d5d56ccb967860d42740781e8.patch";
|
|
|
|
sha256 = "sha256-b29AVDiEMcShceRJyKEauK/411UkOh3ME9AnKEYvcEs=";
|
|
|
|
}) super.lifted-base;
|
2024-03-20 13:15:42 +01:00
|
|
|
|
2024-06-05 12:42:11 +02:00
|
|
|
leveldb-haskell = overrideCabal (drv: {
|
|
|
|
version = "2024-05-05-unstable";
|
|
|
|
# Fix tests on mtl ≥ 2.3
|
|
|
|
# https://github.com/kim/leveldb-haskell/pull/42
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "kim";
|
|
|
|
repo = "leveldb-haskell";
|
|
|
|
rev = "3a505f3a7de0f5d14463538d7c2c9a9881a60eb9";
|
|
|
|
sha256 = "sha256-okUn5ZuWcj8vPr0GWXvO1LygNCrDfttkDaUoOt+FLA0=";
|
|
|
|
};
|
2022-04-02 02:56:35 +02:00
|
|
|
}) super.leveldb-haskell;
|
|
|
|
|
2024-06-23 13:10:27 +02:00
|
|
|
# 2024-06-23: Hourglass is archived and had its last commit 6 years ago.
|
|
|
|
# Patch is needed to add support for time 1.10, which is only used in the tests
|
|
|
|
# https://github.com/vincenthz/hs-hourglass/pull/56
|
|
|
|
# Jailbreak is needed because a hackage revision added the (correct) time <1.10 bound.
|
2024-06-23 13:48:09 +02:00
|
|
|
hourglass = doJailbreak
|
2024-06-23 13:10:27 +02:00
|
|
|
(appendPatches [
|
|
|
|
(pkgs.fetchpatch {
|
|
|
|
name = "hourglass-pr-56.patch";
|
|
|
|
url =
|
|
|
|
"https://github.com/vincenthz/hs-hourglass/commit/cfc2a4b01f9993b1b51432f0a95fa6730d9a558a.patch";
|
|
|
|
sha256 = "sha256-gntZf7RkaR4qzrhjrXSC69jE44SknPDBmfs4z9rVa5Q=";
|
|
|
|
})
|
|
|
|
] super.hourglass);
|
|
|
|
|
2019-10-14 19:22:06 +02:00
|
|
|
# Arion's test suite needs a Nixpkgs, which is cumbersome to do from Nixpkgs
|
|
|
|
# itself. For instance, pkgs.path has dirty sources and puts a huge .git in the
|
|
|
|
# store. Testing is done upstream.
|
2023-08-18 10:19:15 +02:00
|
|
|
arion-compose = dontCheck super.arion-compose;
|
2019-10-14 19:22:06 +02:00
|
|
|
|
2023-07-17 00:50:39 +02:00
|
|
|
# 2023-07-17: Outdated base bound https://github.com/srid/lvar/issues/5
|
|
|
|
lvar = doJailbreak super.lvar;
|
|
|
|
|
2017-07-26 10:09:05 +02:00
|
|
|
# This used to be a core package provided by GHC, but then the compiler
|
|
|
|
# dropped it. We define the name here to make sure that old packages which
|
|
|
|
# depend on this library still evaluate (even though they won't compile
|
|
|
|
# successfully with recent versions of the compiler).
|
|
|
|
bin-package-db = null;
|
|
|
|
|
2023-06-24 11:38:59 +02:00
|
|
|
# Unnecessarily requires alex >= 3.3
|
|
|
|
# https://github.com/glguy/config-value/commit/c5558c8258598fab686c259bff510cc1b19a0c50#commitcomment-119514821
|
|
|
|
config-value = doJailbreak super.config-value;
|
|
|
|
|
2023-09-03 17:27:34 +02:00
|
|
|
# path-io bound is adjusted in 0.6.1 release
|
|
|
|
# https://github.com/tek/hix/commit/019426f6a3db256e4c96558ffe6fa2114e2f19a0
|
|
|
|
hix = doJailbreak super.hix;
|
|
|
|
|
2020-06-04 18:18:03 +02:00
|
|
|
# waiting for release: https://github.com/jwiegley/c2hsc/issues/41
|
2022-03-24 19:19:57 +01:00
|
|
|
c2hsc = appendPatch (fetchpatch {
|
2020-06-04 18:18:03 +02:00
|
|
|
url = "https://github.com/jwiegley/c2hsc/commit/490ecab202e0de7fc995eedf744ad3cb408b53cc.patch";
|
|
|
|
sha256 = "1c7knpvxr7p8c159jkyk6w29653z5yzgjjqj11130bbb8mk9qhq7";
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.c2hsc;
|
2020-06-04 18:18:03 +02:00
|
|
|
|
2024-04-23 00:28:01 +02:00
|
|
|
ghc-debug-client = doJailbreak super.ghc-debug-client;
|
2023-04-17 23:45:03 +02:00
|
|
|
|
2024-01-15 18:40:22 +09:00
|
|
|
# Test failure. Tests also disabled in Stackage:
|
|
|
|
# https://github.com/jtdaugherty/brick/issues/499
|
|
|
|
brick = dontCheck super.brick;
|
|
|
|
|
2019-06-01 17:44:48 +02:00
|
|
|
# Needs older QuickCheck version
|
|
|
|
attoparsec-varword = dontCheck super.attoparsec-varword;
|
|
|
|
|
2018-06-25 22:05:53 +02:00
|
|
|
# These packages (and their reverse deps) cannot be built with profiling enabled.
|
|
|
|
ghc-heap-view = disableLibraryProfiling super.ghc-heap-view;
|
|
|
|
ghc-datasize = disableLibraryProfiling super.ghc-datasize;
|
2021-10-20 23:36:35 +03:00
|
|
|
ghc-vis = disableLibraryProfiling super.ghc-vis;
|
2018-06-25 22:05:53 +02:00
|
|
|
|
2025-01-08 21:27:33 +01:00
|
|
|
# Fix 32bit struct being used for 64bit syscall on 32bit platforms
|
|
|
|
# https://github.com/haskellari/lukko/issues/15
|
|
|
|
lukko = appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "lukko-ofd-locking-32bit.patch";
|
|
|
|
url = "https://github.com/haskellari/lukko/pull/32/commits/4e69ffad996c3771f50017b97375af249dd17c85.patch";
|
|
|
|
sha256 = "0n8vig48irjz0jckc20dzc23k16fl5hznrc0a81y02ms72msfwi1";
|
|
|
|
})
|
|
|
|
] super.lukko;
|
|
|
|
|
2023-08-14 20:10:25 +02:00
|
|
|
# Fixes compilation for basement on i686 for GHC >= 9.4
|
|
|
|
# https://github.com/haskell-foundation/foundation/pull/573
|
|
|
|
# Patch would not work for GHC >= 9.2 where it breaks compilation on x86_64
|
|
|
|
# https://github.com/haskell-foundation/foundation/pull/573#issuecomment-1669468867
|
|
|
|
# TODO(@sternenseemann): make unconditional
|
|
|
|
basement = appendPatches (lib.optionals pkgs.stdenv.hostPlatform.is32bit [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "basement-i686-ghc-9.4.patch";
|
|
|
|
url = "https://github.com/haskell-foundation/foundation/pull/573/commits/38be2c93acb6f459d24ed6c626981c35ccf44095.patch";
|
|
|
|
sha256 = "17kz8glfim29vyhj8idw8bdh3id5sl9zaq18zzih3schfvyjppj7";
|
|
|
|
stripLen = 1;
|
|
|
|
})
|
|
|
|
]) super.basement;
|
|
|
|
|
2023-08-14 20:11:00 +02:00
|
|
|
# Fixes compilation of memory with GHC >= 9.4 on 32bit platforms
|
|
|
|
# https://github.com/vincenthz/hs-memory/pull/99
|
|
|
|
memory = appendPatches (lib.optionals pkgs.stdenv.hostPlatform.is32bit [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "memory-i686-ghc-9.4.patch";
|
|
|
|
url = "https://github.com/vincenthz/hs-memory/pull/99/commits/2738929ce15b4c8704bbbac24a08539b5d4bf30e.patch";
|
|
|
|
sha256 = "196rj83iq2k249132xsyhbbl81qi1j23h9pa6mmk6zvxpcf63yfw";
|
|
|
|
})
|
|
|
|
]) super.memory;
|
|
|
|
|
2024-03-13 13:25:12 +01:00
|
|
|
# Depends on outdated deps hedgehog < 1.4, doctest < 0.12 for tests
|
|
|
|
# As well as deepseq < 1.5 (so it forbids GHC 9.8)
|
|
|
|
hw-fingertree = doJailbreak super.hw-fingertree;
|
|
|
|
|
2024-12-31 22:03:32 +01:00
|
|
|
# Test suite is slow and sometimes comes up with counter examples.
|
|
|
|
# Upstream is aware (https://github.com/isovector/nspace/issues/1),
|
|
|
|
# if it's a bug, at least doesn't seem to be nixpkgs-specific.
|
|
|
|
nspace = dontCheck super.nspace;
|
|
|
|
|
2025-01-18 13:17:18 +01:00
|
|
|
# Unreleased commits relaxing bounds on various dependencies
|
|
|
|
gitit = appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "gitit-allow-hoauth2-2.14.patch";
|
|
|
|
url = "https://github.com/jgm/gitit/commit/58a226c48b37f076ccc1b94ad88a9ffc05f983cc.patch";
|
|
|
|
sha256 = "1fvfzbas18vsv9qvddp6g82hy9hdgz34n51w6dpkd7cm4sl07pjv";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
name = "gitit-allow-pandoc-3.6.patch";
|
|
|
|
url = "https://github.com/jgm/gitit/commit/c57c790fa0db81d383f22901a0db4ffe90f1bfcc.patch";
|
|
|
|
sha256 = "0nbzxyc9gkhkag1fhv3qmw5zgblhbz0axrlsismrcvdzr28amii8";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
name = "gitit-allow-zlib-0.7-network-3.2.patch";
|
|
|
|
url = "https://github.com/jgm/gitit/commit/efaee62bc32c558e618ad34458fa2ef85cb8eb1e.patch";
|
|
|
|
sha256 = "1ghky3afnib56w102mh09cz2alfyq743164mnjywwfl6a6yl6i5h";
|
|
|
|
})
|
|
|
|
] super.gitit;
|
|
|
|
|
2024-03-10 13:47:16 +01:00
|
|
|
# 2024-03-10: Maintainance stalled, fixes unmerged: https://github.com/haskell/ThreadScope/pull/130
|
|
|
|
threadscope = overrideCabal (drv: {
|
|
|
|
prePatch = drv.prePatch or "" + ''
|
|
|
|
${pkgs.buildPackages.dos2unix}/bin/dos2unix *.cabal
|
|
|
|
'';
|
|
|
|
editedCabalFile = null;
|
|
|
|
revision = null;
|
|
|
|
})
|
|
|
|
(appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "loosen-bounds-1.patch";
|
|
|
|
url = "https://github.com/haskell/ThreadScope/commit/8f9f21449adb3af07eed539dcaf267c9c9ee987b.patch";
|
|
|
|
sha256 = "sha256-egKM060QplSmUeDptHXoSom1vf5KBrvNcjb2Vk59N7A=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
name = "loosen-bounds-2.patch";
|
|
|
|
url = "https://github.com/haskell/ThreadScope/commit/f366a9ee455eda16cd6a4dc26f0275e2cf2b5798.patch";
|
|
|
|
sha256 = "sha256-DaPTK5LRbZZS1KDIr5X/eXQasqtofrCteTbUQUZPu0Q=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
name = "loosen-bounds-3.patch";
|
|
|
|
url = "https://github.com/haskell/ThreadScope/commit/12819abaa2322976004b7582e598db1cf952707a.patch";
|
|
|
|
sha256 = "sha256-r7MVw8wwKU4R5VmcypBzhOBfTlRCISoRJtwie3+2Vb0=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
name = "import-monad.patch";
|
|
|
|
url = "https://github.com/haskell/ThreadScope/commit/8846508e9769a8dfd82b3ff66259ba4d58255932.patch";
|
|
|
|
sha256 = "sha256-wBqDJWmqvmU1sFuw/ZlxHOb8xPhZO2RBuyYFP9bJCVI=";
|
|
|
|
})
|
|
|
|
]
|
|
|
|
super.threadscope);
|
2023-06-10 09:53:47 +02:00
|
|
|
|
2022-02-08 12:34:38 +03:00
|
|
|
# The latest release on hackage has an upper bound on containers which
|
|
|
|
# breaks the build, though it works with the version of containers present
|
|
|
|
# and the upper bound doesn't exist in code anymore:
|
|
|
|
# > https://github.com/roelvandijk/numerals
|
|
|
|
numerals = doJailbreak (dontCheck super.numerals);
|
|
|
|
|
2024-02-16 23:40:20 -07:00
|
|
|
# Bound on containers is too strict but jailbreak doesn't work with conditional flags
|
|
|
|
# https://github.com/NixOS/jailbreak-cabal/issues/24
|
|
|
|
containers-unicode-symbols = overrideCabal {
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace containers-unicode-symbols.cabal \
|
|
|
|
--replace 'containers >= 0.5 && < 0.6.5' 'containers'
|
|
|
|
'';
|
|
|
|
} super.containers-unicode-symbols;
|
|
|
|
|
2024-02-16 23:57:46 -07:00
|
|
|
# Test file not included on hackage
|
|
|
|
numerals-base = dontCheck (doJailbreak super.numerals-base);
|
|
|
|
|
2016-08-15 13:05:55 +01:00
|
|
|
# This test keeps being aborted because it runs too quietly for too long
|
|
|
|
Lazy-Pbkdf2 = if pkgs.stdenv.hostPlatform.isi686 then dontCheck super.Lazy-Pbkdf2 else super.Lazy-Pbkdf2;
|
|
|
|
|
2017-02-04 01:19:08 +01:00
|
|
|
# check requires mysql server
|
|
|
|
mysql-simple = dontCheck super.mysql-simple;
|
2017-03-27 09:34:37 +02:00
|
|
|
mysql-haskell = dontCheck super.mysql-haskell;
|
2017-02-04 01:19:08 +01:00
|
|
|
|
2023-08-16 17:33:14 +02:00
|
|
|
# Test data missing
|
|
|
|
# https://github.com/FPtje/GLuaFixer/issues/165
|
|
|
|
glualint = dontCheck super.glualint;
|
|
|
|
|
2017-03-02 12:17:36 +01:00
|
|
|
# The Hackage tarball is purposefully broken, because it's not intended to be, like, useful.
|
|
|
|
# https://git-annex.branchable.com/bugs/bash_completion_file_is_missing_in_the_6.20160527_tarball_on_hackage/
|
2021-11-14 11:29:53 +01:00
|
|
|
git-annex = overrideCabal (drv: {
|
2017-03-02 12:17:36 +01:00
|
|
|
src = pkgs.fetchgit {
|
2018-07-10 16:06:19 +02:00
|
|
|
name = "git-annex-${super.git-annex.version}-src";
|
2017-03-02 12:17:36 +01:00
|
|
|
url = "git://git-annex.branchable.com/";
|
2018-07-10 16:06:19 +02:00
|
|
|
rev = "refs/tags/" + super.git-annex.version;
|
2024-12-27 13:12:31 +01:00
|
|
|
sha256 = "0jr4crq52qvnn85qxw077bdpzrgvamm7fmrqn6ygrhlyk1lb9n9x";
|
2021-06-22 18:11:25 +02:00
|
|
|
# delete android and Android directories which cause issues on
|
|
|
|
# darwin (case insensitive directory). Since we don't need them
|
|
|
|
# during the build process, we can delete it to prevent a hash
|
|
|
|
# mismatch on darwin.
|
|
|
|
postFetch = ''
|
|
|
|
rm -r $out/doc/?ndroid*
|
|
|
|
'';
|
2016-06-07 18:10:08 +02:00
|
|
|
};
|
2024-04-21 21:35:08 +02:00
|
|
|
|
|
|
|
patches = drv.patches or [ ] ++ [
|
|
|
|
# Prevent .desktop files from being installed to $out/usr/share.
|
|
|
|
# TODO(@sternenseemann): submit upstreamable patch resolving this
|
|
|
|
# (this should be possible by also taking PREFIX into account).
|
|
|
|
./patches/git-annex-no-usr-prefix.patch
|
|
|
|
];
|
2024-08-08 08:26:49 -07:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace-fail 'InstallDesktopFile $(PREFIX)/bin/git-annex' \
|
|
|
|
'InstallDesktopFile git-annex'
|
|
|
|
'';
|
2024-01-16 23:57:45 +01:00
|
|
|
}) super.git-annex;
|
2018-12-04 12:33:48 +01:00
|
|
|
|
2022-11-08 11:58:23 +01:00
|
|
|
# Too strict bounds on servant
|
|
|
|
# Pending a hackage revision: https://github.com/berberman/arch-web/commit/5d08afee5b25e644f9e2e2b95380a5d4f4aa81ea#commitcomment-89230555
|
|
|
|
arch-web = doJailbreak super.arch-web;
|
|
|
|
|
2023-07-03 22:50:08 +02:00
|
|
|
# Too strict upper bound on hedgehog
|
|
|
|
# https://github.com/circuithub/rel8/issues/248
|
|
|
|
rel8 = doJailbreak super.rel8;
|
|
|
|
|
2017-08-15 06:02:19 +02:00
|
|
|
# Fix test trying to access /home directory
|
2021-10-26 18:20:34 +08:00
|
|
|
shell-conduit = overrideCabal (drv: {
|
2017-08-15 06:02:19 +02:00
|
|
|
postPatch = "sed -i s/home/tmp/ test/Spec.hs";
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.shell-conduit;
|
2017-08-15 06:02:19 +02:00
|
|
|
|
2023-08-15 13:14:47 +02:00
|
|
|
# https://github.com/serokell/nixfmt/issues/130
|
|
|
|
nixfmt = doJailbreak super.nixfmt;
|
|
|
|
|
2023-08-16 17:33:32 +02:00
|
|
|
# Too strict upper bounds on turtle and text
|
|
|
|
# https://github.com/awakesecurity/nix-deploy/issues/35
|
|
|
|
nix-deploy = doJailbreak super.nix-deploy;
|
|
|
|
|
2023-08-16 17:33:50 +02:00
|
|
|
# Too strict upper bound on algebraic-graphs
|
|
|
|
# https://github.com/awakesecurity/nix-graph/issues/5
|
|
|
|
nix-graph = doJailbreak super.nix-graph;
|
|
|
|
|
2024-12-31 13:24:29 +01:00
|
|
|
# Too strict bounds on hspec
|
|
|
|
# https://github.com/illia-shkroba/pfile/issues/2
|
|
|
|
pfile = doJailbreak super.pfile;
|
|
|
|
|
2024-01-08 13:02:06 +00:00
|
|
|
# Manually maintained
|
|
|
|
cachix-api = overrideCabal (drv: {
|
2025-01-23 14:20:45 +04:00
|
|
|
version = "1.7.6";
|
2024-01-08 13:02:06 +00:00
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "cachix";
|
|
|
|
repo = "cachix";
|
2025-01-23 14:20:45 +04:00
|
|
|
rev = "v1.7.6";
|
|
|
|
hash = "sha256-8HFvG7fvIFbgtaYAY2628Tb89fA55nPm2jSiNs0/Cws=";
|
2024-01-08 13:02:06 +00:00
|
|
|
};
|
|
|
|
postUnpack = "sourceRoot=$sourceRoot/cachix-api";
|
|
|
|
}) super.cachix-api;
|
|
|
|
cachix = (overrideCabal (drv: {
|
2025-01-23 14:20:45 +04:00
|
|
|
version = "1.7.6";
|
2024-01-08 13:02:06 +00:00
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "cachix";
|
|
|
|
repo = "cachix";
|
2025-01-23 14:20:45 +04:00
|
|
|
rev = "v1.7.6";
|
|
|
|
hash = "sha256-8HFvG7fvIFbgtaYAY2628Tb89fA55nPm2jSiNs0/Cws=";
|
2024-01-08 13:02:06 +00:00
|
|
|
};
|
|
|
|
postUnpack = "sourceRoot=$sourceRoot/cachix";
|
|
|
|
}) (lib.pipe
|
|
|
|
(super.cachix.override {
|
|
|
|
nix = self.hercules-ci-cnix-store.nixPackage;
|
|
|
|
})
|
|
|
|
[
|
|
|
|
(addBuildTool self.hercules-ci-cnix-store.nixPackage)
|
|
|
|
(addBuildTool pkgs.buildPackages.pkg-config)
|
2024-10-11 20:00:45 +01:00
|
|
|
(addBuildDepend self.hnix-store-nar)
|
2024-01-08 13:02:06 +00:00
|
|
|
]
|
|
|
|
));
|
2022-11-24 03:13:51 +01:00
|
|
|
|
2015-09-02 12:27:36 +02:00
|
|
|
# https://github.com/froozen/kademlia/issues/2
|
|
|
|
kademlia = dontCheck super.kademlia;
|
|
|
|
|
2021-03-18 10:35:41 +01:00
|
|
|
# Tests require older versions of tasty.
|
2017-02-02 16:49:28 +01:00
|
|
|
hzk = dontCheck super.hzk;
|
2022-03-19 23:57:58 +01:00
|
|
|
|
2024-03-05 00:21:02 +01:00
|
|
|
# Test suite doesn't compile with 9.6, 9.8
|
|
|
|
# https://github.com/sebastiaanvisser/fclabels/issues/45
|
|
|
|
# https://github.com/sebastiaanvisser/fclabels/issues/46
|
|
|
|
fclabels = dontCheck super.fclabels;
|
2023-08-09 21:27:48 +02:00
|
|
|
|
2017-10-16 11:08:10 +00:00
|
|
|
# Tests require a Kafka broker running locally
|
2017-02-02 16:49:28 +01:00
|
|
|
haskakafka = dontCheck super.haskakafka;
|
2015-12-08 18:20:16 +01:00
|
|
|
|
2022-11-27 03:48:59 +01:00
|
|
|
bindings-levmar = addExtraLibrary pkgs.blas super.bindings-levmar;
|
2015-06-09 13:48:36 -05:00
|
|
|
|
2021-02-26 23:59:46 +01:00
|
|
|
# Requires wrapQtAppsHook
|
2021-10-26 18:20:34 +08:00
|
|
|
qtah-cpp-qt5 = overrideCabal (drv: {
|
2021-02-26 23:59:46 +01:00
|
|
|
buildDepends = [ pkgs.qt5.wrapQtAppsHook ];
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.qtah-cpp-qt5;
|
2021-02-26 23:59:46 +01:00
|
|
|
|
2015-01-10 20:27:16 +01:00
|
|
|
# The Haddock phase fails for one reason or another.
|
2015-01-21 10:22:30 +01:00
|
|
|
deepseq-magic = dontHaddock super.deepseq-magic;
|
2015-03-24 16:10:17 +01:00
|
|
|
feldspar-signal = dontHaddock super.feldspar-signal; # https://github.com/markus-git/feldspar-signal/issues/1
|
2015-01-10 20:27:16 +01:00
|
|
|
hoodle-core = dontHaddock super.hoodle-core;
|
|
|
|
hsc3-db = dontHaddock super.hsc3-db;
|
2015-01-11 16:30:56 +01:00
|
|
|
|
2022-11-22 19:25:02 +01:00
|
|
|
# Fix build with time >= 1.10 while retaining compat with time < 1.9
|
|
|
|
mbox = appendPatch ./patches/mbox-time-1.10.patch
|
|
|
|
(overrideCabal { editedCabalFile = null; revision = null; } super.mbox);
|
|
|
|
|
2015-01-11 16:30:56 +01:00
|
|
|
# https://github.com/techtangents/ablist/issues/1
|
|
|
|
ABList = dontCheck super.ABList;
|
2015-01-11 17:18:22 +01:00
|
|
|
|
2021-10-26 18:20:34 +08:00
|
|
|
inline-c-cpp = overrideCabal (drv: {
|
2019-07-04 10:16:38 +02:00
|
|
|
postPatch = (drv.postPatch or "") + ''
|
|
|
|
substituteInPlace inline-c-cpp.cabal --replace "-optc-std=c++11" ""
|
|
|
|
'';
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.inline-c-cpp;
|
2016-06-16 01:03:22 +02:00
|
|
|
|
2021-10-26 18:20:34 +08:00
|
|
|
inline-java = addBuildDepend pkgs.jdk super.inline-java;
|
2017-07-07 12:49:45 +02:00
|
|
|
|
2024-03-11 14:33:08 +01:00
|
|
|
# Too strict upper bound on unicode-transforms
|
|
|
|
# <https://gitlab.com/ngua/ipa-hs/-/issues/1>
|
|
|
|
ipa = doJailbreak super.ipa;
|
|
|
|
|
2015-01-20 16:29:54 +01:00
|
|
|
# Upstream notified by e-mail.
|
|
|
|
permutation = dontCheck super.permutation;
|
|
|
|
|
2015-01-20 16:37:55 +01:00
|
|
|
# https://github.com/jputcu/serialport/issues/25
|
|
|
|
serialport = dontCheck super.serialport;
|
|
|
|
|
2020-04-16 21:51:46 +02:00
|
|
|
# Test suite depends on source code being available
|
|
|
|
simple-affine-space = dontCheck super.simple-affine-space;
|
|
|
|
|
2015-01-20 17:17:13 +01:00
|
|
|
# Fails no apparent reason. Upstream has been notified by e-mail.
|
|
|
|
assertions = dontCheck super.assertions;
|
|
|
|
|
2015-01-20 17:28:50 +01:00
|
|
|
# These packages try to execute non-existent external programs.
|
2015-01-20 17:28:50 +01:00
|
|
|
cmaes = dontCheck super.cmaes; # http://hydra.cryp.to/build/498725/log/raw
|
2015-02-23 11:43:29 +01:00
|
|
|
dbmigrations = dontCheck super.dbmigrations;
|
2015-01-20 17:28:50 +01:00
|
|
|
filestore = dontCheck super.filestore;
|
2015-01-20 23:59:31 +01:00
|
|
|
graceful = dontCheck super.graceful;
|
2015-01-20 17:22:26 +01:00
|
|
|
HList = dontCheck super.HList;
|
2015-09-03 14:39:18 +02:00
|
|
|
ide-backend = dontCheck super.ide-backend;
|
2015-03-27 23:23:49 +01:00
|
|
|
marquise = dontCheck super.marquise; # https://github.com/anchor/marquise/issues/69
|
2015-01-20 17:28:50 +01:00
|
|
|
memcached-binary = dontCheck super.memcached-binary;
|
2015-09-03 14:39:18 +02:00
|
|
|
msgpack-rpc = dontCheck super.msgpack-rpc;
|
2015-03-05 18:02:53 +01:00
|
|
|
persistent-zookeeper = dontCheck super.persistent-zookeeper;
|
2015-03-05 18:22:06 +01:00
|
|
|
pocket-dns = dontCheck super.pocket-dns;
|
2022-05-15 18:15:49 +02:00
|
|
|
squeal-postgresql = dontCheck super.squeal-postgresql;
|
2017-05-07 12:46:49 +02:00
|
|
|
postgrest-ws = dontCheck super.postgrest-ws;
|
2015-01-20 17:28:50 +01:00
|
|
|
snowball = dontCheck super.snowball;
|
2015-09-03 14:39:18 +02:00
|
|
|
sophia = dontCheck super.sophia;
|
2015-03-03 21:44:57 +01:00
|
|
|
test-sandbox = dontCheck super.test-sandbox;
|
2016-10-07 10:57:54 +02:00
|
|
|
texrunner = dontCheck super.texrunner;
|
2015-01-25 20:57:19 +01:00
|
|
|
wai-middleware-hmac = dontCheck super.wai-middleware-hmac;
|
2015-06-17 16:06:15 +02:00
|
|
|
xkbcommon = dontCheck super.xkbcommon;
|
2015-01-20 17:28:50 +01:00
|
|
|
xmlgen = dontCheck super.xmlgen;
|
2015-09-27 16:20:24 +02:00
|
|
|
HerbiePlugin = dontCheck super.HerbiePlugin;
|
2016-10-05 17:04:35 -07:00
|
|
|
wai-cors = dontCheck super.wai-cors;
|
2015-01-20 17:28:50 +01:00
|
|
|
|
2024-05-18 22:59:10 +02:00
|
|
|
# 2024-05-18: Upstream tests against a different pandoc version
|
|
|
|
pandoc-crossref = dontCheck super.pandoc-crossref;
|
|
|
|
|
2017-10-16 11:08:10 +00:00
|
|
|
# base bound
|
|
|
|
digit = doJailbreak super.digit;
|
|
|
|
|
2023-01-29 22:20:59 +01:00
|
|
|
# 2022-01-29: Tests require package to be in ghc-db.
|
|
|
|
aeson-schemas = dontCheck super.aeson-schemas;
|
|
|
|
|
2023-04-20 23:38:45 +02:00
|
|
|
matterhorn = doJailbreak super.matterhorn;
|
2022-08-13 18:27:34 +02:00
|
|
|
|
2024-01-10 15:35:04 +01:00
|
|
|
# Too strict bounds on transformers and resourcet
|
|
|
|
# https://github.com/alphaHeavy/lzma-conduit/issues/23
|
|
|
|
lzma-conduit = doJailbreak super.lzma-conduit;
|
|
|
|
|
2022-02-18 14:50:04 +01:00
|
|
|
# 2020-06-05: HACK: does not pass own build suite - `dontCheck`
|
2024-01-15 10:54:01 +01:00
|
|
|
# 2024-01-15: too strict bound on free < 5.2
|
|
|
|
hnix = doJailbreak (dontCheck (super.hnix.override {
|
2023-12-11 08:03:26 +01:00
|
|
|
# 2023-12-11: Needs older core due to remote
|
|
|
|
hnix-store-core = self.hnix-store-core_0_6_1_0;
|
2024-01-15 10:54:01 +01:00
|
|
|
}));
|
2023-07-26 13:32:49 +02:00
|
|
|
|
2024-01-01 14:00:07 +01:00
|
|
|
|
2023-12-07 14:17:44 +01:00
|
|
|
# Too strict bounds on algebraic-graphs
|
2022-02-20 20:03:57 +01:00
|
|
|
# https://github.com/haskell-nix/hnix-store/issues/180
|
2023-12-11 08:03:26 +01:00
|
|
|
hnix-store-core_0_6_1_0 = doJailbreak super.hnix-store-core_0_6_1_0;
|
2024-09-27 11:37:07 +07:00
|
|
|
|
2023-12-11 08:03:26 +01:00
|
|
|
# 2023-12-11: Needs older core
|
|
|
|
hnix-store-remote = super.hnix-store-remote.override { hnix-store-core = self.hnix-store-core_0_6_1_0; };
|
2020-12-31 02:44:28 +02:00
|
|
|
|
2015-01-20 17:28:50 +01:00
|
|
|
# Fails for non-obvious reasons while attempting to use doctest.
|
2021-07-21 16:09:47 +09:00
|
|
|
focuslist = dontCheck super.focuslist;
|
2015-01-20 17:28:50 +01:00
|
|
|
search = dontCheck super.search;
|
|
|
|
|
|
|
|
# https://github.com/ekmett/structures/issues/3
|
|
|
|
structures = dontCheck super.structures;
|
|
|
|
|
2015-01-20 17:28:50 +01:00
|
|
|
# Disable test suites to fix the build.
|
|
|
|
acme-year = dontCheck super.acme-year; # http://hydra.cryp.to/build/497858/log/raw
|
|
|
|
aeson-lens = dontCheck super.aeson-lens; # http://hydra.cryp.to/build/496769/log/raw
|
2015-03-14 13:09:51 +01:00
|
|
|
aeson-schema = dontCheck super.aeson-schema; # https://github.com/timjb/aeson-schema/issues/9
|
2016-09-17 10:48:12 +02:00
|
|
|
angel = dontCheck super.angel;
|
2015-01-20 17:28:50 +01:00
|
|
|
apache-md5 = dontCheck super.apache-md5; # http://hydra.cryp.to/build/498709/nixlog/1/raw
|
|
|
|
app-settings = dontCheck super.app-settings; # http://hydra.cryp.to/build/497327/log/raw
|
2015-01-21 10:22:30 +01:00
|
|
|
aws-kinesis = dontCheck super.aws-kinesis; # needs aws credentials for testing
|
2015-01-20 17:28:50 +01:00
|
|
|
binary-protocol = dontCheck super.binary-protocol; # http://hydra.cryp.to/build/499749/log/raw
|
2016-09-17 10:48:12 +02:00
|
|
|
binary-search = dontCheck super.binary-search;
|
2022-04-08 23:13:07 +00:00
|
|
|
bloodhound = dontCheck super.bloodhound; # https://github.com/plow-technologies/quickcheck-arbitrary-template/issues/10
|
2015-01-20 22:56:30 +01:00
|
|
|
buildwrapper = dontCheck super.buildwrapper;
|
2015-01-20 17:28:50 +01:00
|
|
|
burst-detection = dontCheck super.burst-detection; # http://hydra.cryp.to/build/496948/log/raw
|
|
|
|
cabal-meta = dontCheck super.cabal-meta; # http://hydra.cryp.to/build/497892/log/raw
|
2016-09-17 10:48:12 +02:00
|
|
|
camfort = dontCheck super.camfort;
|
2015-01-20 17:28:50 +01:00
|
|
|
cjk = dontCheck super.cjk;
|
2016-09-17 10:48:12 +02:00
|
|
|
CLI = dontCheck super.CLI; # Upstream has no issue tracker.
|
2015-01-20 17:28:50 +01:00
|
|
|
command-qq = dontCheck super.command-qq; # http://hydra.cryp.to/build/499042/log/raw
|
2015-01-20 22:56:30 +01:00
|
|
|
conduit-connection = dontCheck super.conduit-connection;
|
2015-01-20 17:28:50 +01:00
|
|
|
craftwerk = dontCheck super.craftwerk;
|
2021-09-17 14:22:14 +02:00
|
|
|
crc = dontCheck super.crc; # https://github.com/MichaelXavier/crc/issues/2
|
2016-09-17 10:48:12 +02:00
|
|
|
css-text = dontCheck super.css-text;
|
2015-01-20 17:28:50 +01:00
|
|
|
damnpacket = dontCheck super.damnpacket; # http://hydra.cryp.to/build/496923/log
|
2015-05-04 16:20:11 +02:00
|
|
|
data-hash = dontCheck super.data-hash;
|
2015-01-20 17:28:50 +01:00
|
|
|
Deadpan-DDP = dontCheck super.Deadpan-DDP; # http://hydra.cryp.to/build/496418/log/raw
|
2015-01-20 22:56:30 +01:00
|
|
|
DigitalOcean = dontCheck super.DigitalOcean;
|
2016-09-17 10:48:12 +02:00
|
|
|
direct-sqlite = dontCheck super.direct-sqlite;
|
2015-01-20 17:28:50 +01:00
|
|
|
directory-layout = dontCheck super.directory-layout;
|
2016-09-17 10:48:12 +02:00
|
|
|
dlist = dontCheck super.dlist;
|
2015-01-20 17:28:50 +01:00
|
|
|
docopt = dontCheck super.docopt; # http://hydra.cryp.to/build/499172/log/raw
|
|
|
|
dom-selector = dontCheck super.dom-selector; # http://hydra.cryp.to/build/497670/log/raw
|
2019-11-12 08:46:38 -05:00
|
|
|
dotenv = dontCheck super.dotenv; # Tests fail because of missing test file on version 0.8.0.2 fixed on version 0.8.0.4
|
2015-01-20 17:28:50 +01:00
|
|
|
dotfs = dontCheck super.dotfs; # http://hydra.cryp.to/build/498599/log/raw
|
|
|
|
DRBG = dontCheck super.DRBG; # http://hydra.cryp.to/build/498245/nixlog/1/raw
|
2016-09-17 10:48:12 +02:00
|
|
|
ed25519 = dontCheck super.ed25519;
|
2015-01-20 22:56:30 +01:00
|
|
|
etcd = dontCheck super.etcd;
|
|
|
|
fb = dontCheck super.fb; # needs credentials for Facebook
|
2015-01-20 17:28:50 +01:00
|
|
|
fptest = dontCheck super.fptest; # http://hydra.cryp.to/build/499124/log/raw
|
2017-03-19 17:21:34 -04:00
|
|
|
friday-juicypixels = dontCheck super.friday-juicypixels; #tarball missing test/rgba8.png
|
2015-01-20 17:28:50 +01:00
|
|
|
ghc-events-parallel = dontCheck super.ghc-events-parallel; # http://hydra.cryp.to/build/496828/log/raw
|
|
|
|
ghc-imported-from = dontCheck super.ghc-imported-from;
|
|
|
|
ghc-parmake = dontCheck super.ghc-parmake;
|
|
|
|
git-vogue = dontCheck super.git-vogue;
|
2019-11-08 18:29:16 +01:00
|
|
|
github-rest = dontCheck super.github-rest; # test suite needs the network
|
2016-09-17 10:48:12 +02:00
|
|
|
gitlib-cmdline = dontCheck super.gitlib-cmdline;
|
2015-03-20 11:29:59 +01:00
|
|
|
GLFW-b = dontCheck super.GLFW-b; # https://github.com/bsl/GLFW-b/issues/50
|
2015-01-20 17:28:50 +01:00
|
|
|
hackport = dontCheck super.hackport;
|
|
|
|
hadoop-formats = dontCheck super.hadoop-formats;
|
|
|
|
haeredes = dontCheck super.haeredes;
|
|
|
|
hashed-storage = dontCheck super.hashed-storage;
|
|
|
|
hashring = dontCheck super.hashring;
|
|
|
|
hath = dontCheck super.hath;
|
2018-02-05 13:00:12 -05:00
|
|
|
haxl = dontCheck super.haxl; # non-deterministic failure https://github.com/facebook/Haxl/issues/85
|
2015-01-21 10:22:30 +01:00
|
|
|
haxl-facebook = dontCheck super.haxl-facebook; # needs facebook credentials for testing
|
2015-01-20 17:28:50 +01:00
|
|
|
hdbi-postgresql = dontCheck super.hdbi-postgresql;
|
|
|
|
hedis = dontCheck super.hedis;
|
|
|
|
hedis-pile = dontCheck super.hedis-pile;
|
|
|
|
hedis-tags = dontCheck super.hedis-tags;
|
|
|
|
hedn = dontCheck super.hedn;
|
|
|
|
hgdbmi = dontCheck super.hgdbmi;
|
|
|
|
hi = dontCheck super.hi;
|
2015-03-05 18:11:10 +01:00
|
|
|
hierarchical-clustering = dontCheck super.hierarchical-clustering;
|
2021-10-26 18:20:34 +08:00
|
|
|
hlibgit2 = disableHardening [ "format" ] super.hlibgit2;
|
2015-01-20 17:28:50 +01:00
|
|
|
hmatrix-tests = dontCheck super.hmatrix-tests;
|
|
|
|
hquery = dontCheck super.hquery;
|
|
|
|
hs2048 = dontCheck super.hs2048;
|
|
|
|
hsbencher = dontCheck super.hsbencher;
|
|
|
|
hsexif = dontCheck super.hsexif;
|
|
|
|
hspec-server = dontCheck super.hspec-server;
|
2021-10-26 18:20:34 +08:00
|
|
|
HTF = overrideCabal (orig: {
|
2021-04-27 06:55:49 -04:00
|
|
|
# The scripts in scripts/ are needed to build the test suite.
|
|
|
|
preBuild = "patchShebangs --build scripts";
|
2022-02-20 21:32:06 +01:00
|
|
|
# test suite doesn't compile with aeson >= 2.0
|
|
|
|
# https://github.com/skogsbaer/HTF/issues/114
|
|
|
|
doCheck = false;
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.HTF;
|
2015-01-20 17:28:50 +01:00
|
|
|
htsn = dontCheck super.htsn;
|
|
|
|
htsn-import = dontCheck super.htsn-import;
|
2018-06-06 17:40:35 +02:00
|
|
|
http-link-header = dontCheck super.http-link-header; # non deterministic failure https://hydra.nixos.org/build/75041105
|
2015-06-03 16:12:21 +02:00
|
|
|
influxdb = dontCheck super.influxdb;
|
2020-12-02 11:19:44 +00:00
|
|
|
integer-roots = dontCheck super.integer-roots; # requires an old version of smallcheck, will be fixed in > 1.0
|
2015-01-20 17:28:50 +01:00
|
|
|
itanium-abi = dontCheck super.itanium-abi;
|
2015-01-20 22:56:30 +01:00
|
|
|
katt = dontCheck super.katt;
|
2019-11-08 18:29:47 +01:00
|
|
|
language-slice = dontCheck super.language-slice;
|
2023-02-18 23:51:07 -05:00
|
|
|
|
2025-01-31 20:42:46 +01:00
|
|
|
# Bogus lower bound on data-default-class added via Hackage revison
|
|
|
|
# https://github.com/mrkkrp/req/pull/180#issuecomment-2628201485
|
|
|
|
req = overrideCabal {
|
|
|
|
revision = null;
|
|
|
|
editedCabalFile = null;
|
|
|
|
} super.req;
|
|
|
|
|
2023-02-18 23:51:07 -05:00
|
|
|
# Group of libraries by same upstream maintainer for interacting with
|
|
|
|
# Telegram messenger. Bit-rotted a bit since 2020.
|
|
|
|
tdlib = appendPatch (fetchpatch {
|
|
|
|
# https://github.com/poscat0x04/tdlib/pull/3
|
|
|
|
url = "https://github.com/poscat0x04/tdlib/commit/8eb9ecbc98c65a715469fdb8b67793ab375eda31.patch";
|
|
|
|
hash = "sha256-vEI7fTsiafNGBBl4VUXVCClW6xKLi+iK53fjcubgkpc=";
|
|
|
|
}) (doJailbreak super.tdlib) ;
|
|
|
|
tdlib-types = doJailbreak super.tdlib-types;
|
|
|
|
tdlib-gen = doJailbreak super.tdlib-gen;
|
|
|
|
# https://github.com/poscat0x04/language-tl/pull/1
|
|
|
|
language-tl = doJailbreak super.language-tl;
|
|
|
|
|
2015-11-09 15:56:44 -05:00
|
|
|
ldap-client = dontCheck super.ldap-client;
|
2015-01-20 17:28:50 +01:00
|
|
|
lensref = dontCheck super.lensref;
|
2021-10-26 18:20:34 +08:00
|
|
|
lvmrun = disableHardening ["format"] (dontCheck super.lvmrun);
|
2019-09-04 14:16:52 +02:00
|
|
|
matplotlib = dontCheck super.matplotlib;
|
2015-01-20 17:28:50 +01:00
|
|
|
memcache = dontCheck super.memcache;
|
2016-09-17 10:48:12 +02:00
|
|
|
metrics = dontCheck super.metrics;
|
2015-01-20 17:28:50 +01:00
|
|
|
milena = dontCheck super.milena;
|
2018-12-13 16:46:22 +01:00
|
|
|
modular-arithmetic = dontCheck super.modular-arithmetic; # tests require a very old Glob (0.7.*)
|
2015-01-20 17:28:50 +01:00
|
|
|
nats-queue = dontCheck super.nats-queue;
|
|
|
|
netpbm = dontCheck super.netpbm;
|
2016-09-17 10:48:12 +02:00
|
|
|
network = dontCheck super.network;
|
2015-01-20 17:28:50 +01:00
|
|
|
network-dbus = dontCheck super.network-dbus;
|
|
|
|
notcpp = dontCheck super.notcpp;
|
|
|
|
ntp-control = dontCheck super.ntp-control;
|
2018-06-18 21:50:57 +02:00
|
|
|
odpic-raw = dontCheck super.odpic-raw; # needs a running oracle database server
|
2015-01-20 17:28:50 +01:00
|
|
|
opaleye = dontCheck super.opaleye;
|
|
|
|
openpgp = dontCheck super.openpgp;
|
|
|
|
optional = dontCheck super.optional;
|
2017-02-13 17:13:02 +03:00
|
|
|
orgmode-parse = dontCheck super.orgmode-parse;
|
2015-01-20 17:28:50 +01:00
|
|
|
os-release = dontCheck super.os-release;
|
2021-04-19 11:39:38 -07:00
|
|
|
parameterized = dontCheck super.parameterized; # https://github.com/louispan/parameterized/issues/2
|
2015-01-20 17:28:50 +01:00
|
|
|
persistent-redis = dontCheck super.persistent-redis;
|
|
|
|
pipes-extra = dontCheck super.pipes-extra;
|
|
|
|
pipes-websockets = dontCheck super.pipes-websockets;
|
2019-01-30 19:00:27 +11:00
|
|
|
posix-pty = dontCheck super.posix-pty; # https://github.com/merijn/posix-pty/issues/12
|
2015-03-08 11:19:50 +01:00
|
|
|
postgresql-binary = dontCheck super.postgresql-binary; # needs a running postgresql server
|
2022-07-05 11:58:21 +02:00
|
|
|
powerdns = dontCheck super.powerdns; # Tests require networking and external services
|
2015-01-20 17:28:50 +01:00
|
|
|
process-streaming = dontCheck super.process-streaming;
|
|
|
|
punycode = dontCheck super.punycode;
|
|
|
|
pwstore-cli = dontCheck super.pwstore-cli;
|
|
|
|
quantities = dontCheck super.quantities;
|
|
|
|
redis-io = dontCheck super.redis-io;
|
|
|
|
rethinkdb = dontCheck super.rethinkdb;
|
|
|
|
Rlang-QQ = dontCheck super.Rlang-QQ;
|
2016-09-17 10:48:12 +02:00
|
|
|
safecopy = dontCheck super.safecopy;
|
2015-01-20 17:28:50 +01:00
|
|
|
sai-shape-syb = dontCheck super.sai-shape-syb;
|
|
|
|
scp-streams = dontCheck super.scp-streams;
|
2018-11-03 00:11:11 +01:00
|
|
|
sdl2 = dontCheck super.sdl2; # the test suite needs an x server
|
2015-01-20 17:28:50 +01:00
|
|
|
separated = dontCheck super.separated;
|
|
|
|
shadowsocks = dontCheck super.shadowsocks;
|
|
|
|
shake-language-c = dontCheck super.shake-language-c;
|
2022-03-01 11:43:05 +00:00
|
|
|
snap-core = doJailbreak (dontCheck super.snap-core); # attoparsec bound is too strict. This has been fixed on master
|
2022-03-19 01:43:27 +01:00
|
|
|
snap-server = doJailbreak super.snap-server; # attoparsec bound is too strict
|
2019-11-08 18:29:47 +01:00
|
|
|
sourcemap = dontCheck super.sourcemap;
|
2015-01-20 17:28:50 +01:00
|
|
|
static-resources = dontCheck super.static-resources;
|
2015-01-20 22:56:30 +01:00
|
|
|
strive = dontCheck super.strive; # fails its own hlint test with tons of warnings
|
2015-01-20 17:28:50 +01:00
|
|
|
svndump = dontCheck super.svndump;
|
2020-04-18 22:51:19 +02:00
|
|
|
tar = dontCheck super.tar; #https://hydra.nixos.org/build/25088435/nixlog/2 (fails only on 32-bit)
|
2016-09-17 10:48:12 +02:00
|
|
|
th-printf = dontCheck super.th-printf;
|
2015-01-20 17:28:50 +01:00
|
|
|
thumbnail-plus = dontCheck super.thumbnail-plus;
|
|
|
|
tickle = dontCheck super.tickle;
|
|
|
|
tpdb = dontCheck super.tpdb;
|
|
|
|
translatable-intset = dontCheck super.translatable-intset;
|
|
|
|
ua-parser = dontCheck super.ua-parser;
|
|
|
|
unagi-chan = dontCheck super.unagi-chan;
|
|
|
|
wai-logger = dontCheck super.wai-logger;
|
|
|
|
WebBits = dontCheck super.WebBits; # http://hydra.cryp.to/build/499604/log/raw
|
|
|
|
webdriver = dontCheck super.webdriver;
|
2016-09-17 10:48:12 +02:00
|
|
|
webdriver-angular = dontCheck super.webdriver-angular;
|
2015-01-20 17:28:50 +01:00
|
|
|
xsd = dontCheck super.xsd;
|
2019-07-21 11:53:23 +02:00
|
|
|
zip-archive = dontCheck super.zip-archive; # https://github.com/jgm/zip-archive/issues/57
|
2015-01-20 17:28:50 +01:00
|
|
|
|
2015-01-21 00:10:12 +01:00
|
|
|
# These test suites run for ages, even on a fast machine. This is nuts.
|
|
|
|
Random123 = dontCheck super.Random123;
|
|
|
|
systemd = dontCheck super.systemd;
|
|
|
|
|
2015-01-21 10:22:30 +01:00
|
|
|
# https://github.com/eli-frey/cmdtheline/issues/28
|
|
|
|
cmdtheline = dontCheck super.cmdtheline;
|
|
|
|
|
|
|
|
# https://github.com/bos/snappy/issues/1
|
2023-02-23 08:49:31 +01:00
|
|
|
# https://github.com/bos/snappy/pull/10
|
|
|
|
snappy = appendPatches [
|
|
|
|
(pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/bos/snappy/commit/8687802c0b85ed7fbbb1b1945a75f14fb9a9c886.patch";
|
|
|
|
sha256 = "sha256-p6rMzkjPAZVljsC1Ubj16/mNr4mq5JpxfP5xwT+Gt5M=";
|
|
|
|
})
|
|
|
|
(pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/bos/snappy/commit/21c3250c1f3d273cdcf597e2b7909a22aeaa710f.patch";
|
|
|
|
sha256 = "sha256-qHEQ8FFagXGxvtblBvo7xivRARzXlaMLw8nt0068nt0=";
|
|
|
|
})
|
|
|
|
] (dontCheck super.snappy);
|
2015-01-21 10:22:30 +01:00
|
|
|
|
2015-01-22 17:30:05 +01:00
|
|
|
# https://github.com/vincenthz/hs-crypto-pubkey/issues/20
|
|
|
|
crypto-pubkey = dontCheck super.crypto-pubkey;
|
|
|
|
|
2015-01-29 15:40:30 +01:00
|
|
|
# https://github.com/Philonous/xml-picklers/issues/5
|
|
|
|
xml-picklers = dontCheck super.xml-picklers;
|
2015-01-29 11:32:37 +01:00
|
|
|
|
2015-01-29 15:40:30 +01:00
|
|
|
# https://github.com/joeyadams/haskell-stm-delay/issues/3
|
|
|
|
stm-delay = dontCheck super.stm-delay;
|
|
|
|
|
2015-02-02 11:57:59 +01:00
|
|
|
# https://github.com/pixbi/duplo/issues/25
|
2022-11-27 03:48:59 +01:00
|
|
|
duplo = doJailbreak super.duplo;
|
2015-02-02 11:57:59 +01:00
|
|
|
|
2015-02-03 12:24:13 +01:00
|
|
|
# https://github.com/evanrinehart/mikmod/issues/1
|
2021-10-26 18:20:34 +08:00
|
|
|
mikmod = addExtraLibrary pkgs.libmikmod super.mikmod;
|
2015-02-03 12:24:13 +01:00
|
|
|
|
2015-02-08 13:02:11 +01:00
|
|
|
# Missing module.
|
|
|
|
rematch = dontCheck super.rematch; # https://github.com/tcrayford/rematch/issues/5
|
|
|
|
rematch-text = dontCheck super.rematch-text; # https://github.com/tcrayford/rematch/issues/6
|
2015-02-07 17:21:30 +02:00
|
|
|
|
2023-03-17 18:33:01 -04:00
|
|
|
# Package exists only to be example of documentation, yet it has restrictive
|
|
|
|
# "base" dependency.
|
|
|
|
haddock-cheatsheet = doJailbreak super.haddock-cheatsheet;
|
|
|
|
|
2015-04-12 12:15:44 +00:00
|
|
|
# no haddock since this is an umbrella package.
|
|
|
|
cloud-haskell = dontHaddock super.cloud-haskell;
|
|
|
|
|
2015-02-12 20:19:07 +01:00
|
|
|
# This packages compiles 4+ hours on a fast machine. That's just unreasonable.
|
|
|
|
CHXHtml = dontDistribute super.CHXHtml;
|
|
|
|
|
2015-02-15 20:04:38 +01:00
|
|
|
# https://github.com/NixOS/nixpkgs/issues/6350
|
2021-10-26 18:20:34 +08:00
|
|
|
paypal-adaptive-hoops = overrideCabal (drv: { testTarget = "local"; }) super.paypal-adaptive-hoops;
|
2015-02-15 20:04:38 +01:00
|
|
|
|
2018-03-15 15:06:01 +01:00
|
|
|
# Avoid "QuickCheck >=2.3 && <2.10" dependency we cannot fulfill in lts-11.x.
|
|
|
|
test-framework = dontCheck super.test-framework;
|
|
|
|
|
2015-02-21 14:46:56 +01:00
|
|
|
# Depends on broken test-framework-quickcheck.
|
|
|
|
apiary = dontCheck super.apiary;
|
|
|
|
apiary-authenticate = dontCheck super.apiary-authenticate;
|
|
|
|
apiary-clientsession = dontCheck super.apiary-clientsession;
|
|
|
|
apiary-cookie = dontCheck super.apiary-cookie;
|
|
|
|
apiary-eventsource = dontCheck super.apiary-eventsource;
|
|
|
|
apiary-logger = dontCheck super.apiary-logger;
|
|
|
|
apiary-memcached = dontCheck super.apiary-memcached;
|
|
|
|
apiary-mongoDB = dontCheck super.apiary-mongoDB;
|
|
|
|
apiary-persistent = dontCheck super.apiary-persistent;
|
|
|
|
apiary-purescript = dontCheck super.apiary-purescript;
|
|
|
|
apiary-session = dontCheck super.apiary-session;
|
|
|
|
apiary-websockets = dontCheck super.apiary-websockets;
|
|
|
|
|
2015-03-04 14:37:05 +01:00
|
|
|
# https://github.com/junjihashimoto/test-sandbox-compose/issues/2
|
|
|
|
test-sandbox-compose = dontCheck super.test-sandbox-compose;
|
|
|
|
|
2018-03-20 13:34:06 +01:00
|
|
|
# Test suite won't compile against tasty-hunit 0.10.x.
|
2018-12-08 22:17:40 +01:00
|
|
|
binary-parsers = dontCheck super.binary-parsers;
|
2020-07-29 15:44:14 +02:00
|
|
|
|
2021-05-08 17:32:54 +02:00
|
|
|
# https://github.com/ndmitchell/shake/issues/804
|
|
|
|
shake = dontCheck super.shake;
|
2015-01-17 20:54:31 +01:00
|
|
|
|
2015-05-03 20:34:10 +02:00
|
|
|
# https://github.com/nushio3/doctest-prop/issues/1
|
|
|
|
doctest-prop = dontCheck super.doctest-prop;
|
|
|
|
|
2018-07-24 01:42:43 +02:00
|
|
|
# Missing file in source distribution:
|
|
|
|
# - https://github.com/karun012/doctest-discover/issues/22
|
|
|
|
# - https://github.com/karun012/doctest-discover/issues/23
|
|
|
|
#
|
|
|
|
# When these are fixed the following needs to be enabled again:
|
|
|
|
#
|
|
|
|
# # Depends on itself for testing
|
|
|
|
# doctest-discover = addBuildTool super.doctest-discover
|
2023-01-09 05:36:01 +02:00
|
|
|
# (if pkgs.stdenv.buildPlatform != pkgs.stdenv.hostPlatform
|
2018-07-24 01:42:43 +02:00
|
|
|
# then self.buildHaskellPackages.doctest-discover
|
|
|
|
# else dontCheck super.doctest-discover);
|
|
|
|
doctest-discover = dontCheck super.doctest-discover;
|
|
|
|
|
2023-05-17 23:50:11 +02:00
|
|
|
# Too strict lower bound on tasty-hedgehog
|
|
|
|
# https://github.com/qfpl/tasty-hedgehog/issues/70
|
|
|
|
tasty-sugar = doJailbreak super.tasty-sugar;
|
|
|
|
|
2023-05-17 23:50:29 +02:00
|
|
|
# Too strict lower bound on aeson
|
|
|
|
# https://github.com/input-output-hk/hedgehog-extras/issues/39
|
|
|
|
hedgehog-extras = doJailbreak super.hedgehog-extras;
|
|
|
|
|
2025-01-17 13:12:56 +01:00
|
|
|
# Allow bytestring-0.12.1.0, https://github.com/lpeterse/haskell-socket/issues/71
|
|
|
|
socket = doJailbreak super.socket;
|
|
|
|
|
2021-01-14 08:33:46 -08:00
|
|
|
# Known issue with nondeterministic test suite failure
|
|
|
|
# https://github.com/nomeata/tasty-expected-failure/issues/21
|
|
|
|
tasty-expected-failure = dontCheck super.tasty-expected-failure;
|
|
|
|
|
2015-05-15 19:39:45 +02:00
|
|
|
# Won't compile with recent versions of QuickCheck.
|
2015-07-22 15:11:04 +02:00
|
|
|
inilist = dontCheck super.inilist;
|
2020-02-28 20:28:01 +01:00
|
|
|
|
2015-05-18 12:29:10 +02:00
|
|
|
# https://github.com/yaccz/saturnin/issues/3
|
|
|
|
Saturnin = dontCheck super.Saturnin;
|
|
|
|
|
2015-05-21 11:47:34 +02:00
|
|
|
# https://github.com/kkardzis/curlhs/issues/6
|
|
|
|
curlhs = dontCheck super.curlhs;
|
|
|
|
|
2023-01-18 20:23:11 +01:00
|
|
|
# curl 7.87.0 introduces a preprocessor typechecker of sorts which fails on
|
|
|
|
# incorrect usages of curl_easy_getopt and similar functions. Presumably
|
|
|
|
# because the wrappers in curlc.c don't use static values for the different
|
|
|
|
# arguments to curl_easy_getinfo, it complains and needs to be disabled.
|
|
|
|
# https://github.com/GaloisInc/curl/issues/28
|
|
|
|
curl = appendConfigureFlags [
|
|
|
|
"--ghc-option=-DCURL_DISABLE_TYPECHECK"
|
|
|
|
] super.curl;
|
|
|
|
|
2015-05-22 11:31:26 +02:00
|
|
|
# https://github.com/hvr/token-bucket/issues/3
|
|
|
|
token-bucket = dontCheck super.token-bucket;
|
|
|
|
|
2015-05-23 15:16:31 +02:00
|
|
|
# https://github.com/alphaHeavy/lzma-enumerator/issues/3
|
|
|
|
lzma-enumerator = dontCheck super.lzma-enumerator;
|
|
|
|
|
2015-05-29 11:15:24 +02:00
|
|
|
# FPCO's fork of Cabal won't succeed its test suite.
|
|
|
|
Cabal-ide-backend = dontCheck super.Cabal-ide-backend;
|
|
|
|
|
2015-06-11 11:11:15 +02:00
|
|
|
# This package can't be built on non-Windows systems.
|
2021-10-26 18:20:34 +08:00
|
|
|
Win32 = overrideCabal (drv: { broken = !pkgs.stdenv.hostPlatform.isCygwin; }) super.Win32;
|
2015-06-11 11:11:15 +02:00
|
|
|
inline-c-win32 = dontDistribute super.inline-c-win32;
|
2015-07-23 20:33:26 +02:00
|
|
|
Southpaw = dontDistribute super.Southpaw;
|
2015-06-11 11:11:15 +02:00
|
|
|
|
2015-07-21 11:15:26 +02:00
|
|
|
# https://ghc.haskell.org/trac/ghc/ticket/9825
|
2021-10-26 18:20:34 +08:00
|
|
|
vimus = overrideCabal (drv: { broken = pkgs.stdenv.hostPlatform.isLinux && pkgs.stdenv.hostPlatform.isi686; }) super.vimus;
|
2015-07-22 19:43:01 +02:00
|
|
|
|
2015-08-06 14:26:18 +02:00
|
|
|
# https://github.com/kazu-yamamoto/logger/issues/42
|
|
|
|
logger = dontCheck super.logger;
|
|
|
|
|
2017-10-16 11:08:10 +00:00
|
|
|
# vector dependency < 0.12
|
|
|
|
imagemagick = doJailbreak super.imagemagick;
|
2015-08-06 19:00:53 +02:00
|
|
|
|
2015-08-14 17:38:57 +02:00
|
|
|
# Elm is no longer actively maintained on Hackage: https://github.com/NixOS/nixpkgs/pull/9233.
|
|
|
|
Elm = markBroken super.Elm;
|
|
|
|
elm-build-lib = markBroken super.elm-build-lib;
|
|
|
|
elm-compiler = markBroken super.elm-compiler;
|
|
|
|
elm-get = markBroken super.elm-get;
|
|
|
|
elm-make = markBroken super.elm-make;
|
|
|
|
elm-package = markBroken super.elm-package;
|
|
|
|
elm-reactor = markBroken super.elm-reactor;
|
|
|
|
elm-repl = markBroken super.elm-repl;
|
|
|
|
elm-server = markBroken super.elm-server;
|
|
|
|
elm-yesod = markBroken super.elm-yesod;
|
|
|
|
|
2020-04-20 15:17:49 +02:00
|
|
|
# https://github.com/Euterpea/Euterpea2/issues/40
|
2021-05-20 09:56:42 +02:00
|
|
|
Euterpea = doJailbreak super.Euterpea;
|
2020-04-20 15:17:49 +02:00
|
|
|
|
2015-08-18 01:21:18 +02:00
|
|
|
# Byte-compile elisp code for Emacs.
|
2021-10-26 18:20:34 +08:00
|
|
|
ghc-mod = overrideCabal (drv: {
|
2015-08-18 01:21:18 +02:00
|
|
|
preCheck = "export HOME=$TMPDIR";
|
|
|
|
testToolDepends = drv.testToolDepends or [] ++ [self.cabal-install];
|
|
|
|
doCheck = false; # https://github.com/kazu-yamamoto/ghc-mod/issues/335
|
2021-06-19 22:12:32 +02:00
|
|
|
executableToolDepends = drv.executableToolDepends or [] ++ [pkgs.buildPackages.emacs];
|
2015-08-18 01:21:18 +02:00
|
|
|
postInstall = ''
|
2022-03-31 12:53:40 +02:00
|
|
|
local lispdir=( "$data/share/${self.ghc.targetPrefix}${self.ghc.haskellCompilerName}/*/${drv.pname}-${drv.version}/elisp" )
|
2015-08-18 01:21:18 +02:00
|
|
|
make -C $lispdir
|
2017-07-11 14:44:41 +02:00
|
|
|
mkdir -p $data/share/emacs/site-lisp
|
|
|
|
ln -s "$lispdir/"*.el{,c} $data/share/emacs/site-lisp/
|
2015-08-18 01:21:18 +02:00
|
|
|
'';
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.ghc-mod;
|
2015-08-18 01:21:18 +02:00
|
|
|
|
2022-03-20 00:51:45 +01:00
|
|
|
# 2022-03-19: Testsuite is failing: https://github.com/puffnfresh/haskell-jwt/issues/2
|
|
|
|
jwt = dontCheck super.jwt;
|
|
|
|
|
2023-12-10 02:12:33 +01:00
|
|
|
# Build Selda with the latest git version.
|
|
|
|
# See https://github.com/valderman/selda/issues/187
|
|
|
|
inherit (let
|
|
|
|
mkSeldaPackage = name: overrideCabal (drv: {
|
2024-06-05 12:49:45 +02:00
|
|
|
version = "2024-05-05-unstable";
|
2023-12-10 02:12:33 +01:00
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "valderman";
|
|
|
|
repo = "selda";
|
2024-06-05 12:49:45 +02:00
|
|
|
rev = "50c3ba5c5da72bb758a4112363ba2fe1c0e968ea";
|
|
|
|
hash = "sha256-LEAJsSsDL0mmVHntnI16fH8m5DmePfcU0hFw9ErqTgQ=";
|
2023-12-10 02:12:33 +01:00
|
|
|
} + "/${name}";
|
|
|
|
}) super.${name};
|
|
|
|
in
|
|
|
|
lib.genAttrs [ "selda" "selda-sqlite" "selda-json" ] mkSeldaPackage
|
|
|
|
)
|
|
|
|
selda
|
|
|
|
selda-sqlite
|
|
|
|
selda-json
|
|
|
|
;
|
|
|
|
|
2024-03-10 13:04:01 +01:00
|
|
|
# 2024-03-10: Getting the test suite to run requires a correctly crafted GHC_ENVIRONMENT variable.
|
|
|
|
graphql-client = dontCheck super.graphql-client;
|
|
|
|
|
2017-12-14 12:59:23 +01:00
|
|
|
# Build the latest git version instead of the official release. This isn't
|
|
|
|
# ideal, but Chris doesn't seem to make official releases any more.
|
2021-10-26 18:20:34 +08:00
|
|
|
structured-haskell-mode = overrideCabal (drv: {
|
2017-08-01 15:35:44 +02:00
|
|
|
src = pkgs.fetchFromGitHub {
|
2019-12-27 18:42:56 +01:00
|
|
|
owner = "projectional-haskell";
|
2017-08-01 15:35:44 +02:00
|
|
|
repo = "structured-haskell-mode";
|
2018-07-10 16:11:19 +02:00
|
|
|
rev = "7f9df73f45d107017c18ce4835bbc190dfe6782e";
|
|
|
|
sha256 = "1jcc30048j369jgsbbmkb63whs4wb37bq21jrm3r6ry22izndsqa";
|
2017-08-01 15:35:44 +02:00
|
|
|
};
|
2018-07-10 16:11:19 +02:00
|
|
|
version = "20170205-git";
|
2017-08-01 15:35:44 +02:00
|
|
|
editedCabalFile = null;
|
2016-09-26 08:41:04 +02:00
|
|
|
# Make elisp files available at a location where people expect it. We
|
|
|
|
# cannot easily byte-compile these files, unfortunately, because they
|
|
|
|
# depend on a new version of haskell-mode that we don't have yet.
|
2015-08-18 01:21:53 +02:00
|
|
|
postInstall = ''
|
2022-03-31 12:53:40 +02:00
|
|
|
local lispdir=( "$data/share/${self.ghc.targetPrefix}${self.ghc.haskellCompilerName}/"*"/${drv.pname}-"*"/elisp" )
|
2017-08-01 15:24:20 +02:00
|
|
|
mkdir -p $data/share/emacs
|
|
|
|
ln -s $lispdir $data/share/emacs/site-lisp
|
2015-08-18 01:21:53 +02:00
|
|
|
'';
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.structured-haskell-mode;
|
2015-08-18 01:21:53 +02:00
|
|
|
|
2017-08-01 15:24:57 +02:00
|
|
|
# Make elisp files available at a location where people expect it.
|
2021-10-26 18:20:34 +08:00
|
|
|
hindent = (overrideCabal (drv: {
|
2016-09-26 08:41:42 +02:00
|
|
|
# We cannot easily byte-compile these files, unfortunately, because they
|
|
|
|
# depend on a new version of haskell-mode that we don't have yet.
|
2015-08-18 12:59:36 +02:00
|
|
|
postInstall = ''
|
2022-03-31 12:53:40 +02:00
|
|
|
local lispdir=( "$data/share/${self.ghc.targetPrefix}${self.ghc.haskellCompilerName}/"*"/${drv.pname}-"*"/elisp" )
|
2017-08-01 15:24:57 +02:00
|
|
|
mkdir -p $data/share/emacs
|
|
|
|
ln -s $lispdir $data/share/emacs/site-lisp
|
2015-08-18 12:59:36 +02:00
|
|
|
'';
|
2016-09-19 17:04:52 +02:00
|
|
|
doCheck = false; # https://github.com/chrisdone/hindent/issues/299
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.hindent);
|
2015-08-18 12:59:36 +02:00
|
|
|
|
2015-08-28 14:23:57 +02:00
|
|
|
# https://github.com/basvandijk/concurrent-extra/issues/12
|
|
|
|
concurrent-extra = dontCheck super.concurrent-extra;
|
|
|
|
|
2015-09-03 14:38:52 +02:00
|
|
|
# https://github.com/pxqr/base32-bytestring/issues/4
|
|
|
|
base32-bytestring = dontCheck super.base32-bytestring;
|
|
|
|
|
2019-01-01 12:00:43 +05:30
|
|
|
# Djinn's last release was 2014, incompatible with Semigroup-Monoid Proposal
|
|
|
|
# https://github.com/augustss/djinn/pull/8
|
2024-01-09 13:50:19 +01:00
|
|
|
djinn = overrideSrc {
|
|
|
|
version = "unstable-2023-11-20";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "augustss";
|
|
|
|
repo = "djinn";
|
|
|
|
rev = "69b3fbad9f42f0b1b2c49977976b8588c967d76e";
|
|
|
|
hash = "sha256-ibxn6DXk4pqsOsWhi8KcrlH/THnuMWvIu5ENOn3H3So=";
|
|
|
|
};
|
|
|
|
} super.djinn;
|
|
|
|
|
|
|
|
mueval = doJailbreak super.mueval;
|
2019-01-01 12:00:43 +05:30
|
|
|
|
2015-09-18 09:59:08 +02:00
|
|
|
# We cannot build this package w/o the C library from <http://www.phash.org/>.
|
|
|
|
phash = markBroken super.phash;
|
|
|
|
|
2016-09-10 20:59:45 +02:00
|
|
|
# https://github.com/Philonous/hs-stun/pull/1
|
|
|
|
# Remove if a version > 0.1.0.1 ever gets released.
|
2021-10-26 18:20:34 +08:00
|
|
|
stunclient = overrideCabal (drv: {
|
2016-08-11 16:41:06 +01:00
|
|
|
postPatch = (drv.postPatch or "") + ''
|
|
|
|
substituteInPlace source/Network/Stun/MappedAddress.hs --replace "import Network.Endian" ""
|
|
|
|
'';
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.stunclient;
|
2016-08-11 16:41:06 +01:00
|
|
|
|
2021-09-21 09:51:17 +02:00
|
|
|
d-bus = let
|
|
|
|
# The latest release on hackage is missing necessary patches for recent compilers
|
|
|
|
# https://github.com/Philonous/d-bus/issues/24
|
2021-10-26 18:20:34 +08:00
|
|
|
newer = overrideSrc {
|
2021-09-21 09:51:17 +02:00
|
|
|
version = "unstable-2021-01-08";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "Philonous";
|
|
|
|
repo = "d-bus";
|
|
|
|
rev = "fb8a948a3b9d51db618454328dbe18fb1f313c70";
|
|
|
|
hash = "sha256-R7/+okb6t9DAkPVUV70QdYJW8vRcvBdz4zKJT13jb3A=";
|
|
|
|
};
|
2021-10-26 18:20:34 +08:00
|
|
|
} super.d-bus;
|
2021-09-21 09:51:17 +02:00
|
|
|
# Add now required extension on recent compilers.
|
|
|
|
# https://github.com/Philonous/d-bus/pull/23
|
2022-03-24 19:19:57 +01:00
|
|
|
in appendPatch (fetchpatch {
|
2021-09-21 09:51:17 +02:00
|
|
|
url = "https://github.com/Philonous/d-bus/commit/e5f37900a3a301c41d98bdaa134754894c705681.patch";
|
|
|
|
sha256 = "6rQ7H9t483sJe1x95yLPAZ0BKTaRjgqQvvrQv7HkJRE=";
|
2021-10-26 18:20:34 +08:00
|
|
|
}) newer;
|
2021-09-21 09:51:17 +02:00
|
|
|
|
2021-02-22 22:39:15 +01:00
|
|
|
# * The standard libraries are compiled separately.
|
2024-03-31 12:00:23 +02:00
|
|
|
# * We need a few patches from master to fix compilation with
|
|
|
|
# updated dependencies which can be
|
2023-01-06 18:32:47 +08:00
|
|
|
# removed when the next idris release comes around.
|
2024-03-31 12:00:23 +02:00
|
|
|
idris = lib.pipe super.idris [
|
|
|
|
dontCheck
|
|
|
|
doJailbreak
|
2023-01-06 18:32:47 +08:00
|
|
|
(appendPatch (fetchpatch {
|
2024-03-31 12:00:23 +02:00
|
|
|
name = "idris-bumps.patch";
|
|
|
|
url = "https://github.com/idris-lang/Idris-dev/compare/c99bc9e4af4ea32d2172f873152b76122ee4ee14...cf78f0fb337d50f4f0dba235b6bbe67030f1ff47.patch";
|
|
|
|
hash = "sha256-RCMIRHIAK1PCm4B7v+5gXNd2buHXIqyAxei4bU8+eCk=";
|
|
|
|
}))
|
|
|
|
(self.generateOptparseApplicativeCompletions [ "idris" ])
|
|
|
|
];
|
2016-09-10 22:00:45 +02:00
|
|
|
|
2022-12-30 11:57:16 +01:00
|
|
|
# Too strict bound on hspec
|
|
|
|
# https://github.com/lspitzner/multistate/issues/9#issuecomment-1367853016
|
|
|
|
multistate = doJailbreak super.multistate;
|
|
|
|
|
2016-09-17 19:49:38 +02:00
|
|
|
# https://github.com/pontarius/pontarius-xmpp/issues/105
|
|
|
|
pontarius-xmpp = dontCheck super.pontarius-xmpp;
|
|
|
|
|
2017-03-22 01:25:47 +01:00
|
|
|
# fails with sandbox
|
|
|
|
yi-keymap-vim = dontCheck super.yi-keymap-vim;
|
|
|
|
|
2016-10-05 21:06:39 +02:00
|
|
|
# https://github.com/bmillwood/applicative-quoters/issues/6
|
|
|
|
applicative-quoters = doJailbreak super.applicative-quoters;
|
|
|
|
|
2016-10-29 16:58:35 +02:00
|
|
|
# https://hydra.nixos.org/build/42769611/nixlog/1/raw
|
|
|
|
# note: the library is unmaintained, no upstream issue
|
|
|
|
dataenc = doJailbreak super.dataenc;
|
|
|
|
|
2016-11-02 16:22:29 +01:00
|
|
|
# horribly outdated (X11 interface changed a lot)
|
|
|
|
sindre = markBroken super.sindre;
|
|
|
|
|
2016-11-07 08:25:33 +01:00
|
|
|
# Test suite occasionally runs for 1+ days on Hydra.
|
|
|
|
distributed-process-tests = dontCheck super.distributed-process-tests;
|
|
|
|
|
2016-11-09 08:42:38 +01:00
|
|
|
# https://github.com/mulby/diff-parse/issues/9
|
|
|
|
diff-parse = doJailbreak super.diff-parse;
|
|
|
|
|
2017-01-28 10:56:01 +01:00
|
|
|
# No upstream issue tracker
|
|
|
|
hspec-expectations-pretty-diff = dontCheck super.hspec-expectations-pretty-diff;
|
|
|
|
|
2017-02-12 13:59:12 +01:00
|
|
|
# Don't depend on chell-quickcheck, which doesn't compile due to restricting
|
|
|
|
# QuickCheck to versions ">=2.3 && <2.9".
|
|
|
|
system-filepath = dontCheck super.system-filepath;
|
|
|
|
|
2017-10-16 11:08:10 +00:00
|
|
|
# The tests spuriously fail
|
|
|
|
libmpd = dontCheck super.libmpd;
|
2017-03-01 17:25:17 +01:00
|
|
|
|
2021-10-28 13:52:35 +02:00
|
|
|
# https://github.com/xu-hao/namespace/issues/1
|
|
|
|
namespace = doJailbreak super.namespace;
|
|
|
|
|
2017-03-08 17:18:18 +01:00
|
|
|
# https://github.com/danidiaz/streaming-eversion/issues/1
|
|
|
|
streaming-eversion = dontCheck super.streaming-eversion;
|
2017-03-13 11:27:08 +00:00
|
|
|
|
2017-03-31 11:15:17 +02:00
|
|
|
# https://github.com/danidiaz/tailfile-hinotify/issues/2
|
2022-11-27 03:48:59 +01:00
|
|
|
tailfile-hinotify = doJailbreak (dontCheck super.tailfile-hinotify);
|
2017-05-26 20:32:39 +02:00
|
|
|
|
2017-06-16 13:34:17 +02:00
|
|
|
# Test suite fails: https://github.com/lymar/hastache/issues/46.
|
|
|
|
# Don't install internal mkReadme tool.
|
2021-10-26 18:20:34 +08:00
|
|
|
hastache = overrideCabal (drv: {
|
2017-06-16 13:34:17 +02:00
|
|
|
doCheck = false;
|
|
|
|
postInstall = "rm $out/bin/mkReadme && rmdir $out/bin";
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.hastache;
|
2017-06-16 13:34:17 +02:00
|
|
|
|
2017-07-18 16:50:20 +02:00
|
|
|
# Has a dependency on outdated versions of directory.
|
|
|
|
cautious-file = doJailbreak (dontCheck super.cautious-file);
|
|
|
|
|
2017-08-08 11:56:31 -07:00
|
|
|
# missing dependencies: blaze-html >=0.5 && <0.9, blaze-markup >=0.5 && <0.8
|
|
|
|
digestive-functors-blaze = doJailbreak super.digestive-functors-blaze;
|
2017-10-16 11:08:10 +00:00
|
|
|
digestive-functors = doJailbreak super.digestive-functors;
|
2017-08-08 11:56:31 -07:00
|
|
|
|
2019-05-02 10:17:09 +02:00
|
|
|
# Wrap the generated binaries to include their run-time dependencies in
|
|
|
|
# $PATH. Also, cryptol needs a version of sbl that's newer than what we have
|
|
|
|
# in LTS-13.x.
|
2021-10-26 18:20:34 +08:00
|
|
|
cryptol = overrideCabal (drv: {
|
2021-06-19 22:12:32 +02:00
|
|
|
buildTools = drv.buildTools or [] ++ [ pkgs.buildPackages.makeWrapper ];
|
2019-04-02 17:39:53 -05:00
|
|
|
postInstall = drv.postInstall or "" + ''
|
|
|
|
for b in $out/bin/cryptol $out/bin/cryptol-html; do
|
2022-03-24 19:19:57 +01:00
|
|
|
wrapProgram $b --prefix 'PATH' ':' "${lib.getBin pkgs.z3}/bin"
|
2019-04-02 17:39:53 -05:00
|
|
|
done
|
|
|
|
'';
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.cryptol;
|
2017-09-14 14:53:47 +02:00
|
|
|
|
2024-11-21 19:15:58 -08:00
|
|
|
# Z3 removed aliases for boolean types in 4.12
|
|
|
|
inherit (
|
|
|
|
let
|
|
|
|
fixZ3 = appendConfigureFlags [
|
|
|
|
"--hsc2hs-option=-DZ3_Bool=bool"
|
|
|
|
"--hsc2hs-option=-DZ3_TRUE=true"
|
|
|
|
"--hsc2hs-option=-DZ3_FALSE=false"
|
|
|
|
];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
z3 = fixZ3 super.z3;
|
|
|
|
hz3 = fixZ3 super.hz3;
|
|
|
|
}
|
|
|
|
) z3 hz3;
|
|
|
|
|
2017-10-16 11:08:10 +00:00
|
|
|
# Tests try to invoke external process and process == 1.4
|
2017-09-10 11:17:24 +02:00
|
|
|
grakn = dontCheck (doJailbreak super.grakn);
|
2017-09-10 12:09:23 +02:00
|
|
|
|
2017-09-22 07:50:11 +03:00
|
|
|
# test suite requires git and does a bunch of git operations
|
2020-06-28 14:21:40 -04:00
|
|
|
restless-git = dontCheck super.restless-git;
|
2017-09-28 13:27:19 +03:00
|
|
|
|
2023-11-11 14:56:23 -06:00
|
|
|
# patch out a flaky test that depends on output from hspec >= v2.11.7.
|
|
|
|
# https://github.com/hspec/sensei/issues/125
|
|
|
|
sensei = appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/hspec/sensei/commit/5c11026fa48e13ea1c351ab882765eb0966f2e97.patch";
|
|
|
|
hash = "sha256-eUCDvypj2bxTRnHLzrcembLMKHg5c3W3quNfclBDsso=";
|
|
|
|
}) (overrideCabal (drv: {
|
|
|
|
# sensei passes `-package hspec-meta` to GHC in the tests, but doesn't
|
|
|
|
# depend on it itself.
|
2023-07-01 12:57:13 +02:00
|
|
|
testHaskellDepends = drv.testHaskellDepends or [] ++ [ self.hspec-meta ];
|
2023-11-11 14:56:23 -06:00
|
|
|
# requires git at test-time *and* runtime, but we'll just rely on users to
|
|
|
|
# bring their own git at runtime.
|
2022-04-21 14:23:33 -05:00
|
|
|
testToolDepends = drv.testToolDepends or [] ++ [ pkgs.git ];
|
2023-11-11 14:56:23 -06:00
|
|
|
}) super.sensei);
|
2022-04-21 14:23:33 -05:00
|
|
|
|
2017-10-17 11:52:02 +02:00
|
|
|
# Depends on broken fluid.
|
|
|
|
fluid-idl-http-client = markBroken super.fluid-idl-http-client;
|
2017-10-18 09:53:07 +02:00
|
|
|
fluid-idl-scotty = markBroken super.fluid-idl-scotty;
|
2017-10-17 11:52:02 +02:00
|
|
|
|
2018-04-28 12:43:19 +02:00
|
|
|
# Work around https://github.com/haskell/c2hs/issues/192.
|
|
|
|
c2hs = dontCheck super.c2hs;
|
2017-11-10 19:26:24 +01:00
|
|
|
|
2017-12-04 22:29:47 +00:00
|
|
|
# Needs pginit to function and pgrep to verify.
|
2021-10-26 18:20:34 +08:00
|
|
|
tmp-postgres = overrideCabal (drv: {
|
2021-08-01 18:34:16 +02:00
|
|
|
# Flaky tests: https://github.com/jfischoff/tmp-postgres/issues/274
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-06-20 23:51:37 +02:00
|
|
|
preCheck = ''
|
|
|
|
export HOME="$TMPDIR"
|
|
|
|
'' + (drv.preCheck or "");
|
2021-06-19 22:12:32 +02:00
|
|
|
libraryToolDepends = drv.libraryToolDepends or [] ++ [pkgs.buildPackages.postgresql];
|
2017-12-04 22:29:47 +00:00
|
|
|
testToolDepends = drv.testToolDepends or [] ++ [pkgs.procps];
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.tmp-postgres;
|
2017-12-11 14:33:32 +01:00
|
|
|
|
2017-12-19 22:11:13 +01:00
|
|
|
# Needs QuickCheck <2.10, which we don't have.
|
2017-12-19 21:59:01 +01:00
|
|
|
edit-distance = doJailbreak super.edit-distance;
|
2017-12-19 22:49:40 +01:00
|
|
|
int-cast = doJailbreak super.int-cast;
|
2017-12-19 21:59:01 +01:00
|
|
|
|
2017-12-20 07:17:19 -05:00
|
|
|
# Needs QuickCheck <2.10, HUnit <1.6 and base <4.10
|
|
|
|
pointfree = doJailbreak super.pointfree;
|
|
|
|
|
2017-12-19 22:03:14 +01:00
|
|
|
# Needs tasty-quickcheck ==0.8.*, which we don't have.
|
2018-01-17 17:18:16 +01:00
|
|
|
gitHUD = dontCheck super.gitHUD;
|
2018-11-19 15:33:29 +01:00
|
|
|
githud = dontCheck super.githud;
|
2017-12-19 22:03:14 +01:00
|
|
|
|
2017-10-16 11:08:10 +00:00
|
|
|
# Test suite fails due to trying to create directories
|
|
|
|
path-io = dontCheck super.path-io;
|
|
|
|
|
2017-12-19 23:29:20 +01:00
|
|
|
# Duplicate instance with smallcheck.
|
|
|
|
store = dontCheck super.store;
|
|
|
|
|
2017-12-20 15:00:20 +01:00
|
|
|
# With ghc-8.2.x haddock would time out for unknown reason
|
|
|
|
# See https://github.com/haskell/haddock/issues/679
|
|
|
|
language-puppet = dontHaddock super.language-puppet;
|
|
|
|
|
2017-12-22 12:48:07 -05:00
|
|
|
# https://github.com/alphaHeavy/protobuf/issues/34
|
|
|
|
protobuf = dontCheck super.protobuf;
|
2017-12-22 13:54:01 -05:00
|
|
|
|
2021-05-08 13:55:59 +02:00
|
|
|
# jailbreak tasty < 1.2 until servant-docs > 0.11.3 is on hackage.
|
2020-08-19 11:16:17 +02:00
|
|
|
snap-templates = doJailbreak super.snap-templates; # https://github.com/snapframework/snap-templates/issues/22
|
2017-10-16 11:08:10 +00:00
|
|
|
|
2018-04-02 20:00:43 +02:00
|
|
|
# The test suite does not know how to find the 'alex' binary.
|
2021-10-26 18:20:34 +08:00
|
|
|
alex = overrideCabal (drv: {
|
2018-07-04 13:18:21 +02:00
|
|
|
testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
|
2018-04-02 20:00:43 +02:00
|
|
|
preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.alex;
|
2018-04-02 20:00:43 +02:00
|
|
|
|
2023-07-15 00:24:32 +02:00
|
|
|
# 2023-07-14: Restrictive upper bounds: https://github.com/luke-clifton/shh/issues/76
|
|
|
|
shh = doJailbreak super.shh;
|
|
|
|
|
2020-11-04 14:21:32 +08:00
|
|
|
# Compiles some C or C++ source which requires these headers
|
2021-10-26 18:20:34 +08:00
|
|
|
VulkanMemoryAllocator = addExtraLibrary pkgs.vulkan-headers super.VulkanMemoryAllocator;
|
2022-12-08 10:21:44 +08:00
|
|
|
# dontCheck can be removed on the next package set bump
|
|
|
|
vulkan-utils = dontCheck (addExtraLibrary pkgs.vulkan-headers super.vulkan-utils);
|
2020-05-29 19:07:34 +08:00
|
|
|
|
2018-05-07 13:26:42 +02:00
|
|
|
# Work around overspecified constraint on github ==0.18.
|
|
|
|
github-backup = doJailbreak super.github-backup;
|
|
|
|
|
2020-11-21 17:33:21 +01:00
|
|
|
# dontCheck: https://github.com/haskell-servant/servant-auth/issues/113
|
2023-08-30 23:44:58 +02:00
|
|
|
servant-auth-client = dontCheck super.servant-auth-client;
|
|
|
|
# Allow lens-aeson >= 1.2 https://github.com/haskell-servant/servant/issues/1703
|
2022-03-08 12:45:47 +01:00
|
|
|
servant-auth-server = doJailbreak super.servant-auth-server;
|
2023-08-30 23:44:58 +02:00
|
|
|
# Allow hspec >= 2.10 https://github.com/haskell-servant/servant/issues/1704
|
|
|
|
servant-foreign = doJailbreak super.servant-foreign;
|
2018-07-25 09:02:22 +01:00
|
|
|
|
2020-07-24 20:31:14 +02:00
|
|
|
# Generate cli completions for dhall.
|
2022-09-09 20:33:20 +02:00
|
|
|
dhall = self.generateOptparseApplicativeCompletions [ "dhall" ] super.dhall;
|
2025-01-27 17:22:59 +01:00
|
|
|
# 2025-01-27: allow aeson >= 2.2, 9.8 versions of text and bytestring
|
|
|
|
dhall-json = self.generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] (doJailbreak super.dhall-json);
|
2023-12-19 09:18:52 +01:00
|
|
|
# 2023-12-19: jailbreaks due to hnix-0.17 https://github.com/dhall-lang/dhall-haskell/pull/2559
|
|
|
|
# until dhall-nix 1.1.26+, dhall-nixpkgs 1.0.10+
|
|
|
|
dhall-nix = self.generateOptparseApplicativeCompletions [ "dhall-to-nix" ] (doJailbreak super.dhall-nix);
|
|
|
|
dhall-nixpkgs = self.generateOptparseApplicativeCompletions [ "dhall-to-nixpkgs" ] (doJailbreak super.dhall-nixpkgs);
|
2022-09-09 20:33:20 +02:00
|
|
|
dhall-yaml = self.generateOptparseApplicativeCompletions ["dhall-to-yaml-ng" "yaml-to-dhall"] super.dhall-yaml;
|
2018-07-10 01:23:50 +02:00
|
|
|
|
2018-07-11 22:32:30 -05:00
|
|
|
# musl fixes
|
|
|
|
# dontCheck: use of non-standard strptime "%s" which musl doesn't support; only used in test
|
|
|
|
unix-time = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.unix-time else super.unix-time;
|
2021-02-26 22:28:19 +01:00
|
|
|
|
2022-11-21 14:48:39 +01:00
|
|
|
# Workaround for https://github.com/sol/hpack/issues/528
|
|
|
|
# The hpack test suite can't deal with the CRLF line endings hackage revisions insert
|
|
|
|
hpack = overrideCabal (drv: {
|
|
|
|
postPatch = drv.postPatch or "" + ''
|
|
|
|
"${lib.getBin pkgs.buildPackages.dos2unix}/bin/dos2unix" *.cabal
|
|
|
|
'';
|
|
|
|
}) super.hpack;
|
|
|
|
|
2023-02-06 10:56:35 -03:00
|
|
|
# hslua has tests that break when using musl.
|
2021-12-14 14:02:24 +09:00
|
|
|
# https://github.com/hslua/hslua/issues/106
|
2023-02-06 10:56:35 -03:00
|
|
|
hslua-core = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.hslua-core else super.hslua-core;
|
2021-12-14 14:02:24 +09:00
|
|
|
|
2023-02-18 18:16:49 +01:00
|
|
|
# Missing files required by the test suite.
|
|
|
|
# https://github.com/deemp/flakes/issues/4
|
|
|
|
lima = dontCheck super.lima;
|
|
|
|
|
2021-02-26 22:28:19 +01:00
|
|
|
# The test suite runs for 20+ minutes on a very fast machine, which feels kinda disproportionate.
|
|
|
|
prettyprinter = dontCheck super.prettyprinter;
|
2018-07-13 23:39:17 -05:00
|
|
|
|
|
|
|
# Fix with Cabal 2.2, https://github.com/guillaume-nargeot/hpc-coveralls/pull/73
|
2022-03-24 19:19:57 +01:00
|
|
|
hpc-coveralls = appendPatch (fetchpatch {
|
2018-07-13 23:39:17 -05:00
|
|
|
url = "https://github.com/guillaume-nargeot/hpc-coveralls/pull/73/commits/344217f513b7adfb9037f73026f5d928be98d07f.patch";
|
|
|
|
sha256 = "056rk58v9h114mjx62f41x971xn9p3nhsazcf9zrcyxh1ymrdm8j";
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.hpc-coveralls;
|
2018-07-24 10:32:00 +10:00
|
|
|
|
2018-08-09 20:15:20 +02:00
|
|
|
# sexpr is old, broken and has no issue-tracker. Let's fix it the best we can.
|
2021-10-26 18:20:34 +08:00
|
|
|
sexpr = appendPatch ./patches/sexpr-0.2.1.patch
|
|
|
|
(overrideCabal (drv: {
|
2018-08-03 02:00:47 +02:00
|
|
|
isExecutable = false;
|
|
|
|
libraryHaskellDepends = drv.libraryHaskellDepends ++ [self.QuickCheck];
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.sexpr);
|
2018-08-09 20:15:20 +02:00
|
|
|
|
2018-08-17 09:02:24 -04:00
|
|
|
# https://github.com/haskell/hoopl/issues/50
|
|
|
|
hoopl = dontCheck super.hoopl;
|
2018-08-17 09:25:35 -04:00
|
|
|
|
2020-06-24 15:43:54 -04:00
|
|
|
# https://github.com/DanielG/cabal-helper/pull/123
|
2018-10-19 04:27:12 -04:00
|
|
|
cabal-helper = doJailbreak super.cabal-helper;
|
|
|
|
|
2018-11-19 15:44:32 +01:00
|
|
|
# TODO(Profpatsch): factor out local nix store setup from
|
|
|
|
# lib/tests/release.nix and use that for the tests of libnix
|
2021-10-26 18:20:34 +08:00
|
|
|
# libnix = overrideCabal (old: {
|
2018-11-19 15:44:32 +01:00
|
|
|
# testToolDepends = old.testToolDepends or [] ++ [ pkgs.nix ];
|
2021-10-26 18:20:34 +08:00
|
|
|
# }) super.libnix;
|
2018-11-19 15:44:32 +01:00
|
|
|
libnix = dontCheck super.libnix;
|
|
|
|
|
2020-06-22 21:09:37 +03:00
|
|
|
# dontCheck: The test suite tries to mess with ALSA, which doesn't work in the build sandbox.
|
2020-06-28 11:28:31 -04:00
|
|
|
xmobar = dontCheck super.xmobar;
|
2018-12-04 12:17:13 +01:00
|
|
|
|
2018-12-05 20:45:32 +01:00
|
|
|
# https://github.com/mgajda/json-autotype/issues/25
|
|
|
|
json-autotype = dontCheck super.json-autotype;
|
|
|
|
|
2024-01-05 14:06:19 +01:00
|
|
|
postgresql-simple-migration = overrideCabal (drv: {
|
|
|
|
preCheck = ''
|
|
|
|
PGUSER=test
|
|
|
|
PGDATABASE=test
|
|
|
|
'';
|
|
|
|
testToolDepends = drv.testToolDepends or [] ++ [
|
|
|
|
pkgs.postgresql
|
|
|
|
pkgs.postgresqlTestHook
|
|
|
|
];
|
|
|
|
}) (doJailbreak super.postgresql-simple-migration);
|
2024-01-05 13:58:40 +01:00
|
|
|
|
2024-03-03 15:21:27 +01:00
|
|
|
postgresql-simple = addTestToolDepends [
|
|
|
|
pkgs.postgresql
|
|
|
|
pkgs.postgresqlTestHook
|
|
|
|
] super.postgresql-simple;
|
|
|
|
|
2024-02-10 15:42:35 +01:00
|
|
|
beam-postgres = lib.pipe super.beam-postgres [
|
|
|
|
# Requires pg_ctl command during tests
|
|
|
|
(addTestToolDepends [pkgs.postgresql])
|
2024-11-16 05:59:51 +00:00
|
|
|
(dontCheckIf (!pkgs.postgresql.doCheck || !self.testcontainers.doCheck))
|
2024-02-10 15:42:35 +01:00
|
|
|
];
|
2019-02-04 13:04:06 +01:00
|
|
|
|
2024-03-03 15:21:27 +01:00
|
|
|
users-postgresql-simple = addTestToolDepends [
|
|
|
|
pkgs.postgresql
|
|
|
|
pkgs.postgresqlTestHook
|
|
|
|
] super.users-postgresql-simple;
|
2019-02-04 13:04:06 +01:00
|
|
|
|
2024-06-27 21:14:18 +01:00
|
|
|
gargoyle-postgresql-nix = addBuildTool [pkgs.postgresql] super.gargoyle-postgresql-nix;
|
2024-05-04 02:01:22 +01:00
|
|
|
|
2023-12-13 12:36:15 +01:00
|
|
|
# PortMidi needs an environment variable to have ALSA find its plugins:
|
|
|
|
# https://github.com/NixOS/nixpkgs/issues/6860
|
|
|
|
PortMidi = overrideCabal (drv: {
|
|
|
|
patches = (drv.patches or []) ++ [ ./patches/portmidi-alsa-plugins.patch ];
|
|
|
|
postPatch = (drv.postPatch or "") + ''
|
|
|
|
substituteInPlace portmidi/pm_linux/pmlinuxalsa.c \
|
|
|
|
--replace @alsa_plugin_dir@ "${pkgs.alsa-plugins}/lib/alsa-lib"
|
|
|
|
'';
|
|
|
|
}) super.PortMidi;
|
|
|
|
|
2021-10-26 18:20:34 +08:00
|
|
|
scat = overrideCabal (drv: {
|
2023-12-09 23:12:17 +01:00
|
|
|
patches = [
|
2024-06-05 12:46:17 +02:00
|
|
|
# Fix build with base >= 4.11 (https://github.com/redelmann/scat/pull/6)
|
2023-12-09 23:12:17 +01:00
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/redelmann/scat/commit/429f22944b7634b8789cb3805292bcc2b23e3e9f.diff";
|
|
|
|
hash = "sha256-FLr1KfBaSYzI6MiZIBY1CkgAb5sThvvgjrSAN8EV0h4=";
|
|
|
|
})
|
2024-06-05 12:46:17 +02:00
|
|
|
# Fix build with vector >= 0.13, mtl >= 2.3 (https://github.com/redelmann/scat/pull/8)
|
2023-12-09 23:12:17 +01:00
|
|
|
(fetchpatch {
|
2024-06-05 12:46:17 +02:00
|
|
|
url = "https://github.com/redelmann/scat/compare/e8e064f7e6a152fe25a6ccd743573a16974239d0..c6a3636548d628f32d8edc73a333188ce24141a7.patch";
|
|
|
|
hash = "sha256-BU4MUn/TnZHpZBlX1vDHE7QZva5yhlLTb8zwpx7UScI";
|
2023-12-09 23:12:17 +01:00
|
|
|
})
|
|
|
|
];
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.scat;
|
2018-12-30 10:31:42 +01:00
|
|
|
|
2019-03-09 17:37:46 +01:00
|
|
|
# Fix build with attr-2.4.48 (see #53716)
|
2021-10-26 18:20:34 +08:00
|
|
|
xattr = appendPatch ./patches/xattr-fix-build.patch super.xattr;
|
2019-03-09 17:37:46 +01:00
|
|
|
|
2022-04-16 17:37:13 +02:00
|
|
|
esqueleto =
|
|
|
|
overrideCabal
|
|
|
|
(drv: {
|
|
|
|
postPatch = drv.postPatch or "" + ''
|
|
|
|
# patch out TCP usage: https://nixos.org/manual/nixpkgs/stable/#sec-postgresqlTestHook-tcp
|
|
|
|
sed -i test/PostgreSQL/Test.hs \
|
|
|
|
-e s^host=localhost^^
|
|
|
|
'';
|
|
|
|
# Match the test suite defaults (or hardcoded values?)
|
|
|
|
preCheck = drv.preCheck or "" + ''
|
|
|
|
PGUSER=esqutest
|
|
|
|
PGDATABASE=esqutest
|
|
|
|
'';
|
|
|
|
testFlags = drv.testFlags or [] ++ [
|
|
|
|
# We don't have a MySQL test hook yet
|
|
|
|
"--skip=/Esqueleto/MySQL"
|
|
|
|
];
|
|
|
|
testToolDepends = drv.testToolDepends or [] ++ [
|
|
|
|
pkgs.postgresql
|
|
|
|
pkgs.postgresqlTestHook
|
|
|
|
];
|
|
|
|
})
|
2024-02-10 15:42:35 +01:00
|
|
|
# https://github.com/NixOS/nixpkgs/issues/198495
|
|
|
|
(dontCheckIf (!pkgs.postgresql.doCheck) super.esqueleto);
|
2019-05-02 20:14:15 +02:00
|
|
|
|
2019-05-23 15:35:13 +02:00
|
|
|
# Requires API keys to run tests
|
|
|
|
algolia = dontCheck super.algolia;
|
2023-03-28 08:43:27 -07:00
|
|
|
openai-hs = dontCheck super.openai-hs;
|
2019-05-23 15:35:13 +02:00
|
|
|
|
|
|
|
# antiope-s3's latest stackage version has a hspec < 2.6 requirement, but
|
|
|
|
# hspec which isn't in stackage is already past that
|
|
|
|
antiope-s3 = doJailbreak super.antiope-s3;
|
|
|
|
|
|
|
|
# Has tasty < 1.2 requirement, but works just fine with 1.2
|
|
|
|
temporary-resourcet = doJailbreak super.temporary-resourcet;
|
|
|
|
|
2019-06-01 16:33:17 +02:00
|
|
|
# Test suite doesn't work with current QuickCheck
|
|
|
|
# https://github.com/pruvisto/heap/issues/11
|
|
|
|
heap = dontCheck super.heap;
|
|
|
|
|
2019-06-13 22:05:51 +02:00
|
|
|
# Test suite won't link for no apparent reason.
|
|
|
|
constraints-deriving = dontCheck super.constraints-deriving;
|
|
|
|
|
2019-08-21 21:29:03 +02:00
|
|
|
# https://github.com/elliottt/hsopenid/issues/15
|
|
|
|
openid = markBroken super.openid;
|
|
|
|
|
2019-10-18 21:41:16 +02:00
|
|
|
# https://github.com/erikd/hjsmin/issues/32
|
|
|
|
hjsmin = dontCheck super.hjsmin;
|
|
|
|
|
2019-11-06 20:08:44 +01:00
|
|
|
# Remove for hail > 0.2.0.0
|
2021-10-26 18:20:34 +08:00
|
|
|
hail = overrideCabal (drv: {
|
2019-11-06 20:08:44 +01:00
|
|
|
patches = [
|
2022-03-24 19:19:57 +01:00
|
|
|
(fetchpatch {
|
2019-11-06 20:08:44 +01:00
|
|
|
# Relax dependency constraints,
|
|
|
|
# upstream PR: https://github.com/james-preston/hail/pull/13
|
|
|
|
url = "https://patch-diff.githubusercontent.com/raw/james-preston/hail/pull/13.patch";
|
|
|
|
sha256 = "039p5mqgicbhld2z44cbvsmam3pz0py3ybaifwrjsn1y69ldsmkx";
|
|
|
|
})
|
2022-03-24 19:19:57 +01:00
|
|
|
(fetchpatch {
|
2019-11-06 20:08:44 +01:00
|
|
|
# Relax dependency constraints,
|
2020-11-12 10:40:07 +01:00
|
|
|
# upstream PR: https://github.com/james-preston/hail/pull/16
|
|
|
|
url = "https://patch-diff.githubusercontent.com/raw/james-preston/hail/pull/16.patch";
|
|
|
|
sha256 = "0dpagpn654zjrlklihsg911lmxjj8msylbm3c68xa5aad1s9gcf7";
|
2019-11-06 20:08:44 +01:00
|
|
|
})
|
|
|
|
];
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.hail;
|
2019-11-06 20:08:44 +01:00
|
|
|
|
2019-11-29 20:57:30 +01:00
|
|
|
# https://github.com/kazu-yamamoto/dns/issues/150
|
|
|
|
dns = dontCheck super.dns;
|
|
|
|
|
2019-12-27 20:34:14 +01:00
|
|
|
# https://github.com/haskell-servant/servant-ekg/issues/15
|
|
|
|
servant-ekg = doJailbreak super.servant-ekg;
|
|
|
|
|
2020-02-06 10:50:47 +00:00
|
|
|
# the test suite has an overly tight restriction on doctest
|
2020-02-07 13:34:07 +00:00
|
|
|
# See https://github.com/ekmett/perhaps/pull/5
|
2020-02-06 10:50:47 +00:00
|
|
|
perhaps = doJailbreak super.perhaps;
|
|
|
|
|
2020-02-08 20:52:00 +01:00
|
|
|
# it wants to build a statically linked binary by default
|
2021-10-26 18:20:34 +08:00
|
|
|
hledger-flow = overrideCabal (drv: {
|
2020-02-08 20:52:00 +01:00
|
|
|
postPatch = (drv.postPatch or "") + ''
|
|
|
|
substituteInPlace hledger-flow.cabal --replace "-static" ""
|
|
|
|
'';
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.hledger-flow;
|
2020-02-08 20:52:00 +01:00
|
|
|
|
2020-02-21 04:33:29 +01:00
|
|
|
# Chart-tests needs and compiles some modules from Chart itself
|
2021-10-26 18:20:34 +08:00
|
|
|
Chart-tests = overrideCabal (old: {
|
2021-10-28 13:52:35 +02:00
|
|
|
# https://github.com/timbod7/haskell-chart/issues/233
|
|
|
|
jailbreak = true;
|
2021-10-28 13:41:30 +02:00
|
|
|
preCheck = old.preCheck or "" + ''
|
2020-02-21 04:33:29 +01:00
|
|
|
tar --one-top-level=../chart --strip-components=1 -xf ${self.Chart.src}
|
|
|
|
'';
|
2021-10-26 18:20:34 +08:00
|
|
|
}) (addExtraLibrary self.QuickCheck super.Chart-tests);
|
2020-02-21 04:33:29 +01:00
|
|
|
|
2020-02-21 22:21:30 +01:00
|
|
|
# This breaks because of version bounds, but compiles and runs fine.
|
|
|
|
# Last commit is 5 years ago, so we likely won't get upstream fixed soon.
|
|
|
|
# https://bitbucket.org/rvlm/hakyll-contrib-hyphenation/src/master/
|
|
|
|
# Therefore we jailbreak it.
|
|
|
|
hakyll-contrib-hyphenation = doJailbreak super.hakyll-contrib-hyphenation;
|
|
|
|
|
2020-04-17 08:29:46 -04:00
|
|
|
# The test suite depends on an impure cabal-install installation in
|
2020-04-25 18:22:55 +02:00
|
|
|
# $HOME, which we don't have in our build sandbox.
|
2022-08-31 16:20:08 +02:00
|
|
|
# 2022-08-31: Jailbreak is done to allow aeson 2.0.*:
|
|
|
|
# https://github.com/haskell-CI/haskell-ci/commit/6ad0d5d701cbe101013335d597acaf5feadd3ab9#r82681900
|
2022-08-31 15:15:28 +02:00
|
|
|
cabal-install-parsers = doJailbreak (dontCheck (super.cabal-install-parsers.override {
|
2024-04-01 11:20:16 +02:00
|
|
|
Cabal-syntax = self.Cabal-syntax_3_10_3_0;
|
2022-08-31 15:15:28 +02:00
|
|
|
}));
|
2020-03-06 22:11:33 +01:00
|
|
|
|
2020-04-04 21:42:07 +02:00
|
|
|
# Test suite requires database
|
2020-03-03 21:37:56 -05:00
|
|
|
persistent-mysql = dontCheck super.persistent-mysql;
|
2022-04-16 17:39:19 +02:00
|
|
|
persistent-postgresql =
|
2023-02-13 15:05:16 +01:00
|
|
|
# TODO: move this override to configuration-nix.nix
|
2022-04-16 17:39:19 +02:00
|
|
|
overrideCabal
|
|
|
|
(drv: {
|
|
|
|
postPatch = drv.postPath or "" + ''
|
|
|
|
# patch out TCP usage: https://nixos.org/manual/nixpkgs/stable/#sec-postgresqlTestHook-tcp
|
|
|
|
# NOTE: upstream host variable takes only two values...
|
|
|
|
sed -i test/PgInit.hs \
|
|
|
|
-e s^'host=" <> host <> "'^^
|
|
|
|
'';
|
haskellPackages: avoid re-enabling previously disabled tests
The intent of all doCheck = <condition>, where condition is possibly true, is to disable
the tests in a specific case. However, as currently written, this also has the effect of
re-enabling the tests, even if they have been disabled by an override before, e.g. to
mkDerivation.
This also affects the default value given in mkDerivation, which is !isCross. Before this
change, aeson for example, would have been built with tests when cross-compiling, which
was not intended.
The proper way is to set the doCheck = false attribute only conditionally, and otherwise
rely on a previous override or the default value given in mkDerivation.
2024-02-10 15:15:56 +01:00
|
|
|
# https://github.com/commercialhaskell/stackage/issues/6884
|
|
|
|
# persistent-postgresql-2.13.5.1 needs persistent-test >= 2.13.1.3 which
|
|
|
|
# is incompatible with the stackage version of persistent, so the tests
|
|
|
|
# are disabled temporarily.
|
|
|
|
doCheck = false;
|
2022-04-16 17:39:19 +02:00
|
|
|
preCheck = drv.preCheck or "" + ''
|
|
|
|
PGDATABASE=test
|
|
|
|
PGUSER=test
|
|
|
|
'';
|
|
|
|
testToolDepends = drv.testToolDepends or [] ++ [
|
|
|
|
pkgs.postgresql
|
|
|
|
pkgs.postgresqlTestHook
|
|
|
|
];
|
|
|
|
})
|
2024-02-10 15:42:35 +01:00
|
|
|
# https://github.com/NixOS/nixpkgs/issues/198495
|
|
|
|
(dontCheckIf (!pkgs.postgresql.doCheck) super.persistent-postgresql);
|
2020-03-03 21:37:56 -05:00
|
|
|
|
2023-02-12 16:14:25 +01:00
|
|
|
# Test suite requires a later version of persistent-test which depends on persistent 2.14
|
|
|
|
# https://github.com/commercialhaskell/stackage/issues/6884
|
|
|
|
persistent-sqlite = dontCheck super.persistent-sqlite;
|
|
|
|
|
2024-07-12 19:24:22 +02:00
|
|
|
# Needs matching lsp-types
|
|
|
|
lsp_2_4_0_0 = super.lsp_2_4_0_0.override {
|
|
|
|
lsp-types = self.lsp-types_2_1_1_0;
|
|
|
|
};
|
|
|
|
|
2024-02-28 13:56:43 +08:00
|
|
|
# 2024-02-28: The Hackage version dhall-lsp-server-1.1.3 requires
|
|
|
|
# lsp-1.4.0.0 which is hard to build with this LTS. However, the latest
|
|
|
|
# git version of dhall-lsp-server works with lsp-2.1.0.0, and only
|
|
|
|
# needs jailbreaking to build successfully.
|
|
|
|
dhall-lsp-server = lib.pipe
|
|
|
|
(super.dhall-lsp-server.overrideScope (lself: lsuper: {
|
|
|
|
lsp = doJailbreak lself.lsp_2_1_0_0; # sorted-list <0.2.2
|
2025-01-27 17:33:28 +01:00
|
|
|
lsp-types = doJailbreak lself.lsp-types_2_1_1_0; # lens <5.3
|
2024-02-28 13:56:43 +08:00
|
|
|
}))
|
|
|
|
[
|
|
|
|
doJailbreak
|
|
|
|
];
|
2022-09-20 02:49:35 +02:00
|
|
|
|
2024-05-31 01:35:17 +01:00
|
|
|
ghcjs-dom-hello = appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/ghcjs/ghcjs-dom-hello/commit/53991df6a4eba9f1e9633eb22f6a0486a79491c3.patch";
|
|
|
|
sha256 = "sha256-HQeUgjvzYyY14+CDYiMahAMn7fBcy2d7p8/kqGq+rnI=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/ghcjs/ghcjs-dom-hello/commit/d766d937121f7ea5c4c154bd533a1eae47f531c9.patch";
|
|
|
|
sha256 = "sha256-QTkH+L+JMwGyuoqzHBnrokT7KzpHC4YiAWoeiaFBLUw=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/ghcjs/ghcjs-dom-hello/commit/831464d995f4033c9aa84f9ed9fb37a268f34d4e.patch";
|
|
|
|
sha256 = "sha256-hQMy+78geTuxd3kbdiyYqoAFrauu90HbpPi0EEKjMzM=";
|
|
|
|
})
|
|
|
|
] super.ghcjs-dom-hello;
|
|
|
|
|
2024-05-31 01:00:50 +01:00
|
|
|
# Needs https://github.com/ghcjs/jsaddle-hello/pull/5 and hackage release
|
|
|
|
jsaddle-hello = appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/ghcjs/jsaddle-hello/commit/c4de837675117b821c50a5079d20d84ec16ff26a.patch";
|
|
|
|
sha256 = "sha256-NsM7QqNLt5V8i5bveYgMrawGnZVsIuAoJfBF75jBwV0=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/ghcjs/jsaddle-hello/commit/5c437363833684ea951ec74a0d0fdf5b6fbaca85.patch";
|
|
|
|
sha256 = "sha256-CUyZsts0FAQ3c8Z+zfvwbmlAJCMcidV80n8dA/SoRls=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/ghcjs/jsaddle-hello/commit/e2da9e266fbfa8f7fcf3009ab6cfbf825a8bcf7a.patch";
|
|
|
|
sha256 = "sha256-WL0CcnlMt6KI7MOZMg74fNN/I4gYSO3n+GiaXB2BOP0=";
|
|
|
|
})
|
|
|
|
] super.jsaddle-hello;
|
|
|
|
|
2024-04-27 11:16:59 +02:00
|
|
|
# Too strict upper bounds on text
|
|
|
|
lsql-csv = doJailbreak super.lsql-csv;
|
|
|
|
|
2025-01-27 14:23:58 +01:00
|
|
|
# Tests disabled and broken override needed because of missing lib chrome-test-utils: https://github.com/reflex-frp/reflex-dom/issues/392
|
|
|
|
reflex-dom-core = lib.pipe super.reflex-dom-core [
|
|
|
|
doDistribute
|
|
|
|
dontCheck
|
|
|
|
unmarkBroken
|
|
|
|
];
|
2020-11-19 00:17:36 +01:00
|
|
|
|
2023-05-08 20:18:32 +04:00
|
|
|
# Tests disabled because they assume to run in the whole jsaddle repo and not the hackage tarball of jsaddle-warp.
|
2020-07-23 17:56:34 +02:00
|
|
|
jsaddle-warp = dontCheck super.jsaddle-warp;
|
2020-06-22 21:40:20 +02:00
|
|
|
|
2025-01-17 19:41:47 +00:00
|
|
|
# https://github.com/ghcjs/jsaddle/issues/151
|
|
|
|
jsaddle-webkit2gtk = overrideCabal (drv: {
|
|
|
|
postPatch = drv.postPatch or "" + ''
|
|
|
|
substituteInPlace jsaddle-webkit2gtk.cabal --replace-fail gi-gtk gi-gtk3
|
|
|
|
substituteInPlace jsaddle-webkit2gtk.cabal --replace-fail gi-javascriptcore gi-javascriptcore4
|
|
|
|
'';
|
|
|
|
}) (super.jsaddle-webkit2gtk.override {
|
|
|
|
gi-gtk = self.gi-gtk3;
|
|
|
|
gi-javascriptcore = self.gi-javascriptcore4;
|
|
|
|
});
|
|
|
|
|
2020-06-24 00:21:29 +02:00
|
|
|
# 2020-06-24: Jailbreaking because of restrictive test dep bounds
|
|
|
|
# Upstream issue: https://github.com/kowainik/trial/issues/62
|
|
|
|
trial = doJailbreak super.trial;
|
|
|
|
|
2024-03-19 14:11:16 -06:00
|
|
|
# 2024-03-19: Fix for mtl >= 2.3
|
|
|
|
pattern-arrows = lib.pipe super.pattern-arrows [
|
|
|
|
doJailbreak
|
|
|
|
(appendPatches [./patches/pattern-arrows-add-fix-import.patch])
|
|
|
|
];
|
|
|
|
|
2024-03-19 15:07:53 -06:00
|
|
|
# 2024-03-19: Fix for mtl >= 2.3
|
|
|
|
cheapskate = lib.pipe super.cheapskate [
|
|
|
|
doJailbreak
|
|
|
|
(appendPatches [./patches/cheapskate-mtl-2-3-support.patch])
|
|
|
|
];
|
|
|
|
|
2020-06-24 12:54:42 -04:00
|
|
|
# 2020-06-24: Tests are broken in hackage distribution.
|
|
|
|
# See: https://github.com/robstewart57/rdf4h/issues/39
|
|
|
|
rdf4h = dontCheck super.rdf4h;
|
2020-07-03 20:47:17 +02:00
|
|
|
|
2020-06-25 14:23:09 +02:00
|
|
|
# hasn't bumped upper bounds
|
|
|
|
# test fails because of a "Warning: Unused LANGUAGE pragma"
|
|
|
|
# https://github.com/ennocramer/monad-dijkstra/issues/4
|
2022-11-27 03:48:59 +01:00
|
|
|
monad-dijkstra = dontCheck super.monad-dijkstra;
|
2020-06-25 14:23:09 +02:00
|
|
|
|
2020-08-28 20:27:35 +02:00
|
|
|
# Fixed upstream but not released to Hackage yet:
|
|
|
|
# https://github.com/k0001/hs-libsodium/issues/2
|
2021-10-26 18:20:34 +08:00
|
|
|
libsodium = overrideCabal (drv: {
|
2021-06-19 22:12:32 +02:00
|
|
|
libraryToolDepends = (drv.libraryToolDepends or []) ++ [self.buildHaskellPackages.c2hs];
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.libsodium;
|
2020-08-25 12:30:50 +02:00
|
|
|
|
2024-01-17 21:38:19 +02:00
|
|
|
svgcairo = overrideCabal (drv: {
|
|
|
|
patches = drv.patches or [ ] ++ [
|
|
|
|
# Remove when https://github.com/gtk2hs/svgcairo/pull/12 goes in.
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/gtk2hs/svgcairo/commit/348c60b99c284557a522baaf47db69322a0a8b67.patch";
|
|
|
|
sha256 = "0akhq6klmykvqd5wsbdfnnl309f80ds19zgq06sh1mmggi54dnf3";
|
|
|
|
})
|
|
|
|
# Remove when https://github.com/gtk2hs/svgcairo/pull/13 goes in.
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/dalpd/svgcairo/commit/d1e0d7ae04c1edca83d5b782e464524cdda6ae85.patch";
|
|
|
|
sha256 = "1pq9ld9z67zsxj8vqjf82qwckcp69lvvnrjb7wsyb5jc6jaj3q0a";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
editedCabalFile = null;
|
|
|
|
revision = null;
|
|
|
|
}) super.svgcairo;
|
2021-09-25 22:11:01 +03:00
|
|
|
|
2020-07-20 22:53:53 +02:00
|
|
|
# Upstream PR: https://github.com/jkff/splot/pull/9
|
2022-03-24 19:19:57 +01:00
|
|
|
splot = appendPatch (fetchpatch {
|
2020-07-20 22:53:53 +02:00
|
|
|
url = "https://github.com/jkff/splot/commit/a6710b05470d25cb5373481cf1cfc1febd686407.patch";
|
|
|
|
sha256 = "1c5ck2ibag2gcyag6rjivmlwdlp5k0dmr8nhk7wlkzq2vh7zgw63";
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.splot;
|
2020-07-23 15:22:23 +02:00
|
|
|
|
2025-01-17 02:05:40 +00:00
|
|
|
# Support ansi-terminal 1.1: https://github.com/facebookincubator/retrie/pull/73
|
|
|
|
retrie = appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/facebookincubator/retrie/commit/b0df07178133b5b049e3e7764acba0e5e3fa57af.patch";
|
|
|
|
sha256 = "sha256-Ea/u6PctSxy4h8VySjOwD2xW3TbwY1qE49dG9Av1SbQ=";
|
|
|
|
}) super.retrie;
|
|
|
|
|
2021-08-04 13:04:41 +02:00
|
|
|
# Fails with encoding problems, likely needs locale data.
|
|
|
|
# Test can be executed by adding which to testToolDepends and
|
|
|
|
# $PWD/dist/build/haskeline-examples-Test to $PATH.
|
2023-03-02 13:41:56 +01:00
|
|
|
haskeline_0_8_2_1 = doDistribute (dontCheck super.haskeline_0_8_2_1);
|
2020-07-27 10:31:43 +02:00
|
|
|
|
2022-07-26 13:20:35 +02:00
|
|
|
# Too strict upper bound on HTF
|
|
|
|
# https://github.com/nikita-volkov/stm-containers/issues/29
|
|
|
|
stm-containers = doJailbreak super.stm-containers;
|
2020-08-13 15:43:19 -05:00
|
|
|
|
2022-02-21 00:37:08 +01:00
|
|
|
# Test suite fails to compile https://github.com/agrafix/Spock/issues/177
|
|
|
|
Spock = dontCheck super.Spock;
|
|
|
|
|
2024-06-01 01:15:09 -07:00
|
|
|
Spock-core = appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/agrafix/Spock/commit/d0b51fa60a83bfa5c1b5fc8fced18001e7321701.patch";
|
|
|
|
sha256 = "sha256-l9voiczOOdYVBP/BNEUvqARb21t0Rp2kpsNbRFUWSLg=";
|
|
|
|
stripLen = 1;
|
|
|
|
})
|
|
|
|
] (doJailbreak super.Spock-core);
|
|
|
|
|
2022-02-21 00:44:31 +01:00
|
|
|
# https://github.com/strake/filtrable.hs/issues/6
|
|
|
|
filtrable = doJailbreak super.filtrable;
|
|
|
|
|
2021-08-15 15:48:53 +02:00
|
|
|
# hasura packages need some extra care
|
2021-10-26 18:20:34 +08:00
|
|
|
graphql-engine = overrideCabal (drv: {
|
2022-03-15 12:26:32 +01:00
|
|
|
patches = [
|
|
|
|
# Compat with unordered-containers >= 0.2.15.0
|
|
|
|
(fetchpatch {
|
|
|
|
name = "hasura-graphql-engine-updated-deps.patch";
|
|
|
|
url = "https://github.com/hasura/graphql-engine/commit/d50aae87a58794bc1fc66c7a60acb0c34b5e70c7.patch";
|
|
|
|
stripLen = 1;
|
|
|
|
excludes = [ "cabal.project.freeze" ];
|
|
|
|
sha256 = "0lb5l9vfynr85i9xs53w4mpgczp04ncxz7846n3y91ri34fa87v3";
|
|
|
|
})
|
|
|
|
# Compat with hashable >= 1.3.4.0
|
|
|
|
(fetchpatch {
|
|
|
|
name = "hasura-graphql-engine-hashable-1.3.4.0.patch";
|
|
|
|
url = "https://github.com/hasura/graphql-engine/commit/e48b2287315fb09005ffd52c0a686dc321171ae2.patch";
|
|
|
|
sha256 = "1jppnanmsyl8npyf59s0d8bgjy7bq50vkh5zx4888jy6jqh27jb6";
|
|
|
|
stripLen = 1;
|
|
|
|
})
|
|
|
|
# Compat with unordered-containers >= 0.2.17.0
|
|
|
|
(fetchpatch {
|
|
|
|
name = "hasura-graphql-engine-unordered-containers-0.2.17.0.patch";
|
|
|
|
url = "https://github.com/hasura/graphql-engine/commit/3a1eb3128a2ded2da7c5fef089738890828cce03.patch";
|
|
|
|
sha256 = "0vz7s8m8mjvv728vm4q0dvvrirvydaw7xks30b5ddj9f6a72a2f1";
|
|
|
|
stripLen = 1;
|
|
|
|
})
|
|
|
|
];
|
2021-10-26 18:20:34 +08:00
|
|
|
doHaddock = false;
|
2022-03-15 12:26:32 +01:00
|
|
|
version = "2.3.1";
|
|
|
|
}) (super.graphql-engine.override {
|
2021-08-15 15:48:53 +02:00
|
|
|
immortal = self.immortal_0_2_2_1;
|
2021-08-17 08:58:54 +02:00
|
|
|
resource-pool = self.hasura-resource-pool;
|
|
|
|
ekg-core = self.hasura-ekg-core;
|
|
|
|
ekg-json = self.hasura-ekg-json;
|
2021-08-22 10:24:21 +09:00
|
|
|
});
|
2022-03-15 12:26:32 +01:00
|
|
|
hasura-ekg-json = super.hasura-ekg-json.override {
|
|
|
|
ekg-core = self.hasura-ekg-core;
|
|
|
|
};
|
2024-02-10 15:42:35 +01:00
|
|
|
pg-client = lib.pipe
|
|
|
|
(super.pg-client.override {
|
|
|
|
resource-pool = self.hasura-resource-pool;
|
|
|
|
ekg-core = self.hasura-ekg-core;
|
|
|
|
}) [
|
|
|
|
(overrideCabal (drv: {
|
|
|
|
librarySystemDepends = with pkgs; [ postgresql krb5.dev openssl.dev ];
|
|
|
|
testToolDepends = drv.testToolDepends or [] ++ [
|
|
|
|
pkgs.postgresql pkgs.postgresqlTestHook
|
|
|
|
];
|
|
|
|
preCheck = drv.preCheck or "" + ''
|
|
|
|
# empty string means use default connection
|
|
|
|
export DATABASE_URL=""
|
|
|
|
'';
|
|
|
|
}))
|
|
|
|
# https://github.com/NixOS/nixpkgs/issues/198495
|
|
|
|
(dontCheckIf (!pkgs.postgresql.doCheck))
|
2022-04-16 17:19:13 +02:00
|
|
|
];
|
2020-08-13 15:43:19 -05:00
|
|
|
|
2021-10-26 18:20:34 +08:00
|
|
|
hcoord = overrideCabal (drv: {
|
2020-07-19 13:46:41 +02:00
|
|
|
# Remove when https://github.com/danfran/hcoord/pull/8 is merged.
|
|
|
|
patches = [
|
2022-03-24 19:19:57 +01:00
|
|
|
(fetchpatch {
|
2020-07-19 13:46:41 +02:00
|
|
|
url = "https://github.com/danfran/hcoord/pull/8/commits/762738b9e4284139f5c21f553667a9975bad688e.patch";
|
|
|
|
sha256 = "03r4jg9a6xh7w3jz3g4bs7ff35wa4rrmjgcggq51y0jc1sjqvhyz";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
# Remove when https://github.com/danfran/hcoord/issues/9 is closed.
|
|
|
|
doCheck = false;
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.hcoord;
|
2020-07-19 13:46:41 +02:00
|
|
|
|
2024-01-07 17:39:42 +01:00
|
|
|
# Break infinite recursion via tasty
|
|
|
|
temporary = dontCheck super.temporary;
|
|
|
|
|
|
|
|
# Break infinite recursion via doctest-lib
|
|
|
|
utility-ht = dontCheck super.utility-ht;
|
|
|
|
|
2024-01-08 11:45:43 +01:00
|
|
|
# Break infinite recursion via optparse-applicative (alternatively, dontCheck syb)
|
|
|
|
prettyprinter-ansi-terminal = dontCheck super.prettyprinter-ansi-terminal;
|
|
|
|
|
2020-08-21 16:48:15 +02:00
|
|
|
# Tests rely on `Int` being 64-bit: https://github.com/hspec/hspec/issues/431.
|
|
|
|
# Also, we need QuickCheck-2.14.x to build the test suite, which isn't easy in LTS-16.x.
|
2020-08-27 15:38:39 +02:00
|
|
|
# So let's not go there and just disable the tests altogether.
|
2020-08-21 16:48:15 +02:00
|
|
|
hspec-core = dontCheck super.hspec-core;
|
2020-08-21 13:07:06 +02:00
|
|
|
|
2022-11-25 22:01:14 -05:00
|
|
|
# tests seem to require a different version of hspec-core
|
|
|
|
hspec-contrib = dontCheck super.hspec-contrib;
|
|
|
|
|
2020-10-05 19:28:58 +02:00
|
|
|
# The test suite attempts to read `/etc/resolv.conf`, which doesn't work in the sandbox.
|
|
|
|
domain-auth = dontCheck super.domain-auth;
|
2020-08-16 20:33:47 +02:00
|
|
|
|
2020-11-06 14:31:00 +08:00
|
|
|
# - Deps are required during the build for testing and also during execution,
|
|
|
|
# so add them to build input and also wrap the resulting binary so they're in
|
|
|
|
# PATH.
|
2022-12-08 10:33:07 +08:00
|
|
|
# - Patch can be removed on next package set bump (for v0.2.11)
|
2023-06-26 23:16:54 +02:00
|
|
|
|
|
|
|
# 2023-06-26: Test failure: https://hydra.nixos.org/build/225081865
|
2024-01-01 14:00:07 +01:00
|
|
|
update-nix-fetchgit = let
|
|
|
|
deps = [ pkgs.git pkgs.nix pkgs.nix-prefetch-git ];
|
|
|
|
in lib.pipe super.update-nix-fetchgit [
|
|
|
|
dontCheck
|
|
|
|
(self.generateOptparseApplicativeCompletions [ "update-nix-fetchgit" ])
|
|
|
|
(overrideCabal (drv: {
|
|
|
|
buildTools = drv.buildTools or [ ] ++ [ pkgs.buildPackages.makeWrapper ];
|
|
|
|
postInstall = drv.postInstall or "" + ''
|
|
|
|
wrapProgram "$out/bin/update-nix-fetchgit" --prefix 'PATH' ':' "${
|
|
|
|
lib.makeBinPath deps
|
|
|
|
}"
|
|
|
|
'';
|
|
|
|
}))
|
|
|
|
(addTestToolDepends deps)
|
|
|
|
# Patch for hnix compat.
|
|
|
|
(appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/expipiplus1/update-nix-fetchgit/commit/dfa34f9823e282aa8c5a1b8bc95ad8def0e8d455.patch";
|
|
|
|
sha256 = "sha256-yBjn1gVihVTlLewKgJc2I9gEj8ViNBAmw0bcsb5rh1A=";
|
|
|
|
excludes = [ "cabal.project" ];
|
|
|
|
}))
|
|
|
|
];
|
2022-03-21 00:05:21 +08:00
|
|
|
|
2022-03-01 15:42:34 +01:00
|
|
|
# Raise version bounds: https://github.com/idontgetoutmuch/binary-low-level/pull/16
|
|
|
|
binary-strict = appendPatches [
|
2022-03-24 19:19:57 +01:00
|
|
|
(fetchpatch {
|
2022-03-01 15:42:34 +01:00
|
|
|
url = "https://github.com/idontgetoutmuch/binary-low-level/pull/16/commits/c16d06a1f274559be0dea0b1f7497753e1b1a8ae.patch";
|
|
|
|
sha256 = "sha256-deSbudy+2je1SWapirWZ1IVWtJ0sJVR5O/fnaAaib2g=";
|
|
|
|
})
|
|
|
|
] super.binary-strict;
|
|
|
|
|
2020-11-18 20:33:04 +09:00
|
|
|
# The tests for semver-range need to be updated for the MonadFail change in
|
|
|
|
# ghc-8.8:
|
|
|
|
# https://github.com/adnelson/semver-range/issues/15
|
|
|
|
semver-range = dontCheck super.semver-range;
|
|
|
|
|
2024-03-02 13:58:37 +08:00
|
|
|
# 2024-03-02: vty <5.39 - https://github.com/reflex-frp/reflex-ghci/pull/33
|
|
|
|
reflex-ghci = assert super.reflex-ghci.version == "0.2.0.1"; doJailbreak super.reflex-ghci;
|
|
|
|
|
2024-09-18 16:04:26 +08:00
|
|
|
# 2024-09-18: transformers <0.5 https://github.com/reflex-frp/reflex-gloss/issues/6
|
|
|
|
reflex-gloss = assert super.reflex-gloss.version == "0.2"; doJailbreak super.reflex-gloss;
|
|
|
|
|
2024-09-18 16:05:06 +08:00
|
|
|
# 2024-09-18: primitive <0.8 https://gitlab.com/Kritzefitz/reflex-gi-gtk/-/merge_requests/20
|
|
|
|
reflex-gi-gtk = assert super.reflex-gi-gtk.version == "0.2.0.1"; doJailbreak super.reflex-gi-gtk;
|
|
|
|
|
2020-11-21 17:33:21 +01:00
|
|
|
# Due to tests restricting base in 0.8.0.0 release
|
|
|
|
http-media = doJailbreak super.http-media;
|
|
|
|
|
2022-03-19 23:27:49 +01:00
|
|
|
# 2022-03-19: strict upper bounds https://github.com/poscat0x04/hinit/issues/2
|
2022-09-09 20:33:20 +02:00
|
|
|
hinit = doJailbreak
|
|
|
|
(self.generateOptparseApplicativeCompletions [ "hi" ]
|
2023-03-02 13:41:56 +01:00
|
|
|
(super.hinit.override { haskeline = self.haskeline_0_8_2_1; }));
|
2021-02-15 20:43:31 +08:00
|
|
|
|
2020-11-24 22:51:57 -05:00
|
|
|
# 2020-11-23: https://github.com/Rufflewind/blas-hs/issues/8
|
|
|
|
blas-hs = dontCheck super.blas-hs;
|
|
|
|
|
2022-06-01 11:55:04 +02:00
|
|
|
# Strange doctest problems
|
|
|
|
# https://github.com/biocad/servant-openapi3/issues/30
|
|
|
|
servant-openapi3 = dontCheck super.servant-openapi3;
|
|
|
|
|
2022-07-14 01:43:52 -04:00
|
|
|
# Point hspec 2.7.10 to correct dependencies
|
2022-12-30 20:38:53 +01:00
|
|
|
hspec_2_7_10 = super.hspec_2_7_10.override {
|
2022-07-14 01:43:52 -04:00
|
|
|
hspec-discover = self.hspec-discover_2_7_10;
|
|
|
|
hspec-core = self.hspec-core_2_7_10;
|
2022-12-30 20:38:53 +01:00
|
|
|
};
|
2023-08-16 14:53:01 +02:00
|
|
|
hspec-discover_2_7_10 = super.hspec-discover_2_7_10.override {
|
|
|
|
hspec-meta = self.hspec-meta_2_7_8;
|
|
|
|
};
|
|
|
|
hspec-core_2_7_10 = doJailbreak (dontCheck super.hspec-core_2_7_10);
|
2022-07-14 01:43:52 -04:00
|
|
|
|
2022-02-22 14:16:52 +00:00
|
|
|
# waiting for aeson bump
|
|
|
|
servant-swagger-ui-core = doJailbreak super.servant-swagger-ui-core;
|
|
|
|
|
2023-07-09 18:00:26 +03:00
|
|
|
hercules-ci-agent = self.generateOptparseApplicativeCompletions [ "hercules-ci-agent" ] super.hercules-ci-agent;
|
2020-11-27 17:32:13 +01:00
|
|
|
|
2022-03-24 19:19:57 +01:00
|
|
|
hercules-ci-cli = lib.pipe super.hercules-ci-cli [
|
2021-11-14 16:35:29 +01:00
|
|
|
unmarkBroken
|
|
|
|
(overrideCabal (drv: { hydraPlatforms = super.hercules-ci-cli.meta.platforms; }))
|
2021-03-07 13:40:17 +01:00
|
|
|
# See hercules-ci-optparse-applicative in non-hackage-packages.nix.
|
2021-11-14 16:35:29 +01:00
|
|
|
(addBuildDepend super.hercules-ci-optparse-applicative)
|
2022-09-09 20:33:20 +02:00
|
|
|
(self.generateOptparseApplicativeCompletions [ "hci" ])
|
2021-11-14 16:35:29 +01:00
|
|
|
];
|
2021-03-07 13:40:17 +01:00
|
|
|
|
2024-07-21 14:32:14 +01:00
|
|
|
# https://github.com/k0001/pipes-aeson/pull/21
|
|
|
|
pipes-aeson = appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/k0001/pipes-aeson/commit/08c25865ef557b41d7e4a783f52e655d2a193e18.patch";
|
|
|
|
relative = "pipes-aeson";
|
|
|
|
sha256 = "sha256-kFV6CcwKdMq+qSgyc+eIApnaycq5A++pEEVr2A9xvts=";
|
|
|
|
}) super.pipes-aeson;
|
2022-03-21 21:36:26 +01:00
|
|
|
|
2022-03-21 21:49:34 +01:00
|
|
|
moto-postgresql = appendPatches [
|
|
|
|
# https://gitlab.com/k0001/moto/-/merge_requests/3
|
2022-03-24 19:19:57 +01:00
|
|
|
(fetchpatch {
|
2022-03-21 21:49:34 +01:00
|
|
|
name = "moto-postgresql-monadfail.patch";
|
|
|
|
url = "https://gitlab.com/k0001/moto/-/commit/09cc1c11d703c25f6e81325be6482dc7ec6cbf58.patch";
|
2022-03-25 17:42:21 +01:00
|
|
|
relative = "moto-postgresql";
|
|
|
|
sha256 = "sha256-f2JVX9VveShCeV+T41RQgacpUoh1izfyHlE6VlErkZM=";
|
2022-03-21 21:49:34 +01:00
|
|
|
})
|
2024-07-21 14:32:14 +01:00
|
|
|
] super.moto-postgresql;
|
2022-03-21 21:49:34 +01:00
|
|
|
|
2022-03-21 21:49:08 +01:00
|
|
|
moto = appendPatches [
|
|
|
|
# https://gitlab.com/k0001/moto/-/merge_requests/3
|
2022-03-24 19:19:57 +01:00
|
|
|
(fetchpatch {
|
2022-03-21 21:49:08 +01:00
|
|
|
name = "moto-ghc-9.0.patch";
|
|
|
|
url = "https://gitlab.com/k0001/moto/-/commit/5b6f015a1271765005f03762f1f1aaed3a3198ed.patch";
|
2022-03-25 17:42:21 +01:00
|
|
|
relative = "moto";
|
|
|
|
sha256 = "sha256-RMa9tk+2ip3Ks73UFv9Ea9GEnElRtzIjdpld1Fx+dno=";
|
2022-03-21 21:49:08 +01:00
|
|
|
})
|
|
|
|
] super.moto;
|
|
|
|
|
2021-08-14 09:59:29 +02:00
|
|
|
# Readline uses Distribution.Simple from Cabal 2, in a way that is not
|
|
|
|
# compatible with Cabal 3. No upstream repository found so far
|
2021-10-26 18:20:34 +08:00
|
|
|
readline = appendPatch ./patches/readline-fix-for-cabal-3.patch super.readline;
|
2021-08-14 09:59:29 +02:00
|
|
|
|
2020-12-06 19:16:33 +01:00
|
|
|
# 2020-12-06: Restrictive upper bounds w.r.t. pandoc-types (https://github.com/owickstrom/pandoc-include-code/issues/27)
|
|
|
|
pandoc-include-code = doJailbreak super.pandoc-include-code;
|
2020-12-18 11:27:36 +01:00
|
|
|
|
2023-07-08 23:14:56 +02:00
|
|
|
# 2023-07-08: Restrictive upper bounds on text: https://github.com/owickstrom/pandoc-emphasize-code/pull/14
|
|
|
|
# 2023-07-08: Missing test dependency: https://github.com/owickstrom/pandoc-emphasize-code/pull/13
|
|
|
|
pandoc-emphasize-code = dontCheck (doJailbreak super.pandoc-emphasize-code);
|
|
|
|
|
2022-03-20 00:39:39 +01:00
|
|
|
# DerivingVia is not allowed in safe Haskell
|
|
|
|
# https://github.com/strake/util.hs/issues/1
|
|
|
|
util = appendConfigureFlags [
|
|
|
|
"--ghc-option=-fno-safe-haskell"
|
|
|
|
"--haddock-option=--optghc=-fno-safe-haskell"
|
|
|
|
] super.util;
|
|
|
|
category = appendConfigureFlags [
|
|
|
|
"--ghc-option=-fno-safe-haskell"
|
|
|
|
"--haddock-option=--optghc=-fno-safe-haskell"
|
|
|
|
] super.category;
|
|
|
|
alg = appendConfigureFlags [
|
|
|
|
"--ghc-option=-fno-safe-haskell"
|
|
|
|
"--haddock-option=--optghc=-fno-safe-haskell"
|
|
|
|
] super.alg;
|
|
|
|
|
2024-08-31 17:12:19 +02:00
|
|
|
# Missing test files in 1.8.1.0, fixed in 1.8.1.1
|
|
|
|
sequence-formats = dontCheck super.sequence-formats;
|
|
|
|
|
2021-01-01 22:03:25 +01:00
|
|
|
# Break out of overspecified constraint on QuickCheck.
|
2021-01-02 19:28:14 +01:00
|
|
|
haddock-library = doJailbreak super.haddock-library;
|
2021-01-05 00:04:06 -04:00
|
|
|
|
2022-11-20 15:50:17 +01:00
|
|
|
# Test suite has overly strict bounds on tasty, jailbreaking fails.
|
2021-01-09 00:32:47 +08:00
|
|
|
# https://github.com/input-output-hk/nothunks/issues/9
|
2022-11-20 15:50:17 +01:00
|
|
|
nothunks = dontCheck super.nothunks;
|
2021-01-09 00:32:47 +08:00
|
|
|
|
2021-01-15 20:47:46 +01:00
|
|
|
# Allow building with older versions of http-client.
|
|
|
|
http-client-restricted = doJailbreak super.http-client-restricted;
|
|
|
|
|
2021-02-11 12:58:49 +01:00
|
|
|
# Test suite fails, upstream not reachable for simple fix (not responsive on github)
|
|
|
|
vivid-osc = dontCheck super.vivid-osc;
|
|
|
|
vivid-supercollider = dontCheck super.vivid-supercollider;
|
2021-02-17 11:34:44 +01:00
|
|
|
|
2021-03-12 15:37:30 +01:00
|
|
|
# Test suite does not compile.
|
2024-03-18 13:54:18 +01:00
|
|
|
feed = dontCheck super.feed;
|
2021-03-12 15:37:30 +01:00
|
|
|
|
2021-10-26 18:20:34 +08:00
|
|
|
spacecookie = overrideCabal (old: {
|
2021-06-19 22:12:32 +02:00
|
|
|
buildTools = (old.buildTools or []) ++ [ pkgs.buildPackages.installShellFiles ];
|
2021-03-16 23:45:18 +01:00
|
|
|
# let testsuite discover the resulting binary
|
|
|
|
preCheck = ''
|
|
|
|
export SPACECOOKIE_TEST_BIN=./dist/build/spacecookie/spacecookie
|
|
|
|
'' + (old.preCheck or "");
|
|
|
|
# install man pages shipped in the sdist
|
|
|
|
postInstall = ''
|
|
|
|
installManPage docs/man/*
|
|
|
|
'' + (old.postInstall or "");
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.spacecookie;
|
2021-03-16 23:45:18 +01:00
|
|
|
|
2021-03-19 00:51:55 +01:00
|
|
|
# Patch and jailbreak can be removed at next release, chatter > 0.9.1.0
|
|
|
|
# * Remove dependency on regex-tdfa-text
|
|
|
|
# * Jailbreak as bounds on cereal are too strict
|
|
|
|
# * Disable test suite which doesn't compile
|
|
|
|
# https://github.com/creswick/chatter/issues/38
|
|
|
|
chatter = appendPatch
|
2022-03-24 19:19:57 +01:00
|
|
|
(fetchpatch {
|
2021-03-19 00:51:55 +01:00
|
|
|
url = "https://github.com/creswick/chatter/commit/e8c15a848130d7d27b8eb5e73e8a0db1366b2e62.patch";
|
|
|
|
sha256 = "1dzak8d12h54vss5fxnrclygz0fz9ygbqvxd5aifz5n3vrwwpj3g";
|
2021-10-26 18:20:34 +08:00
|
|
|
})
|
|
|
|
(dontCheck (doJailbreak (super.chatter.override { regex-tdfa-text = null; })));
|
2021-03-19 00:51:55 +01:00
|
|
|
|
|
|
|
# test suite doesn't compile anymore due to changed hunit/tasty APIs
|
|
|
|
fullstop = dontCheck super.fullstop;
|
|
|
|
|
2021-04-08 22:15:48 +02:00
|
|
|
# * doctests don't work without cabal
|
|
|
|
# https://github.com/noinia/hgeometry/issues/132
|
|
|
|
# * Too strict version bound on vector-builder
|
|
|
|
# https://github.com/noinia/hgeometry/commit/a6abecb1ce4a7fd96b25cc1a5c65cd4257ecde7a#commitcomment-49282301
|
|
|
|
hgeometry-combinatorial = dontCheck (doJailbreak super.hgeometry-combinatorial);
|
2021-03-19 18:26:14 +01:00
|
|
|
|
2021-03-24 00:15:25 +01:00
|
|
|
# Test suite has a too strict bound on base
|
|
|
|
# https://github.com/jswebtools/language-ecmascript/pull/88
|
2022-11-27 20:18:23 +01:00
|
|
|
# Test suite doesn't compile anymore
|
|
|
|
language-ecmascript = dontCheck (doJailbreak super.language-ecmascript);
|
2021-03-24 00:15:25 +01:00
|
|
|
|
|
|
|
# Too strict bounds on containers
|
|
|
|
# https://github.com/jswebtools/language-ecmascript-analysis/issues/1
|
|
|
|
language-ecmascript-analysis = doJailbreak super.language-ecmascript-analysis;
|
|
|
|
|
2021-03-24 00:16:43 +01:00
|
|
|
# Too strict bounds on optparse-applicative
|
|
|
|
# https://github.com/faylang/fay/pull/474
|
|
|
|
fay = doJailbreak super.fay;
|
|
|
|
|
2024-11-17 03:37:48 +00:00
|
|
|
cli-git = addBuildTool pkgs.git super.cli-git;
|
2024-05-14 03:48:22 +01:00
|
|
|
|
|
|
|
# Need https://github.com/obsidiansystems/cli-nix/pull/5 and more
|
|
|
|
cli-nix = addBuildTools [
|
|
|
|
pkgs.nix
|
|
|
|
pkgs.nix-prefetch-git
|
2024-11-17 03:37:48 +00:00
|
|
|
] super.cli-nix;
|
2024-05-14 03:48:22 +01:00
|
|
|
|
2021-03-20 12:21:56 +01:00
|
|
|
# list `modbus` in librarySystemDepends, correct to `libmodbus`
|
2022-11-27 03:48:59 +01:00
|
|
|
libmodbus = doJailbreak (addExtraLibrary pkgs.libmodbus super.libmodbus);
|
2021-03-20 12:21:56 +01:00
|
|
|
|
2022-11-27 03:48:59 +01:00
|
|
|
ginger = doJailbreak super.ginger;
|
2021-04-02 16:56:23 +02:00
|
|
|
|
2021-04-02 17:03:07 +02:00
|
|
|
# Too strict version bounds on ghc-events
|
2022-01-18 15:09:17 -05:00
|
|
|
# https://github.com/mpickering/hs-speedscope/issues/16
|
|
|
|
hs-speedscope = doJailbreak super.hs-speedscope;
|
2021-04-02 17:03:07 +02:00
|
|
|
|
2021-04-02 17:23:13 +02:00
|
|
|
# Test suite doesn't support base16-bytestring >= 1.0
|
|
|
|
# https://github.com/centromere/blake2/issues/6
|
|
|
|
blake2 = dontCheck super.blake2;
|
|
|
|
|
2021-04-02 17:27:26 +02:00
|
|
|
# Test suite doesn't support base16-bytestring >= 1.0
|
|
|
|
# https://github.com/serokell/haskell-crypto/issues/25
|
|
|
|
crypto-sodium = dontCheck super.crypto-sodium;
|
|
|
|
|
2022-02-18 14:43:37 +01:00
|
|
|
# Polyfill for GHCs from the integer-simple days that don't bundle ghc-bignum
|
|
|
|
ghc-bignum = super.ghc-bignum or self.mkDerivation {
|
|
|
|
pname = "ghc-bignum";
|
|
|
|
version = "1.0";
|
|
|
|
sha256 = "0xl848q8z6qx2bi6xil0d35lra7wshwvysyfblki659d7272b1im";
|
|
|
|
description = "GHC BigNum library";
|
2022-03-24 19:19:57 +01:00
|
|
|
license = lib.licenses.bsd3;
|
2022-02-18 14:43:37 +01:00
|
|
|
# ghc-bignum is not buildable if none of the three backends
|
|
|
|
# is explicitly enabled. We enable Native for now as it doesn't
|
|
|
|
# depend on anything else as oppossed to GMP and FFI.
|
|
|
|
# Apply patch which fixes a compilation failure we encountered.
|
|
|
|
# Will need to be kept until we can drop ghc-bignum entirely,
|
|
|
|
# i. e. if GHC 8.10.* and 8.8.* have been removed.
|
|
|
|
configureFlags = [ "-f" "Native" ];
|
|
|
|
patches = [
|
2022-03-24 19:19:57 +01:00
|
|
|
(fetchpatch {
|
2021-04-03 23:24:29 +02:00
|
|
|
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/08d1588bf38d83140a86817a7a615db486357d4f.patch";
|
2022-03-25 17:42:21 +01:00
|
|
|
sha256 = "sha256-Y9WW0KDQ/qY2L9ObPvh1i/6lxXIlprbxzdSBDfiaMtE=";
|
|
|
|
relative = "libraries/ghc-bignum";
|
2021-04-03 23:24:29 +02:00
|
|
|
})
|
|
|
|
];
|
2022-02-18 14:43:37 +01:00
|
|
|
};
|
2021-04-03 23:24:29 +02:00
|
|
|
|
2021-04-09 14:48:02 +02:00
|
|
|
# 2021-04-09: too strict time bound
|
|
|
|
# PR pending https://github.com/zohl/cereal-time/pull/2
|
|
|
|
cereal-time = doJailbreak super.cereal-time;
|
|
|
|
|
2021-04-16 19:21:41 +02:00
|
|
|
# 2021-04-16: too strict bounds on QuickCheck and tasty
|
|
|
|
# https://github.com/hasufell/lzma-static/issues/1
|
|
|
|
lzma-static = doJailbreak super.lzma-static;
|
2024-12-31 13:22:15 +01:00
|
|
|
xz = doJailbreak super.xz;
|
2021-04-16 19:21:41 +02:00
|
|
|
|
2021-05-01 13:31:26 +02:00
|
|
|
# Too strict version bounds on base:
|
|
|
|
# https://github.com/obsidiansystems/database-id/issues/1
|
|
|
|
database-id-class = doJailbreak super.database-id-class;
|
|
|
|
|
2023-07-15 00:16:15 +02:00
|
|
|
# https://github.com/softwarefactory-project/matrix-client-haskell/issues/36
|
|
|
|
# Restrictive bounds on aeson
|
|
|
|
matrix-client = doJailbreak super.matrix-client;
|
|
|
|
|
2021-10-26 18:20:34 +08:00
|
|
|
cabal2nix-unstable = overrideCabal {
|
2023-02-19 11:55:51 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = ../../../maintainers/scripts/haskell/update-cabal2nix-unstable.sh;
|
|
|
|
|
|
|
|
# This is used by regenerate-hackage-packages.nix to supply the configuration
|
|
|
|
# values we can easily generate automatically without checking them in.
|
|
|
|
compilerConfig =
|
|
|
|
pkgs.runCommand
|
|
|
|
"hackage2nix-${self.ghc.haskellCompilerName}-config.yaml"
|
|
|
|
{
|
|
|
|
nativeBuildInputs = [
|
|
|
|
self.ghc
|
|
|
|
];
|
|
|
|
}
|
|
|
|
''
|
|
|
|
cat > "$out" << EOF
|
|
|
|
# generated by haskellPackages.cabal2nix-unstable.compilerConfig
|
|
|
|
compiler: ${self.ghc.haskellCompilerName}
|
|
|
|
|
|
|
|
core-packages:
|
|
|
|
EOF
|
|
|
|
|
|
|
|
ghc-pkg list \
|
|
|
|
| tail -n '+2' \
|
|
|
|
| sed -e 's/[()]//g' -e 's/\s\+/ - /' \
|
|
|
|
>> "$out"
|
|
|
|
'';
|
|
|
|
};
|
2021-10-26 18:20:34 +08:00
|
|
|
} super.cabal2nix-unstable;
|
2020-05-04 01:01:57 +02:00
|
|
|
|
2021-05-04 13:34:35 +02:00
|
|
|
# Too strict version bounds on base
|
|
|
|
# https://github.com/gibiansky/IHaskell/issues/1217
|
|
|
|
ihaskell-display = doJailbreak super.ihaskell-display;
|
|
|
|
ihaskell-basic = doJailbreak super.ihaskell-basic;
|
|
|
|
|
2021-05-06 10:49:57 +02:00
|
|
|
# Tests need to lookup target triple x86_64-unknown-linux
|
|
|
|
# https://github.com/llvm-hs/llvm-hs/issues/334
|
2024-02-10 15:42:35 +01:00
|
|
|
llvm-hs = dontCheckIf (pkgs.stdenv.targetPlatform.system != "x86_64-linux") super.llvm-hs;
|
2021-05-06 10:49:57 +02:00
|
|
|
|
2022-03-20 11:57:17 +01:00
|
|
|
# Fix build with bytestring >= 0.11 (GHC 9.2)
|
|
|
|
# https://github.com/llvm-hs/llvm-hs/pull/389
|
|
|
|
llvm-hs-pure = appendPatches [
|
2022-03-24 19:19:57 +01:00
|
|
|
(fetchpatch {
|
2022-03-20 11:57:17 +01:00
|
|
|
name = "llvm-hs-pure-bytestring-0.11.patch";
|
|
|
|
url = "https://github.com/llvm-hs/llvm-hs/commit/fe8fd556e8d2cc028f61d4d7b4b6bf18c456d090.patch";
|
2022-03-25 17:42:21 +01:00
|
|
|
sha256 = "sha256-1d4wQg6JEJL3GwmXQpvbW7VOY5DwjUPmIsLEEur0Kps=";
|
|
|
|
relative = "llvm-hs-pure";
|
2022-03-20 11:57:17 +01:00
|
|
|
excludes = [ "**/Triple.hs" ]; # doesn't exist in 9.0.0
|
|
|
|
})
|
2023-02-14 15:03:09 +01:00
|
|
|
] (overrideCabal {
|
|
|
|
# Hackage Revision prevents patch from applying. Revision 1 does not allow
|
|
|
|
# bytestring-0.11.4 which is bundled with 9.2.6.
|
|
|
|
editedCabalFile = null;
|
|
|
|
revision = null;
|
|
|
|
} super.llvm-hs-pure);
|
2022-03-20 11:57:17 +01:00
|
|
|
|
2021-05-08 16:32:24 +02:00
|
|
|
# Too strict bounds on dimensional
|
|
|
|
# https://github.com/enomsg/science-constants-dimensional/pull/1
|
|
|
|
science-constants-dimensional = doJailbreak super.science-constants-dimensional;
|
|
|
|
|
2021-12-03 10:15:38 +01:00
|
|
|
# Tests are flaky on busy machines, upstream doesn't intend to fix
|
2021-05-09 00:49:23 +02:00
|
|
|
# https://github.com/merijn/paramtree/issues/4
|
|
|
|
paramtree = dontCheck super.paramtree;
|
|
|
|
|
2024-09-18 14:41:46 +08:00
|
|
|
# 2024-09-18: Make compatible with haskell-gi 0.26.10
|
|
|
|
# https://github.com/owickstrom/gi-gtk-declarative/pull/118
|
|
|
|
gi-gtk-declarative = overrideCabal (drv: assert drv.version == "0.7.1"; {
|
|
|
|
jailbreak = true;
|
|
|
|
postPatch = ''
|
|
|
|
sed -i '1 i {-# LANGUAGE FlexibleContexts #-}' \
|
|
|
|
src/GI/Gtk/Declarative/Widget/Conversions.hs
|
|
|
|
'';
|
|
|
|
}) super.gi-gtk-declarative;
|
2021-05-08 21:13:55 +02:00
|
|
|
gi-gtk-declarative-app-simple = doJailbreak super.gi-gtk-declarative-app-simple;
|
|
|
|
|
2025-01-05 19:41:12 +01:00
|
|
|
# FIXME: These should be removed as gi-gtk4/gi-gdk4 become the standard
|
|
|
|
gi-gtk_4 = self.gi-gtk_4_0_12;
|
|
|
|
gi-gdk_4 = self.gi-gdk_4_0_10;
|
2024-02-09 14:10:03 +08:00
|
|
|
|
2023-04-09 15:36:29 +02:00
|
|
|
# 2023-04-09: haskell-ci needs Cabal-syntax 3.10
|
2024-03-22 12:00:16 +01:00
|
|
|
# 2024-03-21: pins specific version of ShellCheck
|
2024-08-15 23:26:01 +01:00
|
|
|
haskell-ci = super.haskell-ci.overrideScope (self: super: {
|
2024-04-01 11:20:16 +02:00
|
|
|
Cabal-syntax = self.Cabal-syntax_3_10_3_0;
|
2024-03-22 12:00:16 +01:00
|
|
|
ShellCheck = self.ShellCheck_0_9_0;
|
2024-08-15 23:26:01 +01:00
|
|
|
});
|
2021-05-09 10:00:21 +02:00
|
|
|
|
2024-03-22 12:00:16 +01:00
|
|
|
# ShellCheck < 0.10.0 needs to be adjusted for changes in fgl >= 5.8
|
|
|
|
# https://github.com/koalaman/shellcheck/issues/2677
|
|
|
|
ShellCheck_0_9_0 = doJailbreak (appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "shellcheck-fgl-5.8.1.1.patch";
|
|
|
|
url = "https://github.com/koalaman/shellcheck/commit/c05380d518056189412e12128a8906b8ca6f6717.patch";
|
|
|
|
sha256 = "0gbx46x1a2sh5mvgpqxlx9xkqcw4wblpbgqdkqccxdzf7vy50xhm";
|
|
|
|
})
|
|
|
|
] super.ShellCheck_0_9_0);
|
|
|
|
|
2024-01-16 19:32:18 +01:00
|
|
|
# Too strict bound on hspec (<2.11)
|
|
|
|
utf8-light = doJailbreak super.utf8-light;
|
|
|
|
|
2021-05-10 10:23:27 +02:00
|
|
|
# BSON defaults to requiring network instead of network-bsd which is
|
|
|
|
# required nowadays: https://github.com/mongodb-haskell/bson/issues/26
|
2021-10-26 18:20:34 +08:00
|
|
|
bson = appendConfigureFlag "-f-_old_network" (super.bson.override {
|
2021-05-10 10:23:27 +02:00
|
|
|
network = self.network-bsd;
|
2021-10-26 18:20:34 +08:00
|
|
|
});
|
2021-05-10 10:23:27 +02:00
|
|
|
|
2021-05-20 10:28:21 +02:00
|
|
|
# Disable flaky tests
|
|
|
|
# https://github.com/DavidEichmann/alpaca-netcode/issues/2
|
2021-10-26 18:20:34 +08:00
|
|
|
alpaca-netcode = overrideCabal {
|
2021-06-09 15:09:00 +02:00
|
|
|
testFlags = [ "--pattern" "!/[NOCI]/" ];
|
2021-10-26 18:20:34 +08:00
|
|
|
} super.alpaca-netcode;
|
2021-05-20 10:28:21 +02:00
|
|
|
|
2021-05-22 17:48:06 +02:00
|
|
|
# 2021-05-22: Tests fail sometimes (even consistently on hydra)
|
|
|
|
# when running a fs-related test with >= 12 jobs. To work around
|
|
|
|
# this, run tests with only a single job.
|
|
|
|
# https://github.com/vmchale/libarchive/issues/20
|
2021-10-26 18:20:34 +08:00
|
|
|
libarchive = overrideCabal {
|
2021-06-09 15:09:00 +02:00
|
|
|
testFlags = [ "-j1" ];
|
2021-10-26 18:20:34 +08:00
|
|
|
} super.libarchive;
|
2021-05-22 17:48:06 +02:00
|
|
|
|
2021-06-16 23:07:32 +02:00
|
|
|
# Too strict bounds on QuickCheck
|
|
|
|
# https://github.com/muesli4/table-layout/issues/16
|
|
|
|
table-layout = doJailbreak super.table-layout;
|
|
|
|
|
2021-10-02 12:44:03 +02:00
|
|
|
# https://github.com/plow-technologies/hspec-golden-aeson/issues/17
|
2022-02-18 14:50:04 +01:00
|
|
|
hspec-golden-aeson = dontCheck super.hspec-golden-aeson;
|
2021-10-02 12:44:03 +02:00
|
|
|
|
2021-06-22 12:48:30 +02:00
|
|
|
# To strict bound on hspec
|
|
|
|
# https://github.com/dagit/zenc/issues/5
|
|
|
|
zenc = doJailbreak super.zenc;
|
|
|
|
|
2021-08-06 15:32:15 +02:00
|
|
|
# https://github.com/ajscholl/basic-cpuid/pull/1
|
2022-03-24 19:19:57 +01:00
|
|
|
basic-cpuid = appendPatch (fetchpatch {
|
2021-08-06 15:32:15 +02:00
|
|
|
url = "https://github.com/ajscholl/basic-cpuid/commit/2f2bd7a7b53103fb0cf26883f094db9d7659887c.patch";
|
|
|
|
sha256 = "0l15ccfdys100jf50s9rr4p0d0ikn53bkh7a9qlk9i0y0z5jc6x1";
|
2021-10-26 18:20:34 +08:00
|
|
|
}) super.basic-cpuid;
|
2021-08-06 15:32:15 +02:00
|
|
|
|
2021-08-18 10:22:35 +02:00
|
|
|
# 2021-08-18: streamly-posix was released with hspec 2.8.2, but it works with older versions too.
|
|
|
|
streamly-posix = doJailbreak super.streamly-posix;
|
|
|
|
|
2022-07-13 22:05:14 +02:00
|
|
|
# Stackage LTS 19 still has 10.*
|
|
|
|
hadolint = super.hadolint.override {
|
|
|
|
language-docker = self.language-docker_11_0_0;
|
|
|
|
};
|
2021-11-14 09:46:17 +13:00
|
|
|
|
2024-08-30 12:56:40 +02:00
|
|
|
# Too strict lower bounds on (test) deps
|
|
|
|
# https://github.com/phadej/puresat/issues/6
|
|
|
|
puresat = doJailbreak super.puresat;
|
|
|
|
# https://github.com/phadej/spdx/issues/62
|
|
|
|
spdx = doJailbreak super.spdx;
|
|
|
|
|
2021-12-05 15:47:40 +01:00
|
|
|
# test suite requires stack to run, https://github.com/dino-/photoname/issues/24
|
|
|
|
photoname = dontCheck super.photoname;
|
|
|
|
|
2021-12-21 19:53:27 +01:00
|
|
|
# Upgrade of unordered-containers in Stackage causes ordering-sensitive test to fail
|
|
|
|
# https://github.com/commercialhaskell/stackage/issues/6366
|
2021-12-22 10:49:30 +01:00
|
|
|
# https://github.com/kapralVV/Unique/issues/9
|
2022-11-26 12:13:49 +01:00
|
|
|
# Too strict bounds on hashable
|
|
|
|
# https://github.com/kapralVV/Unique/pull/10
|
2021-12-22 10:49:30 +01:00
|
|
|
Unique = assert super.Unique.version == "0.4.7.9"; overrideCabal (drv: {
|
|
|
|
testFlags = [
|
|
|
|
"--skip" "/Data.List.UniqueUnsorted.removeDuplicates/removeDuplicates: simple test/"
|
|
|
|
"--skip" "/Data.List.UniqueUnsorted.repeatedBy,repeated,unique/unique: simple test/"
|
|
|
|
"--skip" "/Data.List.UniqueUnsorted.repeatedBy,repeated,unique/repeatedBy: simple test/"
|
|
|
|
] ++ drv.testFlags or [];
|
2022-11-26 12:13:49 +01:00
|
|
|
}) (doJailbreak super.Unique);
|
2022-05-20 22:41:38 +02:00
|
|
|
|
2021-12-22 12:48:33 +01:00
|
|
|
# https://github.com/AndrewRademacher/aeson-casing/issues/8
|
|
|
|
aeson-casing = assert super.aeson-casing.version == "0.2.0.0"; overrideCabal (drv: {
|
|
|
|
testFlags = [
|
|
|
|
"-p" "! /encode train/"
|
|
|
|
] ++ drv.testFlags or [];
|
|
|
|
}) super.aeson-casing;
|
2022-05-20 22:41:38 +02:00
|
|
|
|
2021-12-23 14:33:21 +01:00
|
|
|
# https://github.com/emc2/HUnit-Plus/issues/26
|
|
|
|
HUnit-Plus = dontCheck super.HUnit-Plus;
|
2021-12-26 11:18:26 +01:00
|
|
|
# https://github.com/ewestern/haskell-postgis/issues/7
|
|
|
|
haskell-postgis = overrideCabal (drv: {
|
|
|
|
testFlags = [
|
|
|
|
"--skip" "/Geo/Hexable/Encodes a linestring/"
|
|
|
|
] ++ drv.testFlags or [];
|
|
|
|
}) super.haskell-postgis;
|
2021-12-26 11:23:49 +01:00
|
|
|
# https://github.com/ChrisPenner/json-to-haskell/issues/5
|
|
|
|
json-to-haskell = overrideCabal (drv: {
|
|
|
|
testFlags = [
|
|
|
|
"--match" "/should sanitize weird field and record names/"
|
|
|
|
] ++ drv.testFlags or [];
|
|
|
|
}) super.json-to-haskell;
|
2021-12-26 12:06:21 +01:00
|
|
|
# https://github.com/fieldstrength/aeson-deriving/issues/5
|
|
|
|
aeson-deriving = dontCheck super.aeson-deriving;
|
2021-12-26 12:06:43 +01:00
|
|
|
# https://github.com/morpheusgraphql/morpheus-graphql/issues/660
|
|
|
|
morpheus-graphql-core = overrideCabal (drv: {
|
|
|
|
testFlags = [
|
|
|
|
"-p" "!/field.unexpected-value/&&!/field.missing-field/&&!/argument.unexpected-value/&&!/argument.missing-field/"
|
|
|
|
] ++ drv.testFlags or [];
|
|
|
|
}) super.morpheus-graphql-core;
|
2021-12-27 14:58:16 +01:00
|
|
|
morpheus-graphql = overrideCabal (drv: {
|
|
|
|
testFlags = [
|
|
|
|
"-p" "!/Test Rendering/"
|
|
|
|
] ++ drv.testFlags or [];
|
|
|
|
}) super.morpheus-graphql;
|
2023-03-03 19:50:28 -05:00
|
|
|
drunken-bishop = doJailbreak super.drunken-bishop;
|
2021-12-26 12:07:03 +01:00
|
|
|
# https://github.com/SupercedeTech/dropbox-client/issues/1
|
|
|
|
dropbox = overrideCabal (drv: {
|
|
|
|
testFlags = [
|
|
|
|
"--skip" "/Dropbox/Dropbox aeson aeson/encodes list folder correctly/"
|
|
|
|
] ++ drv.testFlags or [];
|
|
|
|
}) super.dropbox;
|
2021-12-26 12:07:18 +01:00
|
|
|
# https://github.com/alonsodomin/haskell-schema/issues/11
|
|
|
|
hschema-aeson = overrideCabal (drv: {
|
|
|
|
testFlags = [
|
|
|
|
"--skip" "/toJsonSerializer/should generate valid JSON/"
|
|
|
|
] ++ drv.testFlags or [];
|
|
|
|
}) super.hschema-aeson;
|
2021-12-26 14:46:00 +01:00
|
|
|
# https://github.com/minio/minio-hs/issues/165
|
2024-03-19 08:13:59 +01:00
|
|
|
# https://github.com/minio/minio-hs/pull/191 Use crypton-connection instead of unmaintained connection
|
2021-12-26 14:46:00 +01:00
|
|
|
minio-hs = overrideCabal (drv: {
|
|
|
|
testFlags = [
|
|
|
|
"-p" "!/Test mkSelectRequest/"
|
|
|
|
] ++ drv.testFlags or [];
|
2024-03-19 08:13:59 +01:00
|
|
|
patches = drv.patches or [ ] ++ [
|
|
|
|
(pkgs.fetchpatch {
|
|
|
|
name = "use-crypton-connection.patch";
|
|
|
|
url = "https://github.com/minio/minio-hs/commit/786cf1881f0b62b7539e63547e76afc3c1ade36a.patch";
|
|
|
|
sha256 = "sha256-zw0/jhKzShpqV1sUyxWTl73sQOzm6kA/yQOZ9n0L1Ag";
|
|
|
|
})
|
2025-01-19 11:24:38 -08:00
|
|
|
(pkgs.fetchpatch {
|
|
|
|
name = "compatibility-with-crypton-connection-0-4-0.patch";
|
|
|
|
url = "https://github.com/minio/minio-hs/commit/e2169892a5fea444aaf9e551243da811003d3188.patch";
|
|
|
|
sha256 = "sha256-hWphiArv7gZWiDewLHDeU4RASGOE9Z1liahTmAGQIgQ=";
|
|
|
|
})
|
2024-03-19 08:13:59 +01:00
|
|
|
];
|
|
|
|
}) (super.minio-hs.override { connection = self.crypton-connection; });
|
2021-12-21 19:53:27 +01:00
|
|
|
|
2021-12-26 14:02:27 +01:00
|
|
|
# Invalid CPP in test suite: https://github.com/cdornan/memory-cd/issues/1
|
|
|
|
memory-cd = dontCheck super.memory-cd;
|
|
|
|
|
2022-02-19 09:52:12 +01:00
|
|
|
fgl-arbitrary = doJailbreak super.fgl-arbitrary;
|
|
|
|
|
2022-01-17 15:19:36 +05:30
|
|
|
# raaz-0.3 onwards uses backpack and it does not play nicely with
|
|
|
|
# parallel builds using -j
|
|
|
|
#
|
|
|
|
# See: https://gitlab.haskell.org/ghc/ghc/-/issues/17188
|
|
|
|
#
|
|
|
|
# Overwrite the build cores
|
2024-09-18 12:36:19 +08:00
|
|
|
raaz = disableParallelBuilding super.raaz;
|
2022-01-17 15:19:36 +05:30
|
|
|
|
2021-12-26 14:02:41 +01:00
|
|
|
# https://github.com/andreymulik/sdp/issues/3
|
|
|
|
sdp = disableLibraryProfiling super.sdp;
|
2021-12-27 14:57:27 +01:00
|
|
|
sdp-binary = disableLibraryProfiling super.sdp-binary;
|
|
|
|
sdp-deepseq = disableLibraryProfiling super.sdp-deepseq;
|
|
|
|
sdp-hashable = disableLibraryProfiling super.sdp-hashable;
|
|
|
|
sdp-io = disableLibraryProfiling super.sdp-io;
|
|
|
|
sdp-quickcheck = disableLibraryProfiling super.sdp-quickcheck;
|
|
|
|
sdp4bytestring = disableLibraryProfiling super.sdp4bytestring;
|
|
|
|
sdp4text = disableLibraryProfiling super.sdp4text;
|
|
|
|
sdp4unordered = disableLibraryProfiling super.sdp4unordered;
|
|
|
|
sdp4vector = disableLibraryProfiling super.sdp4vector;
|
2021-12-26 14:02:41 +01:00
|
|
|
|
2022-02-20 20:40:30 +01:00
|
|
|
# Unnecessarily strict bound on template-haskell
|
|
|
|
# https://github.com/tree-sitter/haskell-tree-sitter/issues/298
|
|
|
|
tree-sitter = doJailbreak super.tree-sitter;
|
|
|
|
|
2022-08-08 01:48:07 -07:00
|
|
|
# 2022-08-07: Bounds are too restrictive: https://github.com/marcin-rzeznicki/libjwt-typed/issues/2
|
|
|
|
# Also, the tests fail.
|
|
|
|
libjwt-typed = dontCheck (doJailbreak super.libjwt-typed);
|
|
|
|
|
2022-01-07 21:39:39 +01:00
|
|
|
# Test suite fails to compile
|
|
|
|
# https://github.com/kuribas/mfsolve/issues/8
|
|
|
|
mfsolve = dontCheck super.mfsolve;
|
|
|
|
|
2022-02-20 13:46:45 +01:00
|
|
|
# Fixes compilation with GHC 9.0 and above
|
|
|
|
# https://hub.darcs.net/shelarcy/regex-compat-tdfa/issue/3
|
|
|
|
regex-compat-tdfa = appendPatches [
|
|
|
|
./patches/regex-compat-tdfa-ghc-9.0.patch
|
2022-07-17 15:53:23 +02:00
|
|
|
] (overrideCabal {
|
2022-07-17 12:20:30 +02:00
|
|
|
# Revision introduces bound base < 4.15
|
|
|
|
revision = null;
|
|
|
|
editedCabalFile = null;
|
2022-07-17 15:53:23 +02:00
|
|
|
} super.regex-compat-tdfa);
|
2022-02-20 13:46:45 +01:00
|
|
|
|
2022-03-08 11:58:26 +01:00
|
|
|
# https://github.com/kowainik/validation-selective/issues/64
|
|
|
|
validation-selective = doJailbreak super.validation-selective;
|
2022-03-25 14:08:27 +01:00
|
|
|
# https://github.com/system-f/validation/issues/57
|
|
|
|
validation = doJailbreak super.validation;
|
2022-03-08 11:58:26 +01:00
|
|
|
|
2022-03-16 01:36:27 +01:00
|
|
|
# 2022-03-16: strict upper bounds https://github.com/monadfix/shower/issues/18
|
2024-07-20 14:45:37 +01:00
|
|
|
shower = doJailbreak super.shower;
|
2022-03-16 01:36:27 +01:00
|
|
|
|
2022-07-31 12:38:25 +02:00
|
|
|
# Test suite isn't supposed to succeed yet, apparently…
|
|
|
|
# https://github.com/andrewufrank/uniform-error/blob/f40629ad119e90f8dae85e65e93d7eb149bddd53/test/Uniform/Error_test.hs#L124
|
|
|
|
# https://github.com/andrewufrank/uniform-error/issues/2
|
2022-07-27 17:31:38 +02:00
|
|
|
uniform-error = dontCheck super.uniform-error;
|
2022-08-01 16:20:20 +02:00
|
|
|
# https://github.com/andrewufrank/uniform-fileio/issues/2
|
|
|
|
uniform-fileio = dontCheck super.uniform-fileio;
|
2022-07-27 17:31:38 +02:00
|
|
|
|
2022-02-20 20:10:56 +01:00
|
|
|
# The shipped Setup.hs file is broken.
|
|
|
|
csv = overrideCabal (drv: { preCompileBuildDriver = "rm Setup.hs"; }) super.csv;
|
2023-07-20 01:26:26 +02:00
|
|
|
# Build-type is simple, but ships a broken Setup.hs
|
|
|
|
digits = overrideCabal (drv: { preCompileBuildDriver = "rm Setup.lhs"; }) super.digits;
|
2022-02-20 20:10:56 +01:00
|
|
|
|
2022-09-21 19:29:02 +02:00
|
|
|
cabal-fmt = doJailbreak (super.cabal-fmt.override {
|
2022-10-27 23:20:45 +02:00
|
|
|
# Needs newer Cabal-syntax version.
|
2024-04-01 11:20:16 +02:00
|
|
|
Cabal-syntax = self.Cabal-syntax_3_10_3_0;
|
2022-09-21 19:29:02 +02:00
|
|
|
});
|
2022-02-25 21:48:05 +01:00
|
|
|
|
2023-07-18 01:40:10 +02:00
|
|
|
# 2023-07-18: https://github.com/srid/ema/issues/156
|
|
|
|
ema = doJailbreak super.ema;
|
2022-08-23 01:21:44 +09:00
|
|
|
|
2023-07-03 13:57:43 +02:00
|
|
|
# Too strict bounds on text and tls
|
|
|
|
# https://github.com/barrucadu/irc-conduit/issues/54
|
2024-01-15 13:31:11 +01:00
|
|
|
# Use crypton-connection instead of connection
|
|
|
|
# https://github.com/barrucadu/irc-conduit/pull/60 https://github.com/barrucadu/irc-client/pull/101
|
|
|
|
irc-conduit = appendPatch (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/barrucadu/irc-conduit/pull/60/commits/58f6b5ee0c23a0615e43292dbbacf40636dcd7a6.patch";
|
|
|
|
hash = "sha256-d08tb9iL07mBWdlZ7PCfTLVFJLgcxeGVPzJ+jOej8io=";
|
|
|
|
}) (doJailbreak (super.irc-conduit.override {
|
|
|
|
connection = self.crypton-connection;
|
|
|
|
x509-validation = self.crypton-x509-validation;
|
|
|
|
}));
|
|
|
|
irc-client = appendPatch (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/barrucadu/irc-client/pull/101/commits/0440b7e2ce943d960234c50957a55025771f567a.patch";
|
|
|
|
hash = "sha256-iZyZMrodgViXFCMH9y2wIJZRnjd6WhkqInAdykqTdkY=";
|
|
|
|
}) (doJailbreak (super.irc-client.override {
|
|
|
|
connection = self.crypton-connection;
|
|
|
|
x509 = self.crypton-x509;
|
|
|
|
x509-store = self.crypton-x509-store;
|
|
|
|
x509-validation = self.crypton-x509-validation;
|
|
|
|
}));
|
2023-07-03 13:57:43 +02:00
|
|
|
|
2022-02-25 23:30:08 +01:00
|
|
|
# 2022-02-25: Unmaintained and to strict upper bounds
|
|
|
|
paths = doJailbreak super.paths;
|
|
|
|
|
2022-03-16 01:29:20 +01:00
|
|
|
# 2022-03-16: Upstream stopped updating bounds https://github.com/haskell-hvr/base-noprelude/pull/15
|
|
|
|
base-noprelude = doJailbreak super.base-noprelude;
|
|
|
|
|
2025-01-14 15:40:56 +00:00
|
|
|
# 2024-01-14: Support hedgehog 1.5 https://github.com/kowainik/relude/pull/463/
|
|
|
|
relude = appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/kowainik/relude/commit/b6bf99ee83e929d11bd4088d6a1d928c3ce0070b.patch";
|
|
|
|
sha256 = "sha256-YhGZ0l7FuTyLee1b2yGcvxdvwgnOhZBy7qTg7aymmDc=";
|
|
|
|
}) (overrideCabal (drv: {
|
|
|
|
revision = null;
|
|
|
|
editedCabalFile = null;
|
|
|
|
}) super.relude);
|
|
|
|
|
2025-01-17 02:05:40 +00:00
|
|
|
# 2025-01-07: unreleased upstream supports hedgehog 1.5 but drifted quite a bit from hackage revisions so hard to patch
|
|
|
|
hw-hspec-hedgehog = doJailbreak super.hw-hspec-hedgehog;
|
|
|
|
|
2024-09-03 21:50:23 +02:00
|
|
|
# doJailbreak: too strict bounds on chell: https://github.com/fpco/haskell-filesystem/issues/24
|
|
|
|
# dontCheck: tests don't typecheck after ghc 8.4 (possibly introduced by api change of unix library)
|
|
|
|
system-fileio = doJailbreak (dontCheck super.system-fileio);
|
2022-02-27 11:56:24 +01:00
|
|
|
|
2022-03-02 10:12:22 +00:00
|
|
|
# Bounds too strict on base and ghc-prim: https://github.com/tibbe/ekg-core/pull/43 (merged); waiting on hackage release
|
2022-11-27 20:18:23 +01:00
|
|
|
hasura-ekg-core = doJailbreak super.hasura-ekg-core;
|
2022-03-02 10:12:22 +00:00
|
|
|
|
2022-03-26 23:19:00 +01:00
|
|
|
# Test suite doesn't support hspec 2.8
|
|
|
|
# https://github.com/zellige/hs-geojson/issues/29
|
|
|
|
geojson = dontCheck super.geojson;
|
|
|
|
|
2022-06-07 21:12:21 +02:00
|
|
|
# Test data missing from sdist
|
|
|
|
# https://github.com/ngless-toolkit/ngless/issues/152
|
|
|
|
NGLess = dontCheck super.NGLess;
|
|
|
|
|
2024-05-03 16:19:45 +01:00
|
|
|
# Raise version bounds: https://github.com/kosmikus/records-sop/pull/15
|
2022-05-15 18:15:49 +02:00
|
|
|
records-sop = appendPatch (fetchpatch {
|
2024-05-03 16:19:45 +01:00
|
|
|
url = "https://github.com/kosmikus/records-sop/commit/fb149f453a816ff14d0cb20b3ea56b80ff49d9f1.patch";
|
|
|
|
sha256 = "sha256-iHiF4EWL/GjJFnr/6aR+yMZKLMLAZK+gsgSxG8YaeDI=";
|
2022-05-15 18:15:49 +02:00
|
|
|
}) super.records-sop;
|
|
|
|
|
2022-05-16 17:43:35 -06:00
|
|
|
# Fix build failures for ghc 9 (https://github.com/mokus0/polynomial/pull/20)
|
|
|
|
polynomial = appendPatch (fetchpatch {
|
|
|
|
name = "haskell-polynomial.20.patch";
|
|
|
|
url = "https://github.com/mokus0/polynomial/pull/20.diff";
|
|
|
|
sha256 = "1bwivimpi2hiil3zdnl5qkds1inyn239wgxbn3y8l2pwyppnnfl0";
|
|
|
|
})
|
|
|
|
(overrideCabal (drv: {
|
|
|
|
revision = null;
|
|
|
|
editedCabalFile = null;
|
|
|
|
doCheck = false; # Source dist doesn't include the checks
|
|
|
|
})
|
|
|
|
super.polynomial);
|
|
|
|
|
2023-06-08 10:23:45 +09:00
|
|
|
# Tests likely broke because of https://github.com/nick8325/quickcheck/issues/359,
|
|
|
|
# but fft is not on GitHub, so no issue reported.
|
|
|
|
fft = dontCheck super.fft;
|
|
|
|
|
2022-06-01 23:22:57 +02:00
|
|
|
# lucid-htmx has restrictive upper bounds on lucid and servant:
|
|
|
|
#
|
|
|
|
# Setup: Encountered missing or private dependencies:
|
|
|
|
# lucid >=2.9.12.1 && <=2.11, servant >=0.18.3 && <0.19
|
|
|
|
#
|
|
|
|
# Can be removed once
|
|
|
|
#
|
|
|
|
# > https://github.com/MonadicSystems/lucid-htmx/issues/6
|
|
|
|
#
|
|
|
|
# has been resolved.
|
|
|
|
lucid-htmx = doJailbreak super.lucid-htmx;
|
|
|
|
|
2022-07-26 18:40:11 +02:00
|
|
|
# doctest-parallel is broken with v1-style cabal-install / Setup.hs
|
|
|
|
# https://github.com/martijnbastiaan/doctest-parallel/issues/22
|
2022-07-24 19:11:35 +02:00
|
|
|
doctest-parallel = dontCheck super.doctest-parallel;
|
2022-07-26 18:40:11 +02:00
|
|
|
clash-prelude = dontCheck super.clash-prelude;
|
|
|
|
|
|
|
|
# Ships a broken Setup.hs
|
|
|
|
# https://github.com/lehins/conduit-aeson/issues/1
|
|
|
|
conduit-aeson = overrideCabal (drv: {
|
|
|
|
postPatch = ''
|
|
|
|
${drv.postPatch or ""}
|
|
|
|
rm Setup.hs
|
|
|
|
'';
|
|
|
|
# doctest suite uses doctest-parallel which still doesn't work in nixpkgs
|
|
|
|
testTarget = "tests";
|
|
|
|
}) super.conduit-aeson;
|
2022-07-24 19:11:35 +02:00
|
|
|
|
2024-11-12 13:43:17 -08:00
|
|
|
hermes-json = overrideCabal (drv: {
|
|
|
|
# Upper bounds are too strict:
|
|
|
|
# https://github.com/velveteer/hermes/pull/22
|
|
|
|
jailbreak = true;
|
|
|
|
|
|
|
|
# vendored simdjson breaks with clang-19. apply patches that work with
|
|
|
|
# a more recent simdjson so we can un-vendor it
|
|
|
|
patches = drv.patches or [] ++ [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/velveteer/hermes/commit/6fd9904d93a5c001aadb27c114345a6958904d71.patch";
|
|
|
|
hash = "sha256-Pv09XP0/VjUiAFp237Adj06PIZU21mQRh7guTlKksvA=";
|
|
|
|
excludes = [
|
|
|
|
".github/*"
|
|
|
|
"hermes-bench/*"
|
|
|
|
];
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/velveteer/hermes/commit/ca8dddbf52f9d7788460a056fefeb241bcd09190.patch";
|
|
|
|
hash = "sha256-tDDGS0QZ3YWe7+SP09wnxx6lIWL986ce5Zhqr7F2sBk=";
|
|
|
|
excludes = [
|
|
|
|
"README.md"
|
|
|
|
".github/*"
|
|
|
|
"hermes-bench/*"
|
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
|
|
|
postPatch = drv.postPatch or "" + ''
|
|
|
|
ln -fs ${pkgs.simdjson.src} simdjson
|
|
|
|
'';
|
|
|
|
}) super.hermes-json;
|
2023-07-05 08:13:41 +09:00
|
|
|
|
2022-07-24 19:11:35 +02:00
|
|
|
# Disabling doctests.
|
|
|
|
regex-tdfa = overrideCabal {
|
|
|
|
testTarget = "regex-tdfa-unittest";
|
|
|
|
} super.regex-tdfa;
|
|
|
|
|
2022-10-30 17:18:27 +01:00
|
|
|
# Missing test files https://github.com/kephas/xdg-basedir-compliant/issues/1
|
|
|
|
xdg-basedir-compliant = dontCheck super.xdg-basedir-compliant;
|
|
|
|
|
2022-10-22 18:22:00 +02:00
|
|
|
# Test failure after libxcrypt migration, reported upstrem at
|
|
|
|
# https://github.com/phadej/crypt-sha512/issues/13
|
|
|
|
crypt-sha512 = dontCheck super.crypt-sha512;
|
2022-10-03 17:05:48 +02:00
|
|
|
|
2025-01-20 19:55:38 +01:00
|
|
|
# Latest release depends on crypton-connection ==0.3.2 https://github.com/ndmitchell/hoogle/issues/435
|
|
|
|
hoogle = overrideSrc {
|
|
|
|
version = "unstable-2024-07-29";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "ndmitchell";
|
|
|
|
repo = "hoogle";
|
|
|
|
rev = "8149c93c40a542bf8f098047e1acbc347fc9f4e6";
|
|
|
|
hash = "sha256-k3UdmTq8c+iNF8inKM+oWf/NgJqRgUSFS3YwRKVg8Mw=";
|
|
|
|
};
|
|
|
|
} super.hoogle;
|
|
|
|
|
2022-11-21 23:46:08 +01:00
|
|
|
# Too strict upper bound on HTTP
|
|
|
|
oeis = doJailbreak super.oeis;
|
|
|
|
|
2022-11-26 23:51:54 +01:00
|
|
|
inherit
|
|
|
|
(let
|
|
|
|
# We need to build purescript with these dependencies and thus also its reverse
|
|
|
|
# dependencies to avoid version mismatches in their dependency closure.
|
2023-07-02 19:38:30 +09:00
|
|
|
# TODO: maybe unify with the spago overlay in configuration-nix.nix?
|
2022-11-26 23:51:54 +01:00
|
|
|
purescriptOverlay = self: super: {
|
|
|
|
# As of 2021-11-08, the latest release of `language-javascript` is 0.7.1.0,
|
|
|
|
# but it has a problem with parsing the `async` keyword. It doesn't allow
|
|
|
|
# `async` to be used as an object key:
|
|
|
|
# https://github.com/erikd/language-javascript/issues/131
|
|
|
|
language-javascript = self.language-javascript_0_7_0_0;
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
purescript =
|
|
|
|
lib.pipe
|
|
|
|
(super.purescript.overrideScope purescriptOverlay)
|
2024-09-20 09:56:58 +08:00
|
|
|
[
|
2024-07-21 14:22:14 +02:00
|
|
|
# https://github.com/purescript/purescript/pull/4547
|
|
|
|
(appendPatches [
|
|
|
|
(pkgs.fetchpatch {
|
|
|
|
name = "purescript-import-fix";
|
|
|
|
url = "https://github.com/purescript/purescript/commit/c610ec18391139a67dc9dcf19233f57d2c5413f7.patch";
|
|
|
|
hash = "sha256-7s/ygzAFJ1ocZIj3OSd3TbsmGki46WViPIZOU1dfQFg=";
|
|
|
|
})
|
|
|
|
])
|
2022-11-26 23:51:54 +01:00
|
|
|
# PureScript uses nodejs to run tests, so the tests have been disabled
|
|
|
|
# for now. If someone is interested in figuring out how to get this
|
|
|
|
# working, it seems like it might be possible.
|
|
|
|
dontCheck
|
|
|
|
# The current version of purescript (0.14.5) has version bounds for LTS-17,
|
|
|
|
# but it compiles cleanly using deps in LTS-18 as well. This jailbreak can
|
|
|
|
# likely be removed when purescript-0.14.6 is released.
|
|
|
|
doJailbreak
|
|
|
|
# Generate shell completions
|
|
|
|
(self.generateOptparseApplicativeCompletions [ "purs" ])
|
2024-09-20 09:56:58 +08:00
|
|
|
];
|
2022-11-26 23:51:54 +01:00
|
|
|
|
2024-07-21 16:23:39 +02:00
|
|
|
purenix =
|
|
|
|
lib.pipe
|
|
|
|
(super.purenix.overrideScope purescriptOverlay)
|
|
|
|
[
|
|
|
|
(appendPatches [
|
|
|
|
# https://github.com/purenix-org/purenix/pull/63
|
|
|
|
(pkgs.fetchpatch {
|
|
|
|
name = "purenix-purescript-0_15_12";
|
|
|
|
url = "https://github.com/purenix-org/purenix/commit/2dae563f887c7c8daf3dd3e292ee3580cb70d528.patch";
|
|
|
|
hash = "sha256-EZXf95BJINyqnRb2t/Ao/9C8ttNp3A27rpKiEKJjO6Y=";
|
|
|
|
})
|
|
|
|
(pkgs.fetchpatch {
|
|
|
|
name = "purenix-import-fix";
|
|
|
|
url = "https://github.com/purenix-org/purenix/commit/f1890690264e7e5ce7f5b0a32d73d910ce2cbd73.patch";
|
|
|
|
hash = "sha256-MRITcNOiaWmzlTd9l7sIz/LhlnpW8T02CXdcc1qQt3c=";
|
|
|
|
})
|
|
|
|
])
|
|
|
|
];
|
2022-11-26 23:51:54 +01:00
|
|
|
})
|
|
|
|
purescript
|
|
|
|
purenix
|
|
|
|
;
|
2022-08-07 20:43:47 -07:00
|
|
|
|
2023-07-01 19:19:58 +02:00
|
|
|
# We provide newer dependencies than upstream expects.
|
|
|
|
swarm = doJailbreak super.swarm;
|
2022-11-27 20:18:23 +01:00
|
|
|
|
2023-02-18 18:52:02 +01:00
|
|
|
# Too strict upper bound on bytestring
|
|
|
|
# https://github.com/TravisWhitaker/rdf/issues/8
|
|
|
|
rdf = doJailbreak super.rdf;
|
|
|
|
|
2022-11-27 20:18:23 +01:00
|
|
|
# random <1.2
|
|
|
|
unfoldable = doJailbreak super.unfoldable;
|
|
|
|
|
|
|
|
# containers <0.6, semigroupoids <5.3
|
|
|
|
data-lens = doJailbreak super.data-lens;
|
|
|
|
|
|
|
|
# transformers <0.3
|
|
|
|
monads-fd = doJailbreak super.monads-fd;
|
|
|
|
|
|
|
|
# HTF <0.15
|
|
|
|
cases = doJailbreak super.cases;
|
|
|
|
|
|
|
|
# exceptions <0.9
|
|
|
|
eprocess = doJailbreak super.eprocess;
|
|
|
|
|
|
|
|
# hashable <1.4, mmorph <1.2
|
|
|
|
composite-aeson = doJailbreak super.composite-aeson;
|
|
|
|
|
2025-01-11 15:02:23 +01:00
|
|
|
# Overly strict bounds on tasty-quickcheck (test suite) (< 0.11)
|
2025-01-08 22:55:57 +01:00
|
|
|
hashable = doJailbreak super.hashable;
|
2025-01-11 14:49:23 +01:00
|
|
|
# https://github.com/haskell/aeson/pull/1126
|
|
|
|
text-iso8601 = doJailbreak super.text-iso8601;
|
2025-01-11 15:02:23 +01:00
|
|
|
# https://github.com/well-typed/cborg/issues/340
|
|
|
|
cborg = doJailbreak super.cborg;
|
|
|
|
# Doesn't compile with tasty-quickcheck == 0.11 (see issue above)
|
|
|
|
serialise = dontCheck super.serialise;
|
2025-01-25 21:44:07 +01:00
|
|
|
# https://github.com/Bodigrim/data-array-byte/issues/1
|
|
|
|
data-array-byte = doJailbreak super.data-array-byte;
|
2025-01-08 22:55:57 +01:00
|
|
|
|
2025-01-11 04:30:52 +00:00
|
|
|
psqueues = lib.pipe super.psqueues [
|
|
|
|
(overrideCabal { editedCabalFile = null; revision = null; } )
|
|
|
|
(appendPatch
|
|
|
|
# https://github.com/jaspervdj/psqueues/pull/59
|
|
|
|
(pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/jaspervdj/psqueues/commit/281e458a3aa69b1cfc97f32e39eee0bee3035b3f.patch";
|
|
|
|
hash = "sha256-dcL2QShMMaiENhdGsLiVYTuorNb20NSBTHsGBM04ULw=";
|
|
|
|
}))
|
|
|
|
];
|
|
|
|
|
2025-01-17 02:05:40 +00:00
|
|
|
# Support tasty-quickcheck 0.11: https://github.com/nikita-volkov/deferred-folds/pull/8
|
|
|
|
deferred-folds = appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/nikita-volkov/deferred-folds/commit/27bd67d49f52d6826ea69c3a85e5297408266ad0.patch";
|
|
|
|
sha256 = "sha256-4LUoAIX0e4VZrka6nIrlccBHDMTbd1hGQCtRoJDAl74=";
|
|
|
|
}) super.deferred-folds;
|
|
|
|
|
|
|
|
# Support tasty-quickcheck 0.11: https://github.com/Bodigrim/mod/pull/26
|
|
|
|
mod = appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/Bodigrim/mod/commit/30596fb9d85b69ec23ecb05ef9a7c91d67901cfd.patch";
|
|
|
|
sha256 = "sha256-9XuzIxEbepaw5bRoIOUka8fkiZBfturIybh/9nhGmWQ=";
|
|
|
|
}) super.mod;
|
|
|
|
|
|
|
|
# Support tasty-quickcheck 0.11: https://github.com/nikita-volkov/primitive-extras/pull/9
|
|
|
|
primitive-extras = appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/nikita-volkov/primitive-extras/commit/ffc1304793c210a2624532c4f5c45ce7dea5cfbe.patch";
|
|
|
|
sha256 = "sha256-AU+OeNjisquoXElZbydrgqElXc2Vwmb5qmG49fU+uj0=";
|
|
|
|
}) super.primitive-extras;
|
|
|
|
|
|
|
|
# Fixes build of test suite: not yet released
|
|
|
|
primitive-unlifted = appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/haskell-primitive/primitive-unlifted/commit/26922952ef20c4771d857f3e96c9e710cb3c2df9.patch";
|
|
|
|
sha256 = "sha256-Qk/o3bkwcgh/NROSFuWc2hN+VJG1W2E+UEncB+KRTuE=";
|
|
|
|
}) (overrideCabal { editedCabalFile = null; revision = null; } super.primitive-unlifted);
|
|
|
|
|
|
|
|
# Support tasty-quickcheck 0.11: https://github.com/nikita-volkov/stm-hamt/pull/9
|
|
|
|
stm-hamt = appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/nikita-volkov/stm-hamt/commit/4f094ab328606ce7ab8592604cc7fc72eebe6b01.patch";
|
|
|
|
sha256 = "sha256-y6/hK18YveyPhRtvrGvJ+Ho4fKoAeD7efXgkusyWfug=";
|
|
|
|
}) super.stm-hamt;
|
|
|
|
|
2022-11-27 20:18:23 +01:00
|
|
|
# composite-aeson <0.8, composite-base <0.8
|
|
|
|
compdoc = doJailbreak super.compdoc;
|
|
|
|
|
|
|
|
# composite-aeson <0.8, composite-base <0.8
|
|
|
|
haskell-coffee = doJailbreak super.haskell-coffee;
|
|
|
|
|
|
|
|
# Test suite doesn't compile anymore
|
|
|
|
twitter-types = dontCheck super.twitter-types;
|
|
|
|
|
|
|
|
# base <4.14
|
|
|
|
numbered-semigroups = doJailbreak super.numbered-semigroups;
|
|
|
|
|
|
|
|
# Tests open file "data/test_vectors_aserti3-2d_run01.txt" but it doesn't exist
|
|
|
|
haskoin-core = dontCheck super.haskoin-core;
|
|
|
|
|
|
|
|
# base <4.9, transformers <0.5
|
|
|
|
MonadCatchIO-transformers = doJailbreak super.MonadCatchIO-transformers;
|
|
|
|
|
|
|
|
# unix-compat <0.5
|
|
|
|
hxt-cache = doJailbreak super.hxt-cache;
|
2022-11-28 19:42:37 +01:00
|
|
|
|
|
|
|
# base <4.16
|
|
|
|
fast-builder = doJailbreak super.fast-builder;
|
|
|
|
|
|
|
|
# QuickCheck <2.14
|
|
|
|
term-rewriting = doJailbreak super.term-rewriting;
|
|
|
|
|
|
|
|
# tests can't find the test binary anymore - parseargs-example
|
|
|
|
parseargs = dontCheck super.parseargs;
|
|
|
|
|
|
|
|
# base <4.14
|
|
|
|
decimal-literals = doJailbreak super.decimal-literals;
|
|
|
|
|
|
|
|
# multiple bounds too strict
|
|
|
|
snaplet-sqlite-simple = doJailbreak super.snaplet-sqlite-simple;
|
|
|
|
|
2024-03-02 15:19:05 +08:00
|
|
|
# Test failure https://gitlab.com/lysxia/ap-normalize/-/issues/2
|
|
|
|
ap-normalize = dontCheck super.ap-normalize;
|
|
|
|
|
|
|
|
heist-extra = doJailbreak super.heist-extra; # base <4.18.0.0.0
|
|
|
|
unionmount = doJailbreak super.unionmount; # base <4.18
|
|
|
|
tailwind = doJailbreak super.tailwind; # base <=4.17.0.0
|
|
|
|
tagtree = doJailbreak super.tagtree; # base <=4.17 https://github.com/srid/tagtree/issues/1
|
|
|
|
commonmark-wikilink = doJailbreak super.commonmark-wikilink; # base <4.18.0.0.0
|
|
|
|
|
|
|
|
# 2024-03-02: Apply unreleased changes necessary for compatibility
|
|
|
|
# with commonmark-extensions-0.2.5.3.
|
|
|
|
commonmark-simple = assert super.commonmark-simple.version == "0.1.0.0";
|
|
|
|
appendPatches (map ({ rev, hash }: fetchpatch {
|
|
|
|
name = "commonmark-simple-${lib.substring 0 7 rev}.patch";
|
|
|
|
url = "https://github.com/srid/commonmark-simple/commit/${rev}.patch";
|
|
|
|
includes = [ "src/Commonmark/Simple.hs" ];
|
|
|
|
inherit hash;
|
|
|
|
}) [
|
|
|
|
{
|
|
|
|
rev = "71f5807ed4cbd8da915bf5ba04cd115b49980bcb";
|
|
|
|
hash = "sha256-ibDQbyTd2BoA0V+ldMOr4XYurnqk1nWzbJ15tKizHrM=";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
rev = "fc106c94f781f6a35ef66900880edc08cbe3b034";
|
|
|
|
hash = "sha256-9cpgRNFWhpSuSttAvnwPiLmi1sIoDSYbp0sMwcKWgDQ=";
|
|
|
|
}
|
|
|
|
])
|
|
|
|
(doJailbreak super.commonmark-simple);
|
2022-12-17 02:46:37 +01:00
|
|
|
|
2023-04-11 11:01:06 +02:00
|
|
|
# Test files missing from sdist
|
|
|
|
# https://github.com/tweag/webauthn/issues/166
|
|
|
|
webauthn = dontCheck super.webauthn;
|
|
|
|
|
2022-11-28 19:42:37 +01:00
|
|
|
# doctest <0.19
|
|
|
|
polysemy = doJailbreak super.polysemy;
|
|
|
|
|
|
|
|
# multiple bounds too strict
|
|
|
|
co-log-polysemy = doJailbreak super.co-log-polysemy;
|
|
|
|
co-log-polysemy-formatting = doJailbreak super.co-log-polysemy-formatting;
|
2022-12-02 16:49:02 +01:00
|
|
|
|
2024-03-30 10:26:09 -03:00
|
|
|
# calls ghc in tests
|
|
|
|
# https://github.com/brandonchinn178/tasty-autocollect/issues/54
|
|
|
|
tasty-autocollect = dontCheck super.tasty-autocollect;
|
|
|
|
|
2024-01-07 17:39:42 +01:00
|
|
|
postgrest = lib.pipe super.postgrest [
|
2024-01-07 23:17:52 +01:00
|
|
|
# 2023-12-20: New version needs extra dependencies
|
2023-12-23 12:37:40 +08:00
|
|
|
(addBuildDepends [ self.extra self.fuzzyset_0_2_4 self.cache self.timeit ])
|
2024-11-03 13:26:48 +01:00
|
|
|
# 2022-12-02: Too strict bounds.
|
2023-12-20 11:26:36 +01:00
|
|
|
doJailbreak
|
2023-12-23 12:37:40 +08:00
|
|
|
# 2022-12-02: Hackage release lags behind actual releases: https://github.com/PostgREST/postgrest/issues/2275
|
2023-12-20 11:26:36 +01:00
|
|
|
(overrideSrc rec {
|
2024-11-03 13:16:06 +01:00
|
|
|
version = "12.0.3";
|
2023-12-20 11:26:36 +01:00
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "PostgREST";
|
|
|
|
repo = "postgrest";
|
|
|
|
rev = "v${version}";
|
2024-11-03 13:16:06 +01:00
|
|
|
hash = "sha256-peXM5/K034Phcy5vNhc5AT3/9oGXohVogFN9gRsSosY=";
|
2023-12-20 11:26:36 +01:00
|
|
|
};
|
|
|
|
})
|
2024-11-03 12:59:56 +01:00
|
|
|
# 2024-11-03: Needed for the patch below. Can be dropped after updating to 12.2+.
|
|
|
|
(appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/PostgREST/postgrest/commit/d311fb17c46ad2ab9064c7aba1954d3500ef0e54.patch";
|
|
|
|
hash = "sha256-O/bBm93V6GIPSB5dwhNUFgX3vXA01LPJapZQoeJmbIU=";
|
|
|
|
})
|
|
|
|
])
|
|
|
|
# 2024-11-03: Fixes build on aarch64-darwin. Can be removed after updating to 13+.
|
|
|
|
(appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/PostgREST/postgrest/commit/c045b261c4f7d2c2514e858120950be6b3ddfba8.patch";
|
|
|
|
hash = "sha256-6SeteL5sb+/K1y3f9XL7yNzXDdD1KQp91RNP4kutSLE=";
|
|
|
|
})
|
|
|
|
])
|
2023-12-20 11:26:36 +01:00
|
|
|
];
|
2022-12-12 15:40:35 +01:00
|
|
|
|
2024-01-07 23:41:09 +01:00
|
|
|
# Too strict bounds on hspec < 2.11
|
|
|
|
fuzzyset_0_2_4 = doJailbreak super.fuzzyset_0_2_4;
|
|
|
|
swagger2 = doJailbreak super.swagger2;
|
|
|
|
|
2022-12-12 15:40:35 +01:00
|
|
|
html-charset = dontCheck super.html-charset;
|
2022-12-30 11:37:11 -07:00
|
|
|
|
2024-08-15 23:01:37 +01:00
|
|
|
# 2024-08-15: primitive >=0.9 && <0.10
|
|
|
|
posix-api = doJailbreak super.posix-api;
|
2023-01-21 18:13:49 +01:00
|
|
|
|
|
|
|
# bytestring <0.11.0, optparse-applicative <0.13.0
|
|
|
|
# https://github.com/kseo/sfnt2woff/issues/1
|
|
|
|
sfnt2woff = doJailbreak super.sfnt2woff;
|
2023-03-05 18:01:41 -08:00
|
|
|
|
2023-04-28 10:45:22 +01:00
|
|
|
# libfuse3 fails to mount fuse file systems within the build environment
|
2023-04-27 23:36:34 +01:00
|
|
|
libfuse3 = dontCheck super.libfuse3;
|
2023-05-04 17:28:25 +08:00
|
|
|
|
2023-05-20 15:32:18 +10:00
|
|
|
# Merged upstream, but never released. Allows both intel and aarch64 darwin to build.
|
|
|
|
# https://github.com/vincenthz/hs-gauge/pull/106
|
|
|
|
gauge = appendPatch (pkgs.fetchpatch {
|
|
|
|
name = "darwin-aarch64-fix.patch";
|
|
|
|
url = "https://github.com/vincenthz/hs-gauge/commit/3d7776f41187c70c4f0b4517e6a7dde10dc02309.patch";
|
|
|
|
hash = "sha256-4osUMo0cvTvyDTXF8lY9tQbFqLywRwsc3RkHIhqSriQ=";
|
|
|
|
}) super.gauge;
|
2023-06-20 16:25:30 +02:00
|
|
|
|
|
|
|
# Flaky QuickCheck tests
|
|
|
|
# https://github.com/Haskell-Things/ImplicitCAD/issues/441
|
|
|
|
implicit = dontCheck super.implicit;
|
2023-07-24 13:43:02 +02:00
|
|
|
|
|
|
|
# The hackage source is somehow missing a file present in the repo (tests/ListStat.hs).
|
|
|
|
sym = dontCheck super.sym;
|
2023-09-30 16:21:07 +02:00
|
|
|
|
2024-01-23 17:52:53 +01:00
|
|
|
# 2024-01-23: https://github.com/composewell/unicode-data/issues/118
|
|
|
|
unicode-data = dontCheck super.unicode-data;
|
|
|
|
|
2024-01-24 11:02:58 +01:00
|
|
|
# 2024-01-24: https://github.com/haskellari/tree-diff/issues/79
|
|
|
|
tree-diff = dontCheck super.tree-diff;
|
|
|
|
|
2023-09-30 16:21:07 +02:00
|
|
|
# Too strict bounds on base, ghc-prim, primitive
|
|
|
|
# https://github.com/kowainik/typerep-map/pull/128
|
|
|
|
typerep-map = doJailbreak super.typerep-map;
|
|
|
|
|
2023-10-06 18:42:07 +02:00
|
|
|
# Too strict bounds on base
|
|
|
|
kewar = doJailbreak super.kewar;
|
2023-11-07 17:27:31 +01:00
|
|
|
|
2025-01-21 16:14:55 +01:00
|
|
|
# Too strict bounds on aeson and text
|
|
|
|
# https://github.com/finn-no/unleash-client-haskell/issues/14
|
2024-01-18 09:04:52 +01:00
|
|
|
unleash-client-haskell = doJailbreak super.unleash-client-haskell;
|
|
|
|
|
2023-11-07 17:27:31 +01:00
|
|
|
# Tests rely on (missing) submodule
|
2025-01-20 15:32:25 +01:00
|
|
|
# Too strict bounds on aeson, text and text-show
|
|
|
|
# https://github.com/finn-no/unleash-client-haskell-core/issues/24
|
|
|
|
unleash-client-haskell-core = doJailbreak (dontCheck super.unleash-client-haskell-core);
|
2023-11-10 09:12:04 +09:00
|
|
|
|
2023-11-05 16:47:56 +01:00
|
|
|
# Workaround for Cabal failing to find nonexistent SDL2 library?!
|
|
|
|
# https://github.com/NixOS/nixpkgs/issues/260863
|
|
|
|
sdl2-gfx = overrideCabal { __propagatePkgConfigDepends = false; } super.sdl2-gfx;
|
2023-11-05 16:56:21 +01:00
|
|
|
|
2023-11-14 12:24:40 +01:00
|
|
|
# Needs git for compile-time insertion of commit hash into --version string.
|
|
|
|
kmonad = overrideCabal (drv: {
|
|
|
|
libraryToolDepends = (drv.libraryToolDepends or []) ++ [pkgs.buildPackages.git];
|
|
|
|
}) super.kmonad;
|
|
|
|
|
2024-03-17 00:08:03 +01:00
|
|
|
# 2024-03-17: broken
|
|
|
|
vaultenv = dontDistribute super.vaultenv;
|
|
|
|
|
2024-01-24 11:16:06 +01:00
|
|
|
# 2024-01-24: support optparse-applicative 0.18
|
|
|
|
niv = appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
# needed for the following patch to apply
|
|
|
|
url = "https://github.com/nmattia/niv/commit/7b76374b2b44152bfbf41fcb60162c2ce9182e7a.patch";
|
|
|
|
includes = [ "src/*" ];
|
|
|
|
hash = "sha256-3xG+GD6fUCGgi2EgS7WUpjfn6gvc2JurJcIrnyy4ys8=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
# Update to optparse-applicative 0.18
|
|
|
|
url = "https://github.com/nmattia/niv/commit/290965abaa02be33b601032d850c588a6bafb1a5.patch";
|
|
|
|
hash = "sha256-YxUdv4r/Fx+8YxHhqEuS9uZR1XKzVCPrLmj5+AY5GRA=";
|
|
|
|
})
|
|
|
|
] super.niv;
|
|
|
|
|
2024-03-25 19:19:06 +02:00
|
|
|
# 2024-03-25: HSH broken because of the unix-2.8.0.0 breaking change
|
|
|
|
HSH = appendPatches [./patches/HSH-unix-openFd.patch] super.HSH;
|
|
|
|
|
2024-04-29 00:31:44 +01:00
|
|
|
# Support unix < 2.8 to build in older ghc than 9.6
|
|
|
|
linux-namespaces = appendPatch
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/redneb/hs-linux-namespaces/commit/f4a3546541bb6c7172fdd03e177a961da60e3951.patch";
|
|
|
|
sha256 = "sha256-6Qv7NWIbzR3ktMGFogw5597bIqPH7Z4hoFvvBQAoquY=";
|
|
|
|
})
|
|
|
|
super.linux-namespaces;
|
|
|
|
|
2024-03-19 09:00:02 +01:00
|
|
|
# Use recent git version as the hackage version is outdated and not building on recent GHC versions
|
|
|
|
haskell-to-elm = overrideSrc {
|
|
|
|
version = "unstable-2023-12-02";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "haskell-to-elm";
|
|
|
|
repo = "haskell-to-elm";
|
|
|
|
rev = "52ab086a320a14051aa38d0353d957fb6b2525e9";
|
|
|
|
hash = "sha256-j6F4WplJy7NyhTAuiDd/tHT+Agk1QdyPjOEkceZSxq8=";
|
|
|
|
};
|
2024-03-19 12:00:05 +01:00
|
|
|
} super.haskell-to-elm;
|
2024-03-19 09:00:02 +01:00
|
|
|
|
2024-12-21 19:40:42 +01:00
|
|
|
# Overly strict upper bounds on esqueleto
|
|
|
|
# https://github.com/jonschoning/espial/issues/61
|
|
|
|
espial = doJailbreak super.espial;
|
|
|
|
|
2024-03-22 08:21:58 -03:00
|
|
|
# https://github.com/isovector/type-errors/issues/9
|
|
|
|
type-errors = dontCheck super.type-errors;
|
|
|
|
|
2025-01-05 18:55:06 +01:00
|
|
|
lzma = doJailbreak super.lzma;
|
2024-07-04 15:04:51 +01:00
|
|
|
|
2024-04-07 11:53:19 +02:00
|
|
|
# Too strict bounds on text. Can be removed after https://github.com/alx741/currencies/pull/3 is merged
|
|
|
|
currencies = doJailbreak super.currencies;
|
2024-05-12 15:18:15 +01:00
|
|
|
|
2024-06-24 22:26:51 +01:00
|
|
|
argon2 = appendPatch (fetchpatch {
|
|
|
|
# https://github.com/haskell-hvr/argon2/pull/20
|
|
|
|
url = "https://github.com/haskell-hvr/argon2/commit/f7cc92f18e233e6b1dabf1798dd099e17b6a81a1.patch";
|
|
|
|
hash = "sha256-JxraFWzErJT4EhELa3PWBGHaLT9OLgEPNSnxwpdpHd0=";
|
|
|
|
}) (doJailbreak super.argon2); # Unmaintained
|
|
|
|
|
2024-07-09 23:22:22 +02:00
|
|
|
# 2024-07-09: zinza has bumped their QuickCheck and tasty dependencies beyond stackage lts.
|
|
|
|
# Can possibly be removed once QuickCheck >= 2.15 and tasty >= 1.5
|
|
|
|
zinza = dontCheck super.zinza;
|
2024-07-17 12:30:00 +02:00
|
|
|
|
2024-07-23 22:54:39 -07:00
|
|
|
pdftotext = overrideCabal (drv: {
|
|
|
|
postPatch = ''
|
|
|
|
# Fixes https://todo.sr.ht/~geyaeb/haskell-pdftotext/6
|
|
|
|
substituteInPlace pdftotext.cabal --replace-quiet c-sources cxx-sources
|
|
|
|
|
|
|
|
# Fix cabal ignoring cxx because the cabal format version is too old
|
|
|
|
substituteInPlace pdftotext.cabal --replace-quiet ">=1.10" 2.2
|
|
|
|
|
|
|
|
# Fix wrong license name that breaks recent cabal version
|
|
|
|
substituteInPlace pdftotext.cabal --replace-quiet BSD3 BSD-3-Clause
|
|
|
|
'' + (drv.postPatch or "");
|
|
|
|
}) (doJailbreak (addExtraLibrary pkgs.pkg-config (addExtraLibrary pkgs.poppler super.pdftotext)));
|
|
|
|
|
2025-01-18 22:56:13 +00:00
|
|
|
proto3-wire = appendPatch (fetchpatch {
|
|
|
|
# https://github.com/awakesecurity/proto3-wire/pull/109
|
|
|
|
url = "https://github.com/awakesecurity/proto3-wire/commit/b32f3db6f8d36ea0708fb2f371f62d439ea45b42.patch";
|
|
|
|
hash = "sha256-EGFyk3XawU0+zk299WGwFKB2uW9eJrCDM6NgfIKWgRY=";
|
|
|
|
}) super.proto3-wire;
|
|
|
|
|
2024-07-27 07:58:07 +01:00
|
|
|
# 2024-07-27: building test component requires non-trivial custom build steps
|
|
|
|
# https://github.com/awakesecurity/proto3-suite/blob/bec9d40e2767143deed5b2d451197191f1d8c7d5/nix/overlays/haskell-packages.nix#L311
|
|
|
|
proto3-suite = lib.pipe super.proto3-suite [
|
|
|
|
dontCheck # Hackage release trails a good deal behind master
|
|
|
|
doJailbreak
|
|
|
|
];
|
|
|
|
|
2024-08-09 15:18:16 +08:00
|
|
|
# 2024-08-09: Apply optparse-applicative compat fix from master branch
|
|
|
|
# https://github.com/NorfairKing/feedback/commit/9368468934a4d8bd94709bdcb1116210b162bab8
|
|
|
|
feedback = overrideCabal (drv: assert drv.version == "0.1.0.5"; {
|
|
|
|
postPatch = drv.postPatch or "" + ''
|
|
|
|
substituteInPlace src/Feedback/Loop/OptParse.hs \
|
|
|
|
--replace-fail '(uncurry loopConfigLine)' '(pure . uncurry loopConfigLine)'
|
|
|
|
'';
|
2025-01-05 18:55:06 +01:00
|
|
|
}) super.feedback;
|
2024-08-09 15:18:16 +08:00
|
|
|
|
2024-08-18 16:28:36 +08:00
|
|
|
quickcheck-state-machine = overrideCabal (drv: {
|
|
|
|
# 2024-08-18: Remove a test which fails to build due to API changes.
|
|
|
|
# This is fixed in quickcheck-state-machine-0.10.0.
|
|
|
|
postPatch = assert drv.version == "0.8.0"; ''
|
|
|
|
sed -i '/SQLite/d' quickcheck-state-machine.cabal
|
|
|
|
sed -i -e '/import.*SQLite/d' -e 's/\[.*prop_parallel_sqlite/[/' test/Spec.hs
|
|
|
|
${drv.postPatch or ""}
|
|
|
|
'';
|
|
|
|
}) super.quickcheck-state-machine;
|
|
|
|
|
2024-11-16 05:59:42 +00:00
|
|
|
testcontainers = lib.pipe super.testcontainers [
|
|
|
|
dontCheck # Tests require docker
|
|
|
|
doJailbreak # https://github.com/testcontainers/testcontainers-hs/pull/58
|
|
|
|
];
|
|
|
|
|
2024-11-22 16:40:16 +00:00
|
|
|
# https://bitbucket.org/echo_rm/hailgun/pull-requests/27
|
|
|
|
hailgun = appendPatches [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://bitbucket.org/nh2/hailgun/commits/ac2bc2a3003e4b862625862c4565fece01c0cf57/raw";
|
|
|
|
sha256 = "sha256-MWeK9nzMVP6cQs2GBFkohABgL8iWcT7YzwF+tLOkIjo=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://bitbucket.org/nh2/hailgun/commits/583daaf87265a7fa67ce5171fe1077e61be9b39c/raw";
|
|
|
|
sha256 = "sha256-6WITonLoONxZzzkS7EI79LwmwSdkt6TCgvHA2Hwy148=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://bitbucket.org/nh2/hailgun/commits/b9680b82f6d58f807828c1bbb57e26c7af394501/raw";
|
|
|
|
sha256 = "sha256-MnOc51tTNg8+HDu1VS2Ct7Mtu0vuuRd3DjzOAOF+t7Q=";
|
|
|
|
})
|
|
|
|
] super.hailgun;
|
|
|
|
|
2024-11-15 01:59:46 +00:00
|
|
|
# opencascade-hs requires the include path configuring relative to the
|
|
|
|
# opencascade subdirectory in include.
|
|
|
|
opencascade-hs = appendConfigureFlags [
|
|
|
|
"--extra-include-dirs=${lib.getDev pkgs.opencascade-occt}/include/opencascade"
|
|
|
|
] super.opencascade-hs;
|
|
|
|
|
2025-01-19 11:34:38 -08:00
|
|
|
# https://github.com/haskell-grpc-native/http2-client/pull/96
|
|
|
|
http2-client = appendPatch
|
|
|
|
(fetchpatch {
|
|
|
|
name = "http2-client-fix-build-with-http2-5.2.patch";
|
|
|
|
url = "https://github.com/haskell-grpc-native/http2-client/commit/952a57d1138dc31863a5e387dbda67cbdfcfd9f4.patch";
|
|
|
|
sha256 = "1q0n7338rjz7zl6xpw51lljp7xw1gl128s1d5877kfil3fc23npp";
|
|
|
|
}) super.http2-client;
|
|
|
|
|
2025-01-23 10:00:22 -08:00
|
|
|
# 2025-01-23: jailbreak to allow base >= 4.17
|
|
|
|
warp-systemd = doJailbreak super.warp-systemd;
|
2025-01-25 17:52:40 +01:00
|
|
|
|
|
|
|
yesod-core = appendPatch
|
|
|
|
(fetchpatch {
|
|
|
|
# Relax dependency constraints,
|
|
|
|
url = "https://github.com/DamienCassou/yesod/commit/8e7d7de4920e47ab4d05b6a540b1a96ca4c2b053.patch";
|
|
|
|
sha256 = "sha256-IxtyHFKygbrUK7JTAytWBZVHh+M1xQTv2IPCG3mjTGE=";
|
|
|
|
stripLen = 1;
|
|
|
|
}) super.yesod-core;
|
2025-01-31 06:50:10 +00:00
|
|
|
|
|
|
|
bsb-http-chunked = lib.pipe super.bsb-http-chunked [
|
|
|
|
(lib.warnIf
|
|
|
|
(lib.versionOlder "0.0.0.4" super.bsb-http-chunked.version)
|
|
|
|
"override for haskellPackages.bsb-http-chunked may no longer be needed"
|
|
|
|
)
|
|
|
|
# Last released in 2018
|
|
|
|
# https://github.com/sjakobi/bsb-http-chunked/issues/38
|
|
|
|
# https://github.com/sjakobi/bsb-http-chunked/issues/45
|
|
|
|
(overrideSrc {
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "sjakobi";
|
|
|
|
repo = "bsb-http-chunked";
|
|
|
|
rev = "c0ecd72fe2beb1cf7de9340cc8b4a31045460532";
|
|
|
|
hash = "sha256-+UDxfywXPjxPuFupcB8veyMYWVQCKha64me9HADtFGg=";
|
|
|
|
};
|
|
|
|
})
|
|
|
|
# https://github.com/sjakobi/bsb-http-chunked/pull/49
|
|
|
|
(appendPatch (fetchpatch {
|
|
|
|
url = "https://github.com/sjakobi/bsb-http-chunked/commit/689bf9ce12b8301d0e13a68e4a515c2779b62947.patch";
|
|
|
|
sha256 = "sha256-ZdCXMhni+RGisRODiElObW5c4hKy2giWQmWnatqeRJo=";
|
|
|
|
}))
|
|
|
|
];
|
2022-11-26 23:51:54 +01:00
|
|
|
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
2024-12-27 17:42:08 +01:00
|
|
|
|
|
|
|
# Gogol Packages
|
|
|
|
# 2024-12-27: use latest source files from github, as the hackage release is outdated
|
|
|
|
// (
|
|
|
|
let
|
|
|
|
gogolSrc = pkgs.fetchFromGitHub {
|
|
|
|
owner = "brendanhay";
|
|
|
|
repo = "gogol";
|
|
|
|
rev = "a9d50bbd73d2cb9675bd9bff0f50fcd108f95608";
|
|
|
|
sha256 = "sha256-8ilQe/Z5MLFIDY8T68azFpYW5KkSyhy3c6pgWtsje9w=";
|
|
|
|
};
|
|
|
|
setGogolSourceRoot =
|
|
|
|
dir: drv:
|
|
|
|
(overrideCabal (drv: { src = gogolSrc; }) drv).overrideAttrs (_oldAttrs: {
|
|
|
|
sourceRoot = "${gogolSrc.name}/${dir}";
|
|
|
|
});
|
2024-12-27 19:08:50 +01:00
|
|
|
isGogolService = name: lib.hasPrefix "gogol-" name && name != "gogol-core";
|
|
|
|
gogolServices = lib.filter isGogolService (lib.attrNames super);
|
2025-01-23 07:38:27 -08:00
|
|
|
gogolServiceOverrides = (lib.genAttrs gogolServices (name: setGogolSourceRoot "lib/services/${name}" super.${name}));
|
2024-12-27 17:42:08 +01:00
|
|
|
in
|
|
|
|
{
|
2025-01-22 17:47:34 -08:00
|
|
|
gogol-core = assert super.gogol-core.version == "0.5.0"; lib.pipe
|
2024-12-27 17:42:08 +01:00
|
|
|
super.gogol-core
|
|
|
|
[
|
|
|
|
(setGogolSourceRoot "lib/gogol-core")
|
2025-01-24 11:22:06 -08:00
|
|
|
(addBuildDepend self.base64)
|
2024-12-27 17:42:08 +01:00
|
|
|
(overrideCabal (drv: { editedCabalFile = null; revision = null; }))
|
|
|
|
];
|
2025-01-22 17:47:34 -08:00
|
|
|
gogol = assert super.gogol.version == "0.5.0"; setGogolSourceRoot "lib/gogol" super.gogol;
|
2024-12-27 19:08:50 +01:00
|
|
|
} // gogolServiceOverrides)
|
2025-01-24 18:04:45 -08:00
|
|
|
|
|
|
|
# Amazonka Packages
|
|
|
|
# 2025-01-24: use latest source files from github, as the hackage release is outdated, https://github.com/brendanhay/amazonka/issues/1001
|
|
|
|
// (
|
|
|
|
let
|
|
|
|
amazonkaSrc = pkgs.fetchFromGitHub {
|
|
|
|
owner = "brendanhay";
|
|
|
|
repo = "amazonka";
|
|
|
|
rev = "f3a7fca02fdbb832cc348e991983b1465225d50c";
|
|
|
|
sha256 = "sha256-u+R+4WeCd16X8H2dkDHzD3nOLsvsTB0lLNUsbRT23aE=";
|
|
|
|
};
|
|
|
|
setAmazonkaSourceRoot = dir: drv: (overrideSrc { version = "2.0"; src = amazonkaSrc + "/${dir}"; }) drv;
|
|
|
|
isAmazonkaService = name: lib.hasPrefix "amazonka-" name && name != "amazonka-test";
|
|
|
|
amazonkaServices = lib.filter isAmazonkaService (lib.attrNames super);
|
|
|
|
amazonkaServiceOverrides = (lib.genAttrs amazonkaServices (name: lib.pipe super.${name} [(setAmazonkaSourceRoot "lib/services/${name}") doJailbreak]));
|
|
|
|
in
|
|
|
|
amazonkaServiceOverrides // {
|
|
|
|
amazonka-core = assert super.amazonka-core.version == "2.0"; lib.pipe
|
|
|
|
super.amazonka-core
|
|
|
|
[ (setAmazonkaSourceRoot "lib/amazonka-core")
|
|
|
|
(addBuildDepends [ self.microlens self.microlens-contra self.microlens-pro ])
|
|
|
|
];
|
|
|
|
amazonka = assert super.amazonka.version == "2.0"; setAmazonkaSourceRoot "lib/amazonka" (doJailbreak super.amazonka);
|
|
|
|
})
|