2015-02-04 00:34:08 +01:00
|
|
|
{ pkgs, callPackage, stdenv }:
|
2015-01-07 20:31:32 +01:00
|
|
|
|
|
|
|
rec {
|
|
|
|
|
2015-01-10 20:26:08 +01:00
|
|
|
lib = import ../development/haskell-modules/lib.nix { inherit pkgs; };
|
|
|
|
|
2015-01-07 20:31:32 +01:00
|
|
|
compiler = {
|
|
|
|
|
|
|
|
ghc6102Binary = callPackage ../development/compilers/ghc/6.10.2-binary.nix { gmp = pkgs.gmp4; };
|
2015-05-02 21:43:34 +02:00
|
|
|
ghc704Binary = callPackage ../development/compilers/ghc/7.0.4-binary.nix ({
|
|
|
|
gmp = pkgs.gmp4;
|
|
|
|
} // stdenv.lib.optionalAttrs stdenv.isDarwin {
|
2015-02-04 00:34:08 +01:00
|
|
|
libiconv = pkgs.darwin.libiconv;
|
|
|
|
});
|
2015-05-02 21:43:34 +02:00
|
|
|
ghc742Binary = callPackage ../development/compilers/ghc/7.4.2-binary.nix ({
|
|
|
|
gmp = pkgs.gmp4;
|
|
|
|
} // stdenv.lib.optionalAttrs stdenv.isDarwin {
|
2015-02-04 00:34:08 +01:00
|
|
|
libiconv = pkgs.darwin.libiconv;
|
|
|
|
});
|
2015-01-07 20:31:32 +01:00
|
|
|
|
2015-01-19 18:32:10 +01:00
|
|
|
ghc6104 = callPackage ../development/compilers/ghc/6.10.4.nix { ghc = compiler.ghc6102Binary; };
|
|
|
|
ghc6123 = callPackage ../development/compilers/ghc/6.12.3.nix { ghc = compiler.ghc6102Binary; };
|
|
|
|
ghc704 = callPackage ../development/compilers/ghc/7.0.4.nix ({ ghc = compiler.ghc704Binary; } // stdenv.lib.optionalAttrs stdenv.isDarwin {
|
2015-02-04 00:34:08 +01:00
|
|
|
libiconv = pkgs.darwin.libiconv;
|
|
|
|
});
|
2015-01-19 18:32:10 +01:00
|
|
|
ghc722 = callPackage ../development/compilers/ghc/7.2.2.nix ({ ghc = compiler.ghc704Binary; } // stdenv.lib.optionalAttrs stdenv.isDarwin {
|
2015-02-04 00:34:08 +01:00
|
|
|
libiconv = pkgs.darwin.libiconv;
|
|
|
|
});
|
2015-01-19 18:32:10 +01:00
|
|
|
ghc742 = callPackage ../development/compilers/ghc/7.4.2.nix ({ ghc = compiler.ghc704Binary; } // stdenv.lib.optionalAttrs stdenv.isDarwin {
|
2015-02-04 00:34:08 +01:00
|
|
|
libiconv = pkgs.darwin.libiconv;
|
|
|
|
});
|
2015-01-19 18:32:10 +01:00
|
|
|
ghc763 = callPackage ../development/compilers/ghc/7.6.3.nix ({ ghc = compiler.ghc704Binary; } // stdenv.lib.optionalAttrs stdenv.isDarwin {
|
2015-02-04 00:34:08 +01:00
|
|
|
libiconv = pkgs.darwin.libiconv;
|
|
|
|
});
|
2015-01-19 18:32:10 +01:00
|
|
|
ghc784 = callPackage ../development/compilers/ghc/7.8.4.nix ({ ghc = compiler.ghc742Binary; } // stdenv.lib.optionalAttrs stdenv.isDarwin {
|
2015-02-04 00:34:08 +01:00
|
|
|
libiconv = pkgs.darwin.libiconv;
|
|
|
|
});
|
2015-01-19 18:32:10 +01:00
|
|
|
ghc7101 = callPackage ../development/compilers/ghc/7.10.1.nix ({ ghc = compiler.ghc784; } // stdenv.lib.optionalAttrs stdenv.isDarwin {
|
2015-02-04 00:34:08 +01:00
|
|
|
libiconv = pkgs.darwin.libiconv;
|
|
|
|
});
|
2015-02-13 22:13:25 +01:00
|
|
|
ghcHEAD = callPackage ../development/compilers/ghc/head.nix ({ inherit (packages.ghc784) ghc alex happy; } // stdenv.lib.optionalAttrs stdenv.isDarwin {
|
2015-02-04 00:34:08 +01:00
|
|
|
libiconv = pkgs.darwin.libiconv;
|
|
|
|
});
|
2015-01-07 20:31:32 +01:00
|
|
|
ghc = compiler.ghc784;
|
|
|
|
|
2015-03-13 04:20:56 +01:00
|
|
|
ghcjs = packages.ghc7101.callPackage ../development/compilers/ghcjs {
|
|
|
|
ghc = compiler.ghc7101;
|
|
|
|
};
|
2015-01-07 20:31:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
packages = {
|
|
|
|
|
|
|
|
ghc6104 = callPackage ../development/haskell-modules { ghc = compiler.ghc6104; };
|
2015-01-16 21:48:59 +01:00
|
|
|
ghc6123 = callPackage ../development/haskell-modules {
|
|
|
|
ghc = compiler.ghc6123;
|
|
|
|
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghc-6.12.x.nix { };
|
|
|
|
};
|
|
|
|
ghc704 = callPackage ../development/haskell-modules {
|
|
|
|
ghc = compiler.ghc704;
|
|
|
|
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghc-7.0.x.nix { };
|
|
|
|
};
|
|
|
|
ghc722 = callPackage ../development/haskell-modules {
|
|
|
|
ghc = compiler.ghc722;
|
|
|
|
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghc-7.2.x.nix { };
|
|
|
|
};
|
|
|
|
ghc742 = callPackage ../development/haskell-modules {
|
|
|
|
ghc = compiler.ghc742;
|
|
|
|
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghc-7.4.x.nix { };
|
|
|
|
};
|
2015-01-07 20:31:32 +01:00
|
|
|
ghc763 = callPackage ../development/haskell-modules {
|
|
|
|
ghc = compiler.ghc763;
|
|
|
|
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghc-7.6.x.nix { };
|
|
|
|
};
|
|
|
|
ghc784 = callPackage ../development/haskell-modules {
|
|
|
|
ghc = compiler.ghc784;
|
|
|
|
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghc-7.8.x.nix { };
|
|
|
|
};
|
2015-01-19 12:12:28 +01:00
|
|
|
ghc7101 = callPackage ../development/haskell-modules {
|
|
|
|
ghc = compiler.ghc7101;
|
|
|
|
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghc-7.10.x.nix { };
|
|
|
|
};
|
2015-01-07 20:31:32 +01:00
|
|
|
ghcHEAD = callPackage ../development/haskell-modules {
|
|
|
|
ghc = compiler.ghcHEAD;
|
2015-01-19 12:12:28 +01:00
|
|
|
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghc-head.nix { };
|
2015-01-07 20:31:32 +01:00
|
|
|
};
|
|
|
|
ghcjs = callPackage ../development/haskell-modules {
|
2015-03-13 04:20:56 +01:00
|
|
|
ghc = compiler.ghcjs;
|
2015-01-07 20:31:32 +01:00
|
|
|
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghcjs.nix { };
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|