mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
haskell-ng: fix old Cabal builds
This commit is contained in:
parent
78d8c67fa3
commit
921bb64a6d
@ -5,6 +5,8 @@ with import ./lib.nix { inherit pkgs; };
|
||||
self: super: {
|
||||
|
||||
# Some packages need a non-core version of Cabal.
|
||||
Cabal_1_18_1_6 = doJailbreak (dontCheck super.Cabal_1_18_1_6);
|
||||
Cabal_1_20_0_3 = doJailbreak (dontCheck super.Cabal_1_20_0_3);
|
||||
Cabal_1_22_0_0 = dontCheck super.Cabal_1_22_0_0;
|
||||
cabal-install = dontCheck (super.cabal-install.override { Cabal = self.Cabal_1_22_0_0; });
|
||||
|
||||
|
@ -1865,6 +1865,31 @@ self: {
|
||||
opencv_legacy = null; opencv_ml = null; opencv_objdetect = null;
|
||||
opencv_video = null; };
|
||||
|
||||
"Cabal_1_18_1_6" = callPackage
|
||||
({ mkDerivation, array, base, bytestring, containers, deepseq
|
||||
, directory, extensible-exceptions, filepath, HUnit, pretty
|
||||
, process, QuickCheck, regex-posix, test-framework
|
||||
, test-framework-hunit, test-framework-quickcheck2, time, unix
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "Cabal";
|
||||
version = "1.18.1.6";
|
||||
sha256 = "15nn6f8bnqzy7pqxb45hdf30qid2hw608dcqgmwrcfrd8zrrvylw";
|
||||
buildDepends = [
|
||||
array base bytestring containers deepseq directory filepath pretty
|
||||
process time unix
|
||||
];
|
||||
testDepends = [
|
||||
base bytestring directory extensible-exceptions filepath HUnit
|
||||
process QuickCheck regex-posix test-framework test-framework-hunit
|
||||
test-framework-quickcheck2 unix
|
||||
];
|
||||
preCheck = "unset GHC_PACKAGE_PATH; export HOME=$NIX_BUILD_TOP";
|
||||
homepage = "http://www.haskell.org/cabal/";
|
||||
description = "A framework for packaging Haskell software";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}) {};
|
||||
|
||||
"Cabal_1_20_0_3" = callPackage
|
||||
({ mkDerivation, array, base, bytestring, containers, deepseq
|
||||
, directory, extensible-exceptions, filepath, HUnit, pretty
|
||||
|
Loading…
Reference in New Issue
Block a user