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

134 lines
6.5 KiB
Nix
Raw Normal View History

{
pkgs = hackage:
{
packages = {
"happy".revision = (((hackage."happy")."1.20.0").revisions).default;
"ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.6.5").revisions).default;
"ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default;
"pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default;
"base".revision = (((hackage."base")."4.12.0.0").revisions).default;
"time".revision = (((hackage."time")."1.8.0.2").revisions).default;
"array".revision = (((hackage."array")."0.5.3.0").revisions).default;
"process".revision = (((hackage."process")."1.6.5.0").revisions).default;
"network".revision = (((hackage."network")."2.8.0.1").revisions).default;
"directory".revision = (((hackage."directory")."1.3.3.0").revisions).default;
"alex".revision = (((hackage."alex")."3.2.6").revisions).default;
"alex".flags.small_base = true;
"mtl".revision = (((hackage."mtl")."2.2.2").revisions).default;
"transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default;
"rts".revision = (((hackage."rts")."1.0").revisions).default;
"template-haskell".revision = (((hackage."template-haskell")."2.14.0.0").revisions).default;
"bytestring".revision = (((hackage."bytestring")."0.10.8.2").revisions).default;
"deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default;
"unix".revision = (((hackage."unix")."2.7.2.2").revisions).default;
"filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default;
"integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default;
"terminfo".revision = (((hackage."terminfo")."0.4.1.5").revisions).default;
"ghc-heap".revision = (((hackage."ghc-heap")."8.6.5").revisions).default;
"binary".revision = (((hackage."binary")."0.8.6.0").revisions).default;
"containers".revision = (((hackage."containers")."0.6.0.1").revisions).default;
};
compiler = {
version = "8.6.5";
nix-name = "ghc865";
packages = {
"ghc-boot-th" = "8.6.5";
"ghc-prim" = "0.5.3";
"pretty" = "1.1.3.6";
"base" = "4.12.0.0";
"time" = "1.8.0.2";
"array" = "0.5.3.0";
"process" = "1.6.5.0";
"directory" = "1.3.3.0";
"mtl" = "2.2.2";
"transformers" = "0.5.6.2";
"rts" = "1.0";
"template-haskell" = "2.14.0.0";
"bytestring" = "0.10.8.2";
"deepseq" = "1.4.4.0";
"unix" = "2.7.2.2";
"filepath" = "1.4.2.1";
"integer-gmp" = "1.0.2.0";
"ghc-heap" = "8.6.5";
"binary" = "0.8.6.0";
"containers" = "0.6.0.1";
};
};
};
extras = hackage:
{
packages = {
remote-iserv = ./.plan.nix/remote-iserv.nix;
iserv-proxy = ./.plan.nix/iserv-proxy.nix;
ghci = ./.plan.nix/ghci.nix;
ghc-boot = ./.plan.nix/ghc-boot.nix;
iserv = ./.plan.nix/iserv.nix;
ghc = ./.plan.nix/ghc.nix;
libiserv = ./.plan.nix/libiserv.nix;
Win32 = ./.plan.nix/Win32.nix;
hpc = ./.plan.nix/hpc.nix;
};
};
modules = [
({ lib, ... }:
{
packages = {
"remote-iserv" = { flags = {}; };
"iserv-proxy" = { flags = {}; };
"ghci" = { flags = { "ghci" = lib.mkOverride 900 true; }; };
"ghc-boot" = { flags = {}; };
"iserv" = { flags = {}; };
"ghc" = {
flags = {
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;
"stage3" = lib.mkOverride 900 false;
"ghci" = lib.mkOverride 900 true;
"stage2" = lib.mkOverride 900 true;
"stage1" = lib.mkOverride 900 false;
"terminfo" = lib.mkOverride 900 true;
};
};
"libiserv" = { flags = { "network" = lib.mkOverride 900 true; }; };
"Win32" = { flags = {}; };
"hpc" = { flags = {}; };
};
})
Better support for source-repository-packages, only include planned components and pick latest packages (#1166) This change updates to the latest `nix-tools` to get the following fixes (there are 3 PRs in nix-tools, but just the one in haskell.nix to avoid having to update the materialized files multiple times): ## Better support for source repository packages * https://github.com/input-output-hk/nix-tools/pull/107 Currently these are replaced by the `cabalProject` functions with regular `packages:` before running cabal configure. Cabal does not treat these the same (the setting of `tests:` and `benchmarks:` in the `cabal.project` file): * The plan found by `cabalProject` may not match the one used when running `cabal`. * The performance of the solver may not be consistent with running `cabal`. This change replaces `source-repository-package` with another `source-repository-package` pointing at a minimal git repo. ## Only include planned components * https://github.com/input-output-hk/nix-tools/pull/108 Only the components in the `plan.json` are now included in the haskell.nix cabal projects. This avoids missing dependencies attempting to build components that were not in the plan. Should fix #993. ## Pick latest packages * https://github.com/input-output-hk/nix-tools/pull/109 When the same package occurs more than once in a `plan.json` file (perhaps because it is needed both by the project itself and by one of the `setup` dependencies or `build-tool-dependencies` of the project) the latest version will now be the one picked by haskell.nix. This is a work around for a common issue with `cabal-doctest` when cross compiling to windows (an old version of Win32 is used even if a newer one was required by the projects `constraints`).
2021-07-23 05:27:56 +03:00
({ lib, ... }:
{
packages = {
"filepath".components.library.planned = lib.mkOverride 900 true;
Better support for source-repository-packages, only include planned components and pick latest packages (#1166) This change updates to the latest `nix-tools` to get the following fixes (there are 3 PRs in nix-tools, but just the one in haskell.nix to avoid having to update the materialized files multiple times): ## Better support for source repository packages * https://github.com/input-output-hk/nix-tools/pull/107 Currently these are replaced by the `cabalProject` functions with regular `packages:` before running cabal configure. Cabal does not treat these the same (the setting of `tests:` and `benchmarks:` in the `cabal.project` file): * The plan found by `cabalProject` may not match the one used when running `cabal`. * The performance of the solver may not be consistent with running `cabal`. This change replaces `source-repository-package` with another `source-repository-package` pointing at a minimal git repo. ## Only include planned components * https://github.com/input-output-hk/nix-tools/pull/108 Only the components in the `plan.json` are now included in the haskell.nix cabal projects. This avoids missing dependencies attempting to build components that were not in the plan. Should fix #993. ## Pick latest packages * https://github.com/input-output-hk/nix-tools/pull/109 When the same package occurs more than once in a `plan.json` file (perhaps because it is needed both by the project itself and by one of the `setup` dependencies or `build-tool-dependencies` of the project) the latest version will now be the one picked by haskell.nix. This is a work around for a common issue with `cabal-doctest` when cross compiling to windows (an old version of Win32 is used even if a newer one was required by the projects `constraints`).
2021-07-23 05:27:56 +03:00
"pretty".components.library.planned = lib.mkOverride 900 true;
"process".components.library.planned = lib.mkOverride 900 true;
Better support for source-repository-packages, only include planned components and pick latest packages (#1166) This change updates to the latest `nix-tools` to get the following fixes (there are 3 PRs in nix-tools, but just the one in haskell.nix to avoid having to update the materialized files multiple times): ## Better support for source repository packages * https://github.com/input-output-hk/nix-tools/pull/107 Currently these are replaced by the `cabalProject` functions with regular `packages:` before running cabal configure. Cabal does not treat these the same (the setting of `tests:` and `benchmarks:` in the `cabal.project` file): * The plan found by `cabalProject` may not match the one used when running `cabal`. * The performance of the solver may not be consistent with running `cabal`. This change replaces `source-repository-package` with another `source-repository-package` pointing at a minimal git repo. ## Only include planned components * https://github.com/input-output-hk/nix-tools/pull/108 Only the components in the `plan.json` are now included in the haskell.nix cabal projects. This avoids missing dependencies attempting to build components that were not in the plan. Should fix #993. ## Pick latest packages * https://github.com/input-output-hk/nix-tools/pull/109 When the same package occurs more than once in a `plan.json` file (perhaps because it is needed both by the project itself and by one of the `setup` dependencies or `build-tool-dependencies` of the project) the latest version will now be the one picked by haskell.nix. This is a work around for a common issue with `cabal-doctest` when cross compiling to windows (an old version of Win32 is used even if a newer one was required by the projects `constraints`).
2021-07-23 05:27:56 +03:00
"bytestring".components.library.planned = lib.mkOverride 900 true;
"template-haskell".components.library.planned = lib.mkOverride 900 true;
"ghci".components.library.planned = lib.mkOverride 900 true;
Better support for source-repository-packages, only include planned components and pick latest packages (#1166) This change updates to the latest `nix-tools` to get the following fixes (there are 3 PRs in nix-tools, but just the one in haskell.nix to avoid having to update the materialized files multiple times): ## Better support for source repository packages * https://github.com/input-output-hk/nix-tools/pull/107 Currently these are replaced by the `cabalProject` functions with regular `packages:` before running cabal configure. Cabal does not treat these the same (the setting of `tests:` and `benchmarks:` in the `cabal.project` file): * The plan found by `cabalProject` may not match the one used when running `cabal`. * The performance of the solver may not be consistent with running `cabal`. This change replaces `source-repository-package` with another `source-repository-package` pointing at a minimal git repo. ## Only include planned components * https://github.com/input-output-hk/nix-tools/pull/108 Only the components in the `plan.json` are now included in the haskell.nix cabal projects. This avoids missing dependencies attempting to build components that were not in the plan. Should fix #993. ## Pick latest packages * https://github.com/input-output-hk/nix-tools/pull/109 When the same package occurs more than once in a `plan.json` file (perhaps because it is needed both by the project itself and by one of the `setup` dependencies or `build-tool-dependencies` of the project) the latest version will now be the one picked by haskell.nix. This is a work around for a common issue with `cabal-doctest` when cross compiling to windows (an old version of Win32 is used even if a newer one was required by the projects `constraints`).
2021-07-23 05:27:56 +03:00
"remote-iserv".components.exes."remote-iserv".planned = lib.mkOverride 900 true;
"alex".components.exes."alex".planned = lib.mkOverride 900 true;
"ghc-prim".components.library.planned = lib.mkOverride 900 true;
"ghc-boot".components.library.planned = lib.mkOverride 900 true;
"hpc".components.library.planned = lib.mkOverride 900 true;
"array".components.library.planned = lib.mkOverride 900 true;
"binary".components.library.planned = lib.mkOverride 900 true;
"ghc-heap".components.library.planned = lib.mkOverride 900 true;
"ghc-boot-th".components.library.planned = lib.mkOverride 900 true;
Better support for source-repository-packages, only include planned components and pick latest packages (#1166) This change updates to the latest `nix-tools` to get the following fixes (there are 3 PRs in nix-tools, but just the one in haskell.nix to avoid having to update the materialized files multiple times): ## Better support for source repository packages * https://github.com/input-output-hk/nix-tools/pull/107 Currently these are replaced by the `cabalProject` functions with regular `packages:` before running cabal configure. Cabal does not treat these the same (the setting of `tests:` and `benchmarks:` in the `cabal.project` file): * The plan found by `cabalProject` may not match the one used when running `cabal`. * The performance of the solver may not be consistent with running `cabal`. This change replaces `source-repository-package` with another `source-repository-package` pointing at a minimal git repo. ## Only include planned components * https://github.com/input-output-hk/nix-tools/pull/108 Only the components in the `plan.json` are now included in the haskell.nix cabal projects. This avoids missing dependencies attempting to build components that were not in the plan. Should fix #993. ## Pick latest packages * https://github.com/input-output-hk/nix-tools/pull/109 When the same package occurs more than once in a `plan.json` file (perhaps because it is needed both by the project itself and by one of the `setup` dependencies or `build-tool-dependencies` of the project) the latest version will now be the one picked by haskell.nix. This is a work around for a common issue with `cabal-doctest` when cross compiling to windows (an old version of Win32 is used even if a newer one was required by the projects `constraints`).
2021-07-23 05:27:56 +03:00
"mtl".components.library.planned = lib.mkOverride 900 true;
"rts".components.library.planned = lib.mkOverride 900 true;
"unix".components.library.planned = lib.mkOverride 900 true;
"transformers".components.library.planned = lib.mkOverride 900 true;
Better support for source-repository-packages, only include planned components and pick latest packages (#1166) This change updates to the latest `nix-tools` to get the following fixes (there are 3 PRs in nix-tools, but just the one in haskell.nix to avoid having to update the materialized files multiple times): ## Better support for source repository packages * https://github.com/input-output-hk/nix-tools/pull/107 Currently these are replaced by the `cabalProject` functions with regular `packages:` before running cabal configure. Cabal does not treat these the same (the setting of `tests:` and `benchmarks:` in the `cabal.project` file): * The plan found by `cabalProject` may not match the one used when running `cabal`. * The performance of the solver may not be consistent with running `cabal`. This change replaces `source-repository-package` with another `source-repository-package` pointing at a minimal git repo. ## Only include planned components * https://github.com/input-output-hk/nix-tools/pull/108 Only the components in the `plan.json` are now included in the haskell.nix cabal projects. This avoids missing dependencies attempting to build components that were not in the plan. Should fix #993. ## Pick latest packages * https://github.com/input-output-hk/nix-tools/pull/109 When the same package occurs more than once in a `plan.json` file (perhaps because it is needed both by the project itself and by one of the `setup` dependencies or `build-tool-dependencies` of the project) the latest version will now be the one picked by haskell.nix. This is a work around for a common issue with `cabal-doctest` when cross compiling to windows (an old version of Win32 is used even if a newer one was required by the projects `constraints`).
2021-07-23 05:27:56 +03:00
"deepseq".components.library.planned = lib.mkOverride 900 true;
"libiserv".components.library.planned = lib.mkOverride 900 true;
Better support for source-repository-packages, only include planned components and pick latest packages (#1166) This change updates to the latest `nix-tools` to get the following fixes (there are 3 PRs in nix-tools, but just the one in haskell.nix to avoid having to update the materialized files multiple times): ## Better support for source repository packages * https://github.com/input-output-hk/nix-tools/pull/107 Currently these are replaced by the `cabalProject` functions with regular `packages:` before running cabal configure. Cabal does not treat these the same (the setting of `tests:` and `benchmarks:` in the `cabal.project` file): * The plan found by `cabalProject` may not match the one used when running `cabal`. * The performance of the solver may not be consistent with running `cabal`. This change replaces `source-repository-package` with another `source-repository-package` pointing at a minimal git repo. ## Only include planned components * https://github.com/input-output-hk/nix-tools/pull/108 Only the components in the `plan.json` are now included in the haskell.nix cabal projects. This avoids missing dependencies attempting to build components that were not in the plan. Should fix #993. ## Pick latest packages * https://github.com/input-output-hk/nix-tools/pull/109 When the same package occurs more than once in a `plan.json` file (perhaps because it is needed both by the project itself and by one of the `setup` dependencies or `build-tool-dependencies` of the project) the latest version will now be the one picked by haskell.nix. This is a work around for a common issue with `cabal-doctest` when cross compiling to windows (an old version of Win32 is used even if a newer one was required by the projects `constraints`).
2021-07-23 05:27:56 +03:00
"directory".components.library.planned = lib.mkOverride 900 true;
"happy".components.exes."happy".planned = lib.mkOverride 900 true;
"iserv".components.exes."iserv".planned = lib.mkOverride 900 true;
"base".components.library.planned = lib.mkOverride 900 true;
"network".components.library.planned = lib.mkOverride 900 true;
"time".components.library.planned = lib.mkOverride 900 true;
"integer-gmp".components.library.planned = lib.mkOverride 900 true;
"containers".components.library.planned = lib.mkOverride 900 true;
"ghc".components.library.planned = lib.mkOverride 900 true;
"iserv-proxy".components.exes."iserv-proxy".planned = lib.mkOverride 900 true;
"terminfo".components.library.planned = lib.mkOverride 900 true;
Better support for source-repository-packages, only include planned components and pick latest packages (#1166) This change updates to the latest `nix-tools` to get the following fixes (there are 3 PRs in nix-tools, but just the one in haskell.nix to avoid having to update the materialized files multiple times): ## Better support for source repository packages * https://github.com/input-output-hk/nix-tools/pull/107 Currently these are replaced by the `cabalProject` functions with regular `packages:` before running cabal configure. Cabal does not treat these the same (the setting of `tests:` and `benchmarks:` in the `cabal.project` file): * The plan found by `cabalProject` may not match the one used when running `cabal`. * The performance of the solver may not be consistent with running `cabal`. This change replaces `source-repository-package` with another `source-repository-package` pointing at a minimal git repo. ## Only include planned components * https://github.com/input-output-hk/nix-tools/pull/108 Only the components in the `plan.json` are now included in the haskell.nix cabal projects. This avoids missing dependencies attempting to build components that were not in the plan. Should fix #993. ## Pick latest packages * https://github.com/input-output-hk/nix-tools/pull/109 When the same package occurs more than once in a `plan.json` file (perhaps because it is needed both by the project itself and by one of the `setup` dependencies or `build-tool-dependencies` of the project) the latest version will now be the one picked by haskell.nix. This is a work around for a common issue with `cabal-doctest` when cross compiling to windows (an old version of Win32 is used even if a newer one was required by the projects `constraints`).
2021-07-23 05:27:56 +03:00
};
})
];
}