git.iko.soy/typeable/cabal2nix
on master help sign in
Enable test builds with GHC 6.10.4.
commitba3948313a36b4ec9d6d272c23616be715647e2e authorPeter Simons <simons@cryp.to> dateSat 10 May 2014, 14:54 (12 years ago) parenta4c58d1
2 files changed+2−4
cabal2nix.cabal+1−1 release.nix+1−3
cabal2nix.cabal+1−1
@@ -10,7 +10,7 @@ Category: Distribution
1010Synopsis: Convert Cabal files into Nix build instructions
1111Cabal-Version: >= 1.8
1212Build-Type: Custom
13−Tested-With: GHC >= 6.12.3 && <= 7.8.1
13+Tested-With: GHC >= 6.10.4 && <= 7.8.2
1414Data-files: README.md
1515Description:
1616 The @cabal2nix@ utility converts Cabal files into Nix build instructions. The
release.nix+1−3
@@ -2,7 +2,7 @@
22
33{ cabal2nixSrc ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
44, supportedPlatforms ? [ "x86_64-linux" ]
5−, supportedCompilers ? ["ghc6123" "ghc704" "ghc722" "ghc742" "ghc763" "ghc782" "ghcHEAD"]
5+, supportedCompilers ? ["ghc6104" "ghc6123" "ghc704" "ghc722" "ghc742" "ghc763" "ghc782" "ghcHEAD"]
66}:
77
88let
@@ -13,8 +13,6 @@ in
1313 let
1414 pkgs = import <nixpkgs> { inherit system; };
1515 haskellPackages = pkgs.lib.getAttrFromPath ["haskellPackages_${ghcVer}"] pkgs;
16− Cabal = if pkgs.lib.versionOlder haskellPackages.ghcPlain.version "7.6" then haskellPackages.Cabal_1_16_0_3 else null;
17− hackageDb = haskellPackages.hackageDb.override { inherit Cabal; };
1816 in
1917 haskellPackages.cabal.mkDerivation (self: {
2018 pname = "cabal2nix";