2021-01-11 09:55:47 +01:00
|
|
|
{ pkgs }:
|
2020-06-29 03:27:02 +02:00
|
|
|
|
2020-06-29 02:33:25 +02:00
|
|
|
self: super: with pkgs.haskell.lib; rec {
|
2019-12-30 17:31:56 +01:00
|
|
|
generic-arbitrary = appendPatch
|
2019-11-30 04:57:58 +01:00
|
|
|
super.generic-arbitrary
|
2020-06-29 03:27:02 +02:00
|
|
|
[ ./patches/generic-arbitrary-export-garbitrary.patch ];
|
2019-12-30 17:31:56 +01:00
|
|
|
|
2020-08-04 19:43:41 +02:00
|
|
|
random = dontCheck (self.callHackageDirect {
|
|
|
|
pkg = "random";
|
|
|
|
ver = "1.2.0";
|
|
|
|
sha256 = "06s3mmqbsfwv09j2s45qnd66nrxfp9280gnl9ng8yh128pfr7bjh";
|
|
|
|
} {});
|
|
|
|
|
2020-12-25 11:13:06 +01:00
|
|
|
# random <1.2
|
|
|
|
test-framework = doJailbreak super.test-framework;
|
|
|
|
hashable = doJailbreak super.hashable;
|
2020-08-04 19:43:41 +02:00
|
|
|
test-framework-quickcheck2 = doJailbreak super.test-framework-quickcheck2;
|
2021-03-19 14:13:44 +01:00
|
|
|
|
|
|
|
# can be removed if we have the following PR or equivalent
|
|
|
|
# https://github.com/NixOS/nixpkgs/pull/116931
|
|
|
|
hedgehog-classes = overrideCabal super.hedgehog-classes (attrs: {
|
|
|
|
# remove version bound on semirings which is inside a
|
|
|
|
# conditional, so doJailbreak doesn't work
|
|
|
|
prePatch = ''
|
|
|
|
sed -i 's|semirings.*0.6|semirings|g' hedgehog-classes.cabal
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
# pin hgeometry* to 0.11.0.0 since 0.12.0.0 removes triangulationEdges
|
|
|
|
# which is used by //users/glittershark/xanthous
|
|
|
|
hgeometry =
|
|
|
|
self.callHackageDirect {
|
|
|
|
pkg = "hgeometry";
|
|
|
|
ver = "0.11.0.0";
|
|
|
|
sha256 = "0qidbpgs6jxrirrhmy7iabwd62178sm68fqrmqg3w3gfyx8nm8ls";
|
|
|
|
} {};
|
|
|
|
|
|
|
|
hgeometry-combinatorial =
|
|
|
|
self.callHackageDirect {
|
|
|
|
pkg = "hgeometry-combinatorial";
|
|
|
|
ver = "0.11.0.0";
|
|
|
|
sha256 = "0c9ccqz1m45kkdkzw00gvzdspjljhg12vish6himqjqpms7g6sag";
|
|
|
|
} {};
|
2019-11-30 04:57:58 +01:00
|
|
|
}
|