haskell.nix/materialized/ghc-extra-projects/cross/ghc865/default.nix

93 lines
3.9 KiB
Nix
Raw Normal View History

{
pkgs = hackage:
{
packages = {
"binary".revision = (((hackage."binary")."0.8.8.0").revisions).default;
"ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default;
"unix".revision = (((hackage."unix")."2.7.2.2").revisions).default;
"ghc-heap".revision = (((hackage."ghc-heap")."8.6.5").revisions).default;
"mtl".revision = (((hackage."mtl")."2.2.2").revisions).default;
"rts".revision = (((hackage."rts")."1.0").revisions).default;
"alex".revision = (((hackage."alex")."3.2.6").revisions).default;
"alex".flags.small_base = true;
"deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default;
"network".revision = (((hackage."network")."2.8.0.1").revisions).default;
"directory".revision = (((hackage."directory")."1.3.6.1").revisions).default;
"template-haskell".revision = (((hackage."template-haskell")."2.14.0.0").revisions).default;
"containers".revision = (((hackage."containers")."0.6.0.1").revisions).default;
"base".revision = (((hackage."base")."4.12.0.0").revisions).default;
"time".revision = (((hackage."time")."1.8.0.2").revisions).default;
"terminfo".revision = (((hackage."terminfo")."0.4.1.4").revisions).default;
"transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default;
"happy".revision = (((hackage."happy")."1.20.0").revisions).default;
"filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default;
2021-03-01 05:42:23 +03:00
"process".revision = (((hackage."process")."1.6.11.0").revisions).default;
"pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default;
"ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.6.5").revisions).default;
"array".revision = (((hackage."array")."0.5.3.0").revisions).default;
"integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default;
};
compiler = {
version = "8.6.5";
nix-name = "ghc865";
packages = {
"ghc-prim" = "0.5.3";
"ghc-heap" = "8.6.5";
"mtl" = "2.2.2";
"rts" = "1.0";
"deepseq" = "1.4.4.0";
"template-haskell" = "2.14.0.0";
"containers" = "0.6.0.1";
"base" = "4.12.0.0";
"time" = "1.8.0.2";
"transformers" = "0.5.6.2";
"filepath" = "1.4.2.1";
"pretty" = "1.1.3.6";
"ghc-boot-th" = "8.6.5";
"array" = "0.5.3.0";
"integer-gmp" = "1.0.2.0";
};
};
};
extras = hackage:
{
packages = {
ghc = ./.plan.nix/ghc.nix;
bytestring = ./.plan.nix/bytestring.nix;
remote-iserv = ./.plan.nix/remote-iserv.nix;
iserv-proxy = ./.plan.nix/iserv-proxy.nix;
hpc = ./.plan.nix/hpc.nix;
libiserv = ./.plan.nix/libiserv.nix;
ghc-boot = ./.plan.nix/ghc-boot.nix;
ghci = ./.plan.nix/ghci.nix;
iserv = ./.plan.nix/iserv.nix;
};
};
modules = [
({ lib, ... }:
{
packages = {
"ghc" = {
flags = {
"stage1" = lib.mkOverride 900 false;
"stage2" = lib.mkOverride 900 true;
"stage3" = lib.mkOverride 900 false;
Remove internal deps on default ghc and stackage (#738) Changes to the interface of haskell.nix (from the changelog.md file): * Removed `sources.nixpkgs-default`, use `sources.nixpkgs` instead. * Removed `./nixpkgs` directory, use `(import ./. {}).sources` or `./nix/sources.nix` instead. * Removes V1 interface for details on how to fix old code see: https://github.com/input-output-hk/haskell.nix/issues/709 * Removed defaultCompilerNixName. * cabalProject, cabalProject', hackage-project and hackage-package now require a `compiler-nix-name` argument. * `haskell-nix.tool` and `.tools` now require a `compiler-nix-name` argument. New functions `p.tool` and `p.tools` (where p is a project) do not. Like `shellFor { tools = ... }` they will use the compiler nix name from the project (including stack projects where it is derived from the resolver). * `haskell-nix.alex` and `haskell-nix.happy` have been removed. Use `p.tool "alex" "3.2.5"` or `shellFor { tools = { alex = "3.2.5"; } }`. * `haskell-nix.nix-tools` -> `haskell-nix.nix-tools.ghc883` (it includes the hpack exe now). * `haskell-nix.cabal-install` -> `p.tool "cabal" "3.2.0.0"` or `shellFor { tools = { cabal = "3.2.0.0"; } }` * `haskell-nix.haskellNixRoots` -> `haskell-nix.roots ghc883` or `p.roots` Other changes: Adds hpack executable to the nix-tools derivations. Adds a `cabal-hpack` test to make sure `hpack` works with `cabalProject`. Reduces the number of calls to `cabalProject` (particularly when checking materialization), by giving internal tools a per-compiler attribute. Uses happy 1.19.12 when building newer ghc versions. Updates cabal-install 3.2.0.0 to use the source from github that is compatible with ghc 8.10.1. Updates the docs for callCabalProjectToNix. Adds a license mapping to fix a common warning.
2020-07-08 13:54:01 +03:00
"dynamic-system-linker" = lib.mkOverride 900 true;
"ghci" = lib.mkOverride 900 true;
"terminfo" = lib.mkOverride 900 true;
};
};
"bytestring" = {
flags = { "integer-simple" = lib.mkOverride 900 false; };
};
"remote-iserv" = { flags = {}; };
"iserv-proxy" = { flags = {}; };
"hpc" = { flags = {}; };
"libiserv" = { flags = { "network" = lib.mkOverride 900 true; }; };
"ghc-boot" = { flags = {}; };
"ghci" = { flags = { "ghci" = lib.mkOverride 900 true; }; };
"iserv" = { flags = {}; };
};
})
];
}