From 79b5458138b5411499191910fe77b789a4661239 Mon Sep 17 00:00:00 2001 From: Hamish Mackenzie Date: Wed, 13 May 2020 22:08:36 +1200 Subject: [PATCH] Update materialized nix files (#603) Update materialized with new errorHandler --- materialized/alex/.plan.nix/alex.nix | 67 +- .../ghc-boot-packages-nix/ghc865/base.nix | 67 +- .../ghc865/bytestring.nix | 113 ++-- .../ghc-boot-packages-nix/ghc865/ghc-boot.nix | 61 +- .../ghc-boot-packages-nix/ghc865/ghc-heap.nix | 55 +- .../ghc-boot-packages-nix/ghc865/ghc.nix | 93 +-- .../ghc-boot-packages-nix/ghc865/ghci.nix | 75 +-- .../ghc865/iserv-proxy.nix | 71 +- .../ghc-boot-packages-nix/ghc865/iserv.nix | 67 +- .../ghc-boot-packages-nix/ghc865/libiserv.nix | 69 +- .../ghc865/remote-iserv.nix | 53 +- .../ghc882/bytestring.nix | 111 ---- .../ghc-boot-packages-nix/ghc882/ghc-boot.nix | 69 -- .../ghc-boot-packages-nix/ghc882/ghc.nix | 96 --- .../ghc-boot-packages-nix/ghc882/ghci.nix | 75 --- .../ghc882/iserv-proxy.nix | 76 --- .../ghc-boot-packages-nix/ghc882/iserv.nix | 73 --- .../ghc-boot-packages-nix/ghc882/libiserv.nix | 73 --- .../ghc882/remote-iserv.nix | 67 -- .../ghc883/bytestring.nix | 113 ++-- .../ghc-boot-packages-nix/ghc883/ghc-boot.nix | 61 +- .../ghc-boot-packages-nix/ghc883/ghc.nix | 93 +-- .../ghc-boot-packages-nix/ghc883/ghci.nix | 75 +-- .../ghc883/iserv-proxy.nix | 71 +- .../ghc-boot-packages-nix/ghc883/iserv.nix | 67 +- .../ghc-boot-packages-nix/ghc883/libiserv.nix | 69 +- .../ghc883/remote-iserv.nix | 53 +- .../cross/ghc865/.plan.nix/bytestring.nix | 113 ++-- .../cross/ghc865/.plan.nix/ghc-boot.nix | 61 +- .../cross/ghc865/.plan.nix/ghc.nix | 93 +-- .../cross/ghc865/.plan.nix/ghci.nix | 75 +-- .../cross/ghc865/.plan.nix/iserv-proxy.nix | 71 +- .../cross/ghc865/.plan.nix/iserv.nix | 67 +- .../cross/ghc865/.plan.nix/libiserv.nix | 69 +- .../cross/ghc865/.plan.nix/remote-iserv.nix | 53 +- .../cross/ghc882/.plan.nix/bytestring.nix | 167 ----- .../cross/ghc882/.plan.nix/ghc-boot.nix | 84 --- .../cross/ghc882/.plan.nix/ghc.nix | 608 ----------------- .../cross/ghc882/.plan.nix/ghci.nix | 101 --- .../cross/ghc882/.plan.nix/iserv-proxy.nix | 86 --- .../cross/ghc882/.plan.nix/iserv.nix | 85 --- .../cross/ghc882/.plan.nix/libiserv.nix | 89 --- .../cross/ghc882/.plan.nix/remote-iserv.nix | 77 --- .../cross/ghc882/default.nix | 94 --- .../cross/ghc883/.plan.nix/bytestring.nix | 113 ++-- .../cross/ghc883/.plan.nix/ghc-boot.nix | 61 +- .../cross/ghc883/.plan.nix/ghc.nix | 93 +-- .../cross/ghc883/.plan.nix/ghci.nix | 75 +-- .../cross/ghc883/.plan.nix/iserv-proxy.nix | 71 +- .../cross/ghc883/.plan.nix/iserv.nix | 67 +- .../cross/ghc883/.plan.nix/libiserv.nix | 69 +- .../cross/ghc883/.plan.nix/remote-iserv.nix | 53 +- .../default/ghc865/.plan.nix/bytestring.nix | 113 ++-- .../default/ghc865/.plan.nix/ghc-boot.nix | 61 +- .../default/ghc865/.plan.nix/ghc.nix | 93 +-- .../default/ghc865/.plan.nix/ghci.nix | 75 +-- .../default/ghc865/.plan.nix/iserv-proxy.nix | 71 +- .../default/ghc865/.plan.nix/iserv.nix | 67 +- .../default/ghc865/.plan.nix/libiserv.nix | 69 +- .../default/ghc865/.plan.nix/remote-iserv.nix | 53 +- .../default/ghc882/.plan.nix/bytestring.nix | 167 ----- .../default/ghc882/.plan.nix/ghc-boot.nix | 84 --- .../default/ghc882/.plan.nix/ghc.nix | 608 ----------------- .../default/ghc882/.plan.nix/ghci.nix | 101 --- .../default/ghc882/.plan.nix/iserv-proxy.nix | 86 --- .../default/ghc882/.plan.nix/iserv.nix | 85 --- .../default/ghc882/.plan.nix/libiserv.nix | 89 --- .../default/ghc882/.plan.nix/remote-iserv.nix | 77 --- .../default/ghc882/default.nix | 95 --- .../default/ghc883/.plan.nix/bytestring.nix | 113 ++-- .../default/ghc883/.plan.nix/ghc-boot.nix | 61 +- .../default/ghc883/.plan.nix/ghc.nix | 93 +-- .../default/ghc883/.plan.nix/ghci.nix | 75 +-- .../default/ghc883/.plan.nix/iserv-proxy.nix | 71 +- .../default/ghc883/.plan.nix/iserv.nix | 67 +- .../default/ghc883/.plan.nix/libiserv.nix | 69 +- .../default/ghc883/.plan.nix/remote-iserv.nix | 53 +- .../windows/ghc865/.plan.nix/bytestring.nix | 113 ++-- .../windows/ghc865/.plan.nix/ghc-boot.nix | 61 +- .../windows/ghc865/.plan.nix/ghc.nix | 93 +-- .../windows/ghc865/.plan.nix/ghci.nix | 75 +-- .../windows/ghc865/.plan.nix/iserv-proxy.nix | 71 +- .../windows/ghc865/.plan.nix/iserv.nix | 67 +- .../windows/ghc865/.plan.nix/libiserv.nix | 69 +- .../windows/ghc865/.plan.nix/remote-iserv.nix | 53 +- .../windows/ghc882/.plan.nix/bytestring.nix | 167 ----- .../windows/ghc882/.plan.nix/ghc-boot.nix | 84 --- .../windows/ghc882/.plan.nix/ghc.nix | 608 ----------------- .../windows/ghc882/.plan.nix/ghci.nix | 101 --- .../windows/ghc882/.plan.nix/iserv-proxy.nix | 86 --- .../windows/ghc882/.plan.nix/iserv.nix | 85 --- .../windows/ghc882/.plan.nix/libiserv.nix | 89 --- .../windows/ghc882/.plan.nix/remote-iserv.nix | 77 --- .../windows/ghc882/default.nix | 92 --- .../windows/ghc883/.plan.nix/bytestring.nix | 113 ++-- .../windows/ghc883/.plan.nix/ghc-boot.nix | 61 +- .../windows/ghc883/.plan.nix/ghc.nix | 93 +-- .../windows/ghc883/.plan.nix/ghci.nix | 75 +-- .../windows/ghc883/.plan.nix/iserv-proxy.nix | 71 +- .../windows/ghc883/.plan.nix/iserv.nix | 67 +- .../windows/ghc883/.plan.nix/libiserv.nix | 69 +- .../windows/ghc883/.plan.nix/remote-iserv.nix | 53 +- .../ghcjs/.plan.nix/ghc-api-ghcjs.nix | 620 ------------------ materialized/ghcjs/.plan.nix/ghci-ghcjs.nix | 101 --- materialized/ghcjs/.plan.nix/ghcjs-th.nix | 89 --- materialized/ghcjs/.plan.nix/ghcjs.nix | 362 ---------- .../ghcjs/.plan.nix/haddock-api-ghcjs.nix | 215 ------ .../ghcjs/.plan.nix/haddock-library-ghcjs.nix | 134 ---- .../.plan.nix/template-haskell-ghcjs.nix | 85 --- materialized/ghcjs/default.nix | 413 ------------ materialized/happy/.plan.nix/happy.nix | 69 +- materialized/hscolour/.plan.nix/hscolour.nix | 57 +- 112 files changed, 1496 insertions(+), 10466 deletions(-) delete mode 100644 materialized/ghc-boot-packages-nix/ghc882/bytestring.nix delete mode 100644 materialized/ghc-boot-packages-nix/ghc882/ghc-boot.nix delete mode 100644 materialized/ghc-boot-packages-nix/ghc882/ghc.nix delete mode 100644 materialized/ghc-boot-packages-nix/ghc882/ghci.nix delete mode 100644 materialized/ghc-boot-packages-nix/ghc882/iserv-proxy.nix delete mode 100644 materialized/ghc-boot-packages-nix/ghc882/iserv.nix delete mode 100644 materialized/ghc-boot-packages-nix/ghc882/libiserv.nix delete mode 100644 materialized/ghc-boot-packages-nix/ghc882/remote-iserv.nix delete mode 100644 materialized/ghc-extra-projects/cross/ghc882/.plan.nix/bytestring.nix delete mode 100644 materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghc-boot.nix delete mode 100644 materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghc.nix delete mode 100644 materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghci.nix delete mode 100644 materialized/ghc-extra-projects/cross/ghc882/.plan.nix/iserv-proxy.nix delete mode 100644 materialized/ghc-extra-projects/cross/ghc882/.plan.nix/iserv.nix delete mode 100644 materialized/ghc-extra-projects/cross/ghc882/.plan.nix/libiserv.nix delete mode 100644 materialized/ghc-extra-projects/cross/ghc882/.plan.nix/remote-iserv.nix delete mode 100644 materialized/ghc-extra-projects/cross/ghc882/default.nix delete mode 100644 materialized/ghc-extra-projects/default/ghc882/.plan.nix/bytestring.nix delete mode 100644 materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghc-boot.nix delete mode 100644 materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghc.nix delete mode 100644 materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghci.nix delete mode 100644 materialized/ghc-extra-projects/default/ghc882/.plan.nix/iserv-proxy.nix delete mode 100644 materialized/ghc-extra-projects/default/ghc882/.plan.nix/iserv.nix delete mode 100644 materialized/ghc-extra-projects/default/ghc882/.plan.nix/libiserv.nix delete mode 100644 materialized/ghc-extra-projects/default/ghc882/.plan.nix/remote-iserv.nix delete mode 100644 materialized/ghc-extra-projects/default/ghc882/default.nix delete mode 100644 materialized/ghc-extra-projects/windows/ghc882/.plan.nix/bytestring.nix delete mode 100644 materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghc-boot.nix delete mode 100644 materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghc.nix delete mode 100644 materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghci.nix delete mode 100644 materialized/ghc-extra-projects/windows/ghc882/.plan.nix/iserv-proxy.nix delete mode 100644 materialized/ghc-extra-projects/windows/ghc882/.plan.nix/iserv.nix delete mode 100644 materialized/ghc-extra-projects/windows/ghc882/.plan.nix/libiserv.nix delete mode 100644 materialized/ghc-extra-projects/windows/ghc882/.plan.nix/remote-iserv.nix delete mode 100644 materialized/ghc-extra-projects/windows/ghc882/default.nix delete mode 100644 materialized/ghcjs/.plan.nix/ghc-api-ghcjs.nix delete mode 100644 materialized/ghcjs/.plan.nix/ghci-ghcjs.nix delete mode 100644 materialized/ghcjs/.plan.nix/ghcjs-th.nix delete mode 100644 materialized/ghcjs/.plan.nix/ghcjs.nix delete mode 100644 materialized/ghcjs/.plan.nix/haddock-api-ghcjs.nix delete mode 100644 materialized/ghcjs/.plan.nix/haddock-library-ghcjs.nix delete mode 100644 materialized/ghcjs/.plan.nix/template-haskell-ghcjs.nix delete mode 100644 materialized/ghcjs/default.nix diff --git a/materialized/alex/.plan.nix/alex.nix b/materialized/alex/.plan.nix/alex.nix index ef645aae..48118fc1 100644 --- a/materialized/alex/.plan.nix/alex.nix +++ b/materialized/alex/.plan.nix/alex.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { small_base = true; }; package = { @@ -137,15 +106,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "alex" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) ] ++ (if flags.small_base then [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."directory" or (buildDepError "directory")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) ] - else [ (hsPkgs."base" or (buildDepError "base")) ]); + else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]); buildable = true; modules = [ "AbsSyn" @@ -177,11 +146,11 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: tests = { "tests" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."process" or (buildDepError "process")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) ]; build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) + (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex"))) ]; buildable = true; mainPath = [ "test.hs" ]; diff --git a/materialized/ghc-boot-packages-nix/ghc865/base.nix b/materialized/ghc-boot-packages-nix/ghc865/base.nix index a4120d41..ac59c1b2 100644 --- a/materialized/ghc-boot-packages-nix/ghc865/base.nix +++ b/materialized/ghc-boot-packages-nix/ghc865/base.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { integer-simple = false; integer-gmp = false; }; package = { @@ -56,16 +25,16 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = (([ - (hsPkgs."rts" or (buildDepError "rts")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - ] ++ (pkgs.lib).optional (!(flags.integer-gmp && !flags.integer-simple || !flags.integer-gmp && flags.integer-simple)) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")); + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + ] ++ (pkgs.lib).optional (!(flags.integer-gmp && !flags.integer-simple || !flags.integer-gmp && flags.integer-simple)) (hsPkgs."invalid-cabal-flag-settings" or (errorHandler.buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")); libs = (pkgs.lib).optionals (system.isWindows) [ - (pkgs."wsock32" or (sysDepError "wsock32")) - (pkgs."user32" or (sysDepError "user32")) - (pkgs."shell32" or (sysDepError "shell32")) - (pkgs."msvcrt" or (sysDepError "msvcrt")) - (pkgs."mingw32" or (sysDepError "mingw32")) - (pkgs."mingwex" or (sysDepError "mingwex")) + (pkgs."wsock32" or (errorHandler.sysDepError "wsock32")) + (pkgs."user32" or (errorHandler.sysDepError "user32")) + (pkgs."shell32" or (errorHandler.sysDepError "shell32")) + (pkgs."msvcrt" or (errorHandler.sysDepError "msvcrt")) + (pkgs."mingw32" or (errorHandler.sysDepError "mingw32")) + (pkgs."mingwex" or (errorHandler.sysDepError "mingwex")) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc865/bytestring.nix b/materialized/ghc-boot-packages-nix/ghc865/bytestring.nix index 4b7e3b75..61d75761 100644 --- a/materialized/ghc-boot-packages-nix/ghc865/bytestring.nix +++ b/materialized/ghc-boot-packages-nix/ghc865/bytestring.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { integer-simple = false; }; package = { @@ -56,53 +25,53 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer")); buildable = true; }; tests = { "prop-compiled" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) ]; buildable = true; }; "regressions" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) ]; buildable = false; }; "test-builder" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc865/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc865/ghc-boot.nix index 3f19f1d0..975dd031 100644 --- a/materialized/ghc-boot-packages-nix/ghc865/ghc-boot.nix +++ b/materialized/ghc-boot-packages-nix/ghc865/ghc-boot.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -56,12 +25,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc865/ghc-heap.nix b/materialized/ghc-boot-packages-nix/ghc865/ghc-heap.nix index 854fddbd..bdc95c8c 100644 --- a/materialized/ghc-boot-packages-nix/ghc865/ghc-heap.nix +++ b/materialized/ghc-boot-packages-nix/ghc865/ghc-heap.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -56,9 +25,9 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."rts" or (buildDepError "rts")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc865/ghc.nix b/materialized/ghc-boot-packages-nix/ghc865/ghc.nix index a2e6571b..30f708ab 100644 --- a/materialized/ghc-boot-packages-nix/ghc865/ghc.nix +++ b/materialized/ghc-boot-packages-nix/ghc865/ghc.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; @@ -62,31 +31,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo"))); + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo"))); build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) + (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex"))) + (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy"))) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc865/ghci.nix b/materialized/ghc-boot-packages-nix/ghc865/ghci.nix index 26eb87b4..45643a7a 100644 --- a/materialized/ghc-boot-packages-nix/ghc865/ghci.nix +++ b/materialized/ghc-boot-packages-nix/ghc865/ghci.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; }; package = { @@ -56,19 +25,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; }; }; diff --git a/materialized/ghc-boot-packages-nix/ghc865/iserv-proxy.nix b/materialized/ghc-boot-packages-nix/ghc865/iserv-proxy.nix index 1c7a1b8c..15f2f8b6 100644 --- a/materialized/ghc-boot-packages-nix/ghc865/iserv-proxy.nix +++ b/materialized/ghc-boot-packages-nix/ghc865/iserv-proxy.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -57,17 +26,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv-proxy" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc865/iserv.nix b/materialized/ghc-boot-packages-nix/ghc865/iserv.nix index 80af951e..99416596 100644 --- a/materialized/ghc-boot-packages-nix/ghc865/iserv.nix +++ b/materialized/ghc-boot-packages-nix/ghc865/iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -57,15 +26,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; }; }; diff --git a/materialized/ghc-boot-packages-nix/ghc865/libiserv.nix b/materialized/ghc-boot-packages-nix/ghc865/libiserv.nix index 68595a5a..099738b0 100644 --- a/materialized/ghc-boot-packages-nix/ghc865/libiserv.nix +++ b/materialized/ghc-boot-packages-nix/ghc865/libiserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { network = false; }; package = { @@ -56,17 +25,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; }; }; diff --git a/materialized/ghc-boot-packages-nix/ghc865/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc865/remote-iserv.nix index b03b7b0f..3d2dd67d 100644 --- a/materialized/ghc-boot-packages-nix/ghc865/remote-iserv.nix +++ b/materialized/ghc-boot-packages-nix/ghc865/remote-iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -57,8 +26,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "remote-iserv" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc882/bytestring.nix b/materialized/ghc-boot-packages-nix/ghc882/bytestring.nix deleted file mode 100644 index 3bd5ec50..00000000 --- a/materialized/ghc-boot-packages-nix/ghc882/bytestring.nix +++ /dev/null @@ -1,111 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { integer-simple = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "bytestring"; version = "0.10.10.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright (c) Don Stewart 2005-2009,\n(c) Duncan Coutts 2006-2015,\n(c) David Roundy 2003-2005,\n(c) Jasper Van der Jeugt 2010,\n(c) Simon Meier 2010-2013."; - maintainer = "Duncan Coutts "; - author = "Don Stewart,\nDuncan Coutts"; - homepage = "https://github.com/haskell/bytestring"; - url = ""; - synopsis = "Fast, compact, strict and lazy byte strings with a list interface"; - description = "An efficient compact, immutable byte string type (both strict and lazy)\nsuitable for binary or 8-bit character data.\n\nThe 'ByteString' type represents sequences of bytes or 8-bit characters.\nIt is suitable for high performance use, both in terms of large data\nquantities, or high speed requirements. The 'ByteString' functions follow\nthe same style as Haskell\\'s ordinary lists, so it is easy to convert code\nfrom using 'String' to 'ByteString'.\n\nTwo 'ByteString' variants are provided:\n\n* Strict 'ByteString's keep the string as a single large array. This\nmakes them convenient for passing data between C and Haskell.\n\n* Lazy 'ByteString's use a lazy list of strict chunks which makes it\nsuitable for I\\/O streaming tasks.\n\nThe @Char8@ modules provide a character-based view of the same\nunderlying 'ByteString' types. This makes it convenient to handle mixed\nbinary and 8-bit character content (which is common in many file formats\nand network protocols).\n\nThe 'Builder' module provides an efficient way to build up 'ByteString's\nin an ad-hoc way by repeated concatenation. This is ideal for fast\nserialisation or pretty printing.\n\nThere is also a 'ShortByteString' type which has a lower memory overhead\nand can can be converted to or from a 'ByteString', but supports very few\nother operations. It is suitable for keeping many short strings in memory.\n\n'ByteString's are not designed for Unicode. For Unicode strings you should\nuse the 'Text' type from the @text@ package.\n\nThese modules are intended to be imported qualified, to avoid name clashes\nwith \"Prelude\" functions, e.g.\n\n> import qualified Data.ByteString as BS"; - buildType = "Simple"; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); - buildable = true; - }; - tests = { - "prop-compiled" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - ]; - buildable = true; - }; - "regressions" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - ]; - buildable = false; - }; - "test-builder" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - ]; - buildable = true; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc882/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc882/ghc-boot.nix deleted file mode 100644 index c44fc128..00000000 --- a/materialized/ghc-boot-packages-nix/ghc882/ghc-boot.nix +++ /dev/null @@ -1,69 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.22"; - identifier = { name = "ghc-boot"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Shared functionality between GHC and its boot libraries"; - description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n\nA note about \"GHC.PackageDb\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - ]; - buildable = true; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc882/ghc.nix b/materialized/ghc-boot-packages-nix/ghc882/ghc.nix deleted file mode 100644 index e8a6a8ab..00000000 --- a/materialized/ghc-boot-packages-nix/ghc882/ghc.nix +++ /dev/null @@ -1,96 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { - ghci = false; - stage1 = false; - stage2 = true; - stage3 = false; - terminfo = true; - integer-simple = false; - integer-gmp = false; - }; - package = { - specVersion = "1.10"; - identifier = { name = "ghc"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "glasgow-haskell-users@haskell.org"; - author = "The GHC Team"; - homepage = "http://www.haskell.org/ghc/"; - url = ""; - synopsis = "The GHC API"; - description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = ((([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] - else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple")); - build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) - ]; - buildable = true; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc882/ghci.nix b/materialized/ghc-boot-packages-nix/ghc882/ghci.nix deleted file mode 100644 index 6159f876..00000000 --- a/materialized/ghc-boot-packages-nix/ghc882/ghci.nix +++ /dev/null @@ -1,75 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { ghci = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "ghci"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "The library supporting GHC's interactive interpreter"; - description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc882/iserv-proxy.nix b/materialized/ghc-boot-packages-nix/ghc882/iserv-proxy.nix deleted file mode 100644 index 3f7d88e2..00000000 --- a/materialized/ghc-boot-packages-nix/ghc882/iserv-proxy.nix +++ /dev/null @@ -1,76 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "iserv-proxy"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Tempalte Haskell computations"; - description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\niserv can also be used in combination with cross compilation. For\nthis, the @iserv-proxy@ needs to be built on the host, targeting the\nhost (as it is running on the host). @cabal install -flibrary\n-fproxy@ will yield the proxy.\n\nUsing the cabal for the target @arch-platform-target-cabal install\n-flibrary@ will build the required library that contains the ffi\n@startSlave@ function, which needs to be invoked on the target\n(e.g. in an iOS application) to start the remote iserv slave.\n\ncalling the GHC cross compiler with @-fexternal-interpreter\n-pgmi=\$HOME/.cabal/bin/iserv-proxy -opti\\ -opti\\@\nwill cause it to compile Template Haskell via the remote at \\.\n\nThus to get cross compilation with Template Haskell follow the\nfollowing receipt:\n\n* compile the iserv library for your target\n\n> iserv \$ arch-platform-target-cabal install -flibrary\n\n* setup an application for your target that calls the\n* startSlave function. This could be either haskell or your\n* targets ffi capable language, if needed.\n\n> void startSlave(false /* verbose */, 5000 /* port */,\n> \"/path/to/storagelocation/on/target\");\n\n* build the iserv-proxy\n\n> iserv \$ cabal install -flibrary -fproxy\n* Start your iserv-slave app on your target running on say @10.0.0.1:5000@\n* compiler your sources with -fexternal-interpreter and the proxy\n\n> project \$ arch-platform-target-ghc ModuleContainingTH.hs \\\n> -fexternal-interpreter \\\n> -pgmi=\$HOME/.cabal/bin/iserv-proxy \\\n> -opti10.0.0.1 -opti5000\n\nShould something not work as expected, provide @-opti-v@ for verbose\nlogging of the @iserv-proxy@."; - buildType = "Simple"; - }; - components = { - exes = { - "iserv-proxy" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ]; - buildable = true; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc882/iserv.nix b/materialized/ghc-boot-packages-nix/ghc882/iserv.nix deleted file mode 100644 index 64c50fde..00000000 --- a/materialized/ghc-boot-packages-nix/ghc882/iserv.nix +++ /dev/null @@ -1,73 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "iserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Template Haskell computations"; - description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@."; - buildType = "Simple"; - }; - components = { - exes = { - "iserv" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc882/libiserv.nix b/materialized/ghc-boot-packages-nix/ghc882/libiserv.nix deleted file mode 100644 index 2b2106de..00000000 --- a/materialized/ghc-boot-packages-nix/ghc882/libiserv.nix +++ /dev/null @@ -1,73 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { network = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "libiserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "Provides shared functionality between iserv and iserv-proxy"; - description = ""; - buildType = "Simple"; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc882/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc882/remote-iserv.nix deleted file mode 100644 index 549afe30..00000000 --- a/materialized/ghc-boot-packages-nix/ghc882/remote-iserv.nix +++ /dev/null @@ -1,67 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "remote-iserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "Moritz Angermann "; - author = "Moritz Angermann "; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Tempalte Haskell computations"; - description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect."; - buildType = "Simple"; - }; - components = { - exes = { - "remote-iserv" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ]; - buildable = true; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ./.; } diff --git a/materialized/ghc-boot-packages-nix/ghc883/bytestring.nix b/materialized/ghc-boot-packages-nix/ghc883/bytestring.nix index 3bd5ec50..8ae6e43d 100644 --- a/materialized/ghc-boot-packages-nix/ghc883/bytestring.nix +++ b/materialized/ghc-boot-packages-nix/ghc883/bytestring.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { integer-simple = false; }; package = { @@ -56,53 +25,53 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer")); buildable = true; }; tests = { "prop-compiled" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) ]; buildable = true; }; "regressions" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) ]; buildable = false; }; "test-builder" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc883/ghc-boot.nix b/materialized/ghc-boot-packages-nix/ghc883/ghc-boot.nix index 6e392bb3..40539150 100644 --- a/materialized/ghc-boot-packages-nix/ghc883/ghc-boot.nix +++ b/materialized/ghc-boot-packages-nix/ghc883/ghc-boot.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -56,12 +25,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc883/ghc.nix b/materialized/ghc-boot-packages-nix/ghc883/ghc.nix index 16d3caee..9ef55845 100644 --- a/materialized/ghc-boot-packages-nix/ghc883/ghc.nix +++ b/materialized/ghc-boot-packages-nix/ghc883/ghc.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; @@ -64,31 +33,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ((([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple")); + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (errorHandler.buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple")); build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) + (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex"))) + (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy"))) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc883/ghci.nix b/materialized/ghc-boot-packages-nix/ghc883/ghci.nix index 2dc4a9de..68517847 100644 --- a/materialized/ghc-boot-packages-nix/ghc883/ghci.nix +++ b/materialized/ghc-boot-packages-nix/ghc883/ghci.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; }; package = { @@ -56,19 +25,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; }; }; diff --git a/materialized/ghc-boot-packages-nix/ghc883/iserv-proxy.nix b/materialized/ghc-boot-packages-nix/ghc883/iserv-proxy.nix index 2e7aa3cd..580a1478 100644 --- a/materialized/ghc-boot-packages-nix/ghc883/iserv-proxy.nix +++ b/materialized/ghc-boot-packages-nix/ghc883/iserv-proxy.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -57,17 +26,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv-proxy" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; }; diff --git a/materialized/ghc-boot-packages-nix/ghc883/iserv.nix b/materialized/ghc-boot-packages-nix/ghc883/iserv.nix index f27fb5d5..47aa73be 100644 --- a/materialized/ghc-boot-packages-nix/ghc883/iserv.nix +++ b/materialized/ghc-boot-packages-nix/ghc883/iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -57,15 +26,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; }; }; diff --git a/materialized/ghc-boot-packages-nix/ghc883/libiserv.nix b/materialized/ghc-boot-packages-nix/ghc883/libiserv.nix index 288dfe4b..3f5c3357 100644 --- a/materialized/ghc-boot-packages-nix/ghc883/libiserv.nix +++ b/materialized/ghc-boot-packages-nix/ghc883/libiserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { network = false; }; package = { @@ -56,17 +25,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; }; }; diff --git a/materialized/ghc-boot-packages-nix/ghc883/remote-iserv.nix b/materialized/ghc-boot-packages-nix/ghc883/remote-iserv.nix index e6821307..ca3cd007 100644 --- a/materialized/ghc-boot-packages-nix/ghc883/remote-iserv.nix +++ b/materialized/ghc-boot-packages-nix/ghc883/remote-iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -57,8 +26,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "remote-iserv" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; }; diff --git a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/bytestring.nix index ed66c6e1..bea46679 100644 --- a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/bytestring.nix +++ b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/bytestring.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { integer-simple = false; }; package = { @@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer")); buildable = true; modules = [ "Data/ByteString/Builder/ASCII" @@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: tests = { "prop-compiled" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) ]; buildable = true; modules = [ "Rules" "QuickCheckUtils" "TestFramework" ]; @@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "regressions" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) ]; buildable = false; cSources = [ "cbits/fpstring.c" ]; @@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "test-builder" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghc-boot.nix index 7e7303cc..06f2b8ed 100644 --- a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghc-boot.nix +++ b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghc-boot.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghc.nix index 9b596ec3..33a43c6e 100644 --- a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghc.nix +++ b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghc.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; @@ -75,31 +44,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo"))); + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo"))); build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) + (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex"))) + (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy"))) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghci.nix index 20db8db3..d68abb04 100644 --- a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghci.nix +++ b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/ghci.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; }; package = { @@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "GHCi/BreakArray" diff --git a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/iserv-proxy.nix index b45df10e..4490f122 100644 --- a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/iserv-proxy.nix +++ b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/iserv-proxy.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv-proxy" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/iserv.nix index 151b0a36..766b35f0 100644 --- a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/iserv.nix +++ b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; cSources = [ "cbits/iservmain.c" ]; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/libiserv.nix index e2a10045..ba166974 100644 --- a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/libiserv.nix +++ b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/libiserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { network = false; }; package = { @@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "Lib" diff --git a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/remote-iserv.nix index 14052d61..6020298a 100644 --- a/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/remote-iserv.nix +++ b/materialized/ghc-extra-projects/cross/ghc865/.plan.nix/remote-iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "remote-iserv" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/bytestring.nix deleted file mode 100644 index 7be896a4..00000000 --- a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/bytestring.nix +++ /dev/null @@ -1,167 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { integer-simple = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "bytestring"; version = "0.10.10.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright (c) Don Stewart 2005-2009,\n(c) Duncan Coutts 2006-2015,\n(c) David Roundy 2003-2005,\n(c) Jasper Van der Jeugt 2010,\n(c) Simon Meier 2010-2013."; - maintainer = "Duncan Coutts "; - author = "Don Stewart,\nDuncan Coutts"; - homepage = "https://github.com/haskell/bytestring"; - url = ""; - synopsis = "Fast, compact, strict and lazy byte strings with a list interface"; - description = "An efficient compact, immutable byte string type (both strict and lazy)\nsuitable for binary or 8-bit character data.\n\nThe 'ByteString' type represents sequences of bytes or 8-bit characters.\nIt is suitable for high performance use, both in terms of large data\nquantities, or high speed requirements. The 'ByteString' functions follow\nthe same style as Haskell\\'s ordinary lists, so it is easy to convert code\nfrom using 'String' to 'ByteString'.\n\nTwo 'ByteString' variants are provided:\n\n* Strict 'ByteString's keep the string as a single large array. This\nmakes them convenient for passing data between C and Haskell.\n\n* Lazy 'ByteString's use a lazy list of strict chunks which makes it\nsuitable for I\\/O streaming tasks.\n\nThe @Char8@ modules provide a character-based view of the same\nunderlying 'ByteString' types. This makes it convenient to handle mixed\nbinary and 8-bit character content (which is common in many file formats\nand network protocols).\n\nThe 'Builder' module provides an efficient way to build up 'ByteString's\nin an ad-hoc way by repeated concatenation. This is ideal for fast\nserialisation or pretty printing.\n\nThere is also a 'ShortByteString' type which has a lower memory overhead\nand can can be converted to or from a 'ByteString', but supports very few\nother operations. It is suitable for keeping many short strings in memory.\n\n'ByteString's are not designed for Unicode. For Unicode strings you should\nuse the 'Text' type from the @text@ package.\n\nThese modules are intended to be imported qualified, to avoid name clashes\nwith \"Prelude\" functions, e.g.\n\n> import qualified Data.ByteString as BS"; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "README.md" "Changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); - buildable = true; - modules = [ - "Data/ByteString/Builder/ASCII" - "Data/ByteString/Builder/Prim/Binary" - "Data/ByteString/Builder/Prim/ASCII" - "Data/ByteString/Builder/Prim/Internal/Floating" - "Data/ByteString/Builder/Prim/Internal/UncheckedShifts" - "Data/ByteString/Builder/Prim/Internal/Base16" - "Data/ByteString" - "Data/ByteString/Char8" - "Data/ByteString/Unsafe" - "Data/ByteString/Internal" - "Data/ByteString/Lazy" - "Data/ByteString/Lazy/Char8" - "Data/ByteString/Lazy/Internal" - "Data/ByteString/Short" - "Data/ByteString/Short/Internal" - "Data/ByteString/Builder" - "Data/ByteString/Builder/Extra" - "Data/ByteString/Builder/Prim" - "Data/ByteString/Builder/Internal" - "Data/ByteString/Builder/Prim/Internal" - "Data/ByteString/Lazy/Builder" - "Data/ByteString/Lazy/Builder/Extras" - "Data/ByteString/Lazy/Builder/ASCII" - ]; - cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ]; - includeDirs = [ "include" ]; - includes = [ "fpstring.h" ]; - }; - tests = { - "prop-compiled" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - ]; - buildable = true; - modules = [ "Rules" "QuickCheckUtils" "TestFramework" ]; - cSources = [ "cbits/fpstring.c" ]; - hsSourceDirs = [ "." "tests" ]; - includeDirs = [ "include" ]; - mainPath = [ "Properties.hs" ]; - }; - "regressions" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - ]; - buildable = false; - cSources = [ "cbits/fpstring.c" ]; - hsSourceDirs = [ "." "tests" ]; - includeDirs = [ "include" ]; - mainPath = [ "Regressions.hs" ]; - }; - "test-builder" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - ]; - buildable = true; - modules = [ - "Data/ByteString/Builder/Tests" - "Data/ByteString/Builder/Prim/Tests" - "Data/ByteString/Builder/Prim/TestUtils" - "TestFramework" - ]; - cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ]; - hsSourceDirs = [ "." "tests" "tests/builder" ]; - includeDirs = [ "include" ]; - includes = [ "fpstring.h" ]; - mainPath = [ "TestSuite.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/bytestring; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghc-boot.nix deleted file mode 100644 index e2c9429f..00000000 --- a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghc-boot.nix +++ /dev/null @@ -1,84 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.22"; - identifier = { name = "ghc-boot"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Shared functionality between GHC and its boot libraries"; - description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n\nA note about \"GHC.PackageDb\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - ]; - buildable = true; - modules = [ - "GHC/LanguageExtensions" - "GHC/PackageDb" - "GHC/Serialized" - "GHC/ForeignSrcLang" - "GHC/HandleEncoding" - ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/ghc-boot; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghc.nix deleted file mode 100644 index c470c2f6..00000000 --- a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghc.nix +++ /dev/null @@ -1,608 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { - ghci = false; - stage1 = false; - stage2 = true; - stage3 = false; - terminfo = true; - integer-simple = false; - integer-gmp = false; - }; - package = { - specVersion = "1.10"; - identifier = { name = "ghc"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "glasgow-haskell-users@haskell.org"; - author = "The GHC Team"; - homepage = "http://www.haskell.org/ghc/"; - url = ""; - synopsis = "The GHC API"; - description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ - "utils/md5.h" - "Unique.h" - "nativeGen/NCG.h" - "parser/cutils.h" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = ((([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] - else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple")); - build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) - ]; - buildable = true; - modules = [ - "GhcPrelude" - "HieTypes" - "HieDebug" - "HieBin" - "HieUtils" - "HieAst" - "Ar" - "FileCleanup" - "DriverBkp" - "BkpSyn" - "NameShape" - "RnModIface" - "Avail" - "AsmUtils" - "BasicTypes" - "ConLike" - "DataCon" - "PatSyn" - "Demand" - "Debug" - "Exception" - "FieldLabel" - "GhcMonad" - "Hooks" - "Id" - "IdInfo" - "Lexeme" - "Literal" - "Llvm" - "Llvm/AbsSyn" - "Llvm/MetaData" - "Llvm/PpLlvm" - "Llvm/Types" - "LlvmCodeGen" - "LlvmCodeGen/Base" - "LlvmCodeGen/CodeGen" - "LlvmCodeGen/Data" - "LlvmCodeGen/Ppr" - "LlvmCodeGen/Regs" - "LlvmMangler" - "MkId" - "Module" - "Name" - "NameEnv" - "NameSet" - "OccName" - "RdrName" - "NameCache" - "SrcLoc" - "UniqSupply" - "Unique" - "Var" - "VarEnv" - "VarSet" - "UnVarGraph" - "BlockId" - "CLabel" - "Cmm" - "CmmBuildInfoTables" - "CmmPipeline" - "CmmCallConv" - "CmmCommonBlockElim" - "CmmImplementSwitchPlans" - "CmmContFlowOpt" - "CmmExpr" - "CmmInfo" - "CmmLex" - "CmmLint" - "CmmLive" - "CmmMachOp" - "CmmMonad" - "CmmSwitch" - "CmmNode" - "CmmOpt" - "CmmParse" - "CmmProcPoint" - "CmmSink" - "CmmType" - "CmmUtils" - "CmmLayoutStack" - "EnumSet" - "MkGraph" - "PprBase" - "PprC" - "PprCmm" - "PprCmmDecl" - "PprCmmExpr" - "Bitmap" - "CodeGen/Platform" - "CodeGen/Platform/ARM" - "CodeGen/Platform/ARM64" - "CodeGen/Platform/NoRegs" - "CodeGen/Platform/PPC" - "CodeGen/Platform/SPARC" - "CodeGen/Platform/X86" - "CodeGen/Platform/X86_64" - "CgUtils" - "StgCmm" - "StgCmmBind" - "StgCmmClosure" - "StgCmmCon" - "StgCmmEnv" - "StgCmmExpr" - "StgCmmForeign" - "StgCmmHeap" - "StgCmmHpc" - "StgCmmArgRep" - "StgCmmLayout" - "StgCmmMonad" - "StgCmmPrim" - "StgCmmProf" - "StgCmmTicky" - "StgCmmUtils" - "StgCmmExtCode" - "SMRep" - "CoreArity" - "CoreFVs" - "CoreLint" - "CorePrep" - "CoreSubst" - "CoreOpt" - "CoreSyn" - "TrieMap" - "CoreTidy" - "CoreUnfold" - "CoreUtils" - "CoreMap" - "CoreSeq" - "CoreStats" - "MkCore" - "PprCore" - "PmExpr" - "TmOracle" - "Check" - "Coverage" - "Desugar" - "DsArrows" - "DsBinds" - "DsCCall" - "DsExpr" - "DsForeign" - "DsGRHSs" - "DsListComp" - "DsMonad" - "DsUsage" - "DsUtils" - "ExtractDocs" - "Match" - "MatchCon" - "MatchLit" - "HsBinds" - "HsDecls" - "HsDoc" - "HsExpr" - "HsImpExp" - "HsLit" - "PlaceHolder" - "HsExtension" - "HsInstances" - "HsPat" - "HsSyn" - "HsTypes" - "HsUtils" - "HsDumpAst" - "BinIface" - "BinFingerprint" - "BuildTyCl" - "IfaceEnv" - "IfaceSyn" - "IfaceType" - "ToIface" - "LoadIface" - "MkIface" - "TcIface" - "FlagChecker" - "Annotations" - "CmdLineParser" - "CodeOutput" - "Config" - "Constants" - "DriverMkDepend" - "DriverPhases" - "PipelineMonad" - "DriverPipeline" - "DynFlags" - "ErrUtils" - "Finder" - "GHC" - "GhcMake" - "GhcPlugins" - "DynamicLoading" - "HeaderInfo" - "HscMain" - "HscStats" - "HscTypes" - "InteractiveEval" - "InteractiveEvalTypes" - "PackageConfig" - "Packages" - "PlatformConstants" - "Plugins" - "TcPluginM" - "PprTyThing" - "StaticPtrTable" - "SysTools" - "SysTools/BaseDir" - "SysTools/Terminal" - "SysTools/ExtraObj" - "SysTools/Info" - "SysTools/Process" - "SysTools/Tasks" - "Elf" - "TidyPgm" - "Ctype" - "HaddockUtils" - "Lexer" - "OptCoercion" - "Parser" - "RdrHsSyn" - "ApiAnnotation" - "ForeignCall" - "KnownUniques" - "PrelInfo" - "PrelNames" - "PrelRules" - "PrimOp" - "TysPrim" - "TysWiredIn" - "CostCentre" - "CostCentreState" - "ProfInit" - "RnBinds" - "RnEnv" - "RnExpr" - "RnHsDoc" - "RnNames" - "RnPat" - "RnSource" - "RnSplice" - "RnTypes" - "RnFixity" - "RnUtils" - "RnUnbound" - "CoreMonad" - "CSE" - "FloatIn" - "FloatOut" - "LiberateCase" - "OccurAnal" - "SAT" - "SetLevels" - "SimplCore" - "SimplEnv" - "SimplMonad" - "SimplUtils" - "Simplify" - "SimplStg" - "StgStats" - "StgCse" - "StgLiftLams" - "StgLiftLams/Analysis" - "StgLiftLams/LiftM" - "StgLiftLams/Transformation" - "StgSubst" - "UnariseStg" - "RepType" - "Rules" - "SpecConstr" - "Specialise" - "CoreToStg" - "StgLint" - "StgSyn" - "StgFVs" - "CallArity" - "DmdAnal" - "Exitify" - "WorkWrap" - "WwLib" - "FamInst" - "ClsInst" - "Inst" - "TcAnnotations" - "TcArrows" - "TcBinds" - "TcSigs" - "TcClassDcl" - "TcDefaults" - "TcDeriv" - "TcDerivInfer" - "TcDerivUtils" - "TcEnv" - "TcExpr" - "TcForeign" - "TcGenDeriv" - "TcGenFunctor" - "TcGenGenerics" - "TcHsSyn" - "TcHsType" - "TcInstDcls" - "TcMType" - "TcValidity" - "TcMatches" - "TcPat" - "TcPatSyn" - "TcRnDriver" - "TcBackpack" - "TcRnExports" - "TcRnMonad" - "TcRnTypes" - "TcRules" - "TcSimplify" - "TcHoleErrors" - "TcErrors" - "TcTyClsDecls" - "TcTyDecls" - "TcTypeable" - "TcTypeableValidity" - "TcType" - "TcEvidence" - "TcEvTerm" - "TcUnify" - "TcInteract" - "TcCanonical" - "TcFlatten" - "TcSMonad" - "TcTypeNats" - "TcSplice" - "Class" - "Coercion" - "DsMeta" - "THNames" - "FamInstEnv" - "FunDeps" - "InstEnv" - "TyCon" - "CoAxiom" - "Kind" - "Type" - "TyCoRep" - "Unify" - "Bag" - "Binary" - "BooleanFormula" - "BufWrite" - "Digraph" - "Encoding" - "FastFunctions" - "FastMutInt" - "FastString" - "FastStringEnv" - "Fingerprint" - "FiniteMap" - "FV" - "GraphBase" - "GraphColor" - "GraphOps" - "GraphPpr" - "IOEnv" - "Json" - "ListSetOps" - "ListT" - "Maybes" - "MonadUtils" - "OrdList" - "Outputable" - "Pair" - "Panic" - "PlainPanic" - "PprColour" - "Pretty" - "State" - "Stream" - "StringBuffer" - "UniqDFM" - "UniqDSet" - "UniqFM" - "UniqMap" - "UniqSet" - "Util" - "Hoopl/Block" - "Hoopl/Collections" - "Hoopl/Dataflow" - "Hoopl/Graph" - "Hoopl/Label" - "AsmCodeGen" - "TargetReg" - "NCGMonad" - "Instruction" - "BlockLayout" - "CFG" - "Format" - "Reg" - "RegClass" - "PIC" - "Platform" - "CPrim" - "X86/Regs" - "X86/RegInfo" - "X86/Instr" - "X86/Cond" - "X86/Ppr" - "X86/CodeGen" - "PPC/Regs" - "PPC/RegInfo" - "PPC/Instr" - "PPC/Cond" - "PPC/Ppr" - "PPC/CodeGen" - "SPARC/Base" - "SPARC/Regs" - "SPARC/Imm" - "SPARC/AddrMode" - "SPARC/Cond" - "SPARC/Instr" - "SPARC/Stack" - "SPARC/ShortcutJump" - "SPARC/Ppr" - "SPARC/CodeGen" - "SPARC/CodeGen/Amode" - "SPARC/CodeGen/Base" - "SPARC/CodeGen/CondCode" - "SPARC/CodeGen/Gen32" - "SPARC/CodeGen/Gen64" - "SPARC/CodeGen/Sanity" - "SPARC/CodeGen/Expand" - "RegAlloc/Liveness" - "RegAlloc/Graph/Main" - "RegAlloc/Graph/Stats" - "RegAlloc/Graph/ArchBase" - "RegAlloc/Graph/ArchX86" - "RegAlloc/Graph/Coalesce" - "RegAlloc/Graph/Spill" - "RegAlloc/Graph/SpillClean" - "RegAlloc/Graph/SpillCost" - "RegAlloc/Graph/TrivColorable" - "RegAlloc/Linear/Main" - "RegAlloc/Linear/JoinToTargets" - "RegAlloc/Linear/State" - "RegAlloc/Linear/Stats" - "RegAlloc/Linear/FreeRegs" - "RegAlloc/Linear/StackMap" - "RegAlloc/Linear/Base" - "RegAlloc/Linear/X86/FreeRegs" - "RegAlloc/Linear/X86_64/FreeRegs" - "RegAlloc/Linear/PPC/FreeRegs" - "RegAlloc/Linear/SPARC/FreeRegs" - "Dwarf" - "Dwarf/Types" - "Dwarf/Constants" - "Convert" - "ByteCodeTypes" - "ByteCodeAsm" - "ByteCodeGen" - "ByteCodeInstr" - "ByteCodeItbls" - "ByteCodeLink" - "Debugger" - "Linker" - "RtClosureInspect" - "GHCi" - ]; - cSources = [ - "parser/cutils.c" - "ghci/keepCAFsForGHCi.c" - "cbits/genSym.c" - ]; - hsSourceDirs = [ - "backpack" - "basicTypes" - "cmm" - "codeGen" - "coreSyn" - "deSugar" - "ghci" - "hsSyn" - "iface" - "llvmGen" - "main" - "nativeGen" - "parser" - "prelude" - "profiling" - "rename" - "simplCore" - "simplStg" - "specialise" - "stgSyn" - "stranal" - "typecheck" - "types" - "utils" - "hieFile" - ]; - includeDirs = [ - "." - "parser" - "utils" - ] ++ (pkgs.lib).optional (flags.ghci) "../rts/dist/build"; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../compiler; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghci.nix deleted file mode 100644 index b991f2cb..00000000 --- a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/ghci.nix +++ /dev/null @@ -1,101 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { ghci = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "ghci"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "The library supporting GHC's interactive interpreter"; - description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - modules = [ - "GHCi/BreakArray" - "GHCi/BinaryArray" - "GHCi/Message" - "GHCi/ResolvedBCO" - "GHCi/RemoteTypes" - "GHCi/FFI" - "GHCi/InfoTable" - "GHCi/StaticPtrTable" - "GHCi/TH/Binary" - "SizedSeq" - ] ++ (pkgs.lib).optionals (flags.ghci) [ - "GHCi/Run" - "GHCi/CreateBCO" - "GHCi/ObjLink" - "GHCi/Signals" - "GHCi/TH" - ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/ghci; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/iserv-proxy.nix deleted file mode 100644 index 488b6cfb..00000000 --- a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/iserv-proxy.nix +++ /dev/null @@ -1,86 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "iserv-proxy"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Tempalte Haskell computations"; - description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\niserv can also be used in combination with cross compilation. For\nthis, the @iserv-proxy@ needs to be built on the host, targeting the\nhost (as it is running on the host). @cabal install -flibrary\n-fproxy@ will yield the proxy.\n\nUsing the cabal for the target @arch-platform-target-cabal install\n-flibrary@ will build the required library that contains the ffi\n@startSlave@ function, which needs to be invoked on the target\n(e.g. in an iOS application) to start the remote iserv slave.\n\ncalling the GHC cross compiler with @-fexternal-interpreter\n-pgmi=\$HOME/.cabal/bin/iserv-proxy -opti\\ -opti\\@\nwill cause it to compile Template Haskell via the remote at \\.\n\nThus to get cross compilation with Template Haskell follow the\nfollowing receipt:\n\n* compile the iserv library for your target\n\n> iserv \$ arch-platform-target-cabal install -flibrary\n\n* setup an application for your target that calls the\n* startSlave function. This could be either haskell or your\n* targets ffi capable language, if needed.\n\n> void startSlave(false /* verbose */, 5000 /* port */,\n> \"/path/to/storagelocation/on/target\");\n\n* build the iserv-proxy\n\n> iserv \$ cabal install -flibrary -fproxy\n* Start your iserv-slave app on your target running on say @10.0.0.1:5000@\n* compiler your sources with -fexternal-interpreter and the proxy\n\n> project \$ arch-platform-target-ghc ModuleContainingTH.hs \\\n> -fexternal-interpreter \\\n> -pgmi=\$HOME/.cabal/bin/iserv-proxy \\\n> -opti10.0.0.1 -opti5000\n\nShould something not work as expected, provide @-opti-v@ for verbose\nlogging of the @iserv-proxy@."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "iserv-proxy" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ]; - buildable = true; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../utils/iserv-proxy; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/iserv.nix deleted file mode 100644 index 394add1a..00000000 --- a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/iserv.nix +++ /dev/null @@ -1,85 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "iserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Template Haskell computations"; - description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "iserv" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - cSources = [ "cbits/iservmain.c" ]; - hsSourceDirs = [ "src" ]; - includeDirs = [ "." ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../utils/iserv; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/libiserv.nix deleted file mode 100644 index 4e3b49aa..00000000 --- a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/libiserv.nix +++ /dev/null @@ -1,89 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { network = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "libiserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "Provides shared functionality between iserv and iserv-proxy"; - description = ""; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - modules = [ - "Lib" - "GHCi/Utils" - ] ++ (pkgs.lib).optionals (flags.network) [ - "Remote/Message" - "Remote/Slave" - ]; - hsSourceDirs = [ "src" ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/libiserv; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/remote-iserv.nix deleted file mode 100644 index e86d435c..00000000 --- a/materialized/ghc-extra-projects/cross/ghc882/.plan.nix/remote-iserv.nix +++ /dev/null @@ -1,77 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "remote-iserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "Moritz Angermann "; - author = "Moritz Angermann "; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Tempalte Haskell computations"; - description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "remote-iserv" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ]; - buildable = true; - hsSourceDirs = [ "src" ]; - mainPath = [ "Cli.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../utils/remote-iserv; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/cross/ghc882/default.nix b/materialized/ghc-extra-projects/cross/ghc882/default.nix deleted file mode 100644 index 4a1a93fd..00000000 --- a/materialized/ghc-extra-projects/cross/ghc882/default.nix +++ /dev/null @@ -1,94 +0,0 @@ -{ - 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.8.2").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.5").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.15.0.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "time".revision = (((hackage."time")."1.9.3").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.19.12").revisions).default; - "happy".flags.small_base = true; - "hpc".revision = (((hackage."hpc")."0.6.0.3").revisions).default; - "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; - "process".revision = (((hackage."process")."1.6.8.2").revisions).default; - "pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default; - "ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.8.2").revisions).default; - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - }; - compiler = { - version = "8.8.2"; - nix-name = "ghc882"; - packages = { - "ghc-prim" = "0.5.3"; - "ghc-heap" = "8.8.2"; - "mtl" = "2.2.2"; - "rts" = "1.0"; - "deepseq" = "1.4.4.0"; - "template-haskell" = "2.15.0.0"; - "containers" = "0.6.2.1"; - "base" = "4.13.0.0"; - "time" = "1.9.3"; - "transformers" = "0.5.6.2"; - "filepath" = "1.4.2.1"; - "pretty" = "1.1.3.6"; - "ghc-boot-th" = "8.8.2"; - "array" = "0.5.4.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; - 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; - "integer-gmp" = lib.mkOverride 900 false; - "stage3" = lib.mkOverride 900 false; - "ghci" = lib.mkOverride 900 true; - "integer-simple" = lib.mkOverride 900 false; - "terminfo" = lib.mkOverride 900 true; - }; - }; - "bytestring" = { - flags = { "integer-simple" = lib.mkOverride 900 false; }; - }; - "remote-iserv" = { flags = {}; }; - "iserv-proxy" = { flags = {}; }; - "libiserv" = { flags = { "network" = lib.mkOverride 900 true; }; }; - "ghc-boot" = { flags = {}; }; - "ghci" = { flags = { "ghci" = lib.mkOverride 900 true; }; }; - "iserv" = { flags = {}; }; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/bytestring.nix index 7be896a4..cb9b2094 100644 --- a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/bytestring.nix +++ b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/bytestring.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { integer-simple = false; }; package = { @@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer")); buildable = true; modules = [ "Data/ByteString/Builder/ASCII" @@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: tests = { "prop-compiled" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) ]; buildable = true; modules = [ "Rules" "QuickCheckUtils" "TestFramework" ]; @@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "regressions" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) ]; buildable = false; cSources = [ "cbits/fpstring.c" ]; @@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "test-builder" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghc-boot.nix index 566adbd0..6d0682e4 100644 --- a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghc-boot.nix +++ b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghc-boot.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghc.nix index bd115c87..97b70de0 100644 --- a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghc.nix +++ b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghc.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; @@ -77,31 +46,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ((([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple")); + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (errorHandler.buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple")); build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) + (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex"))) + (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy"))) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghci.nix index a8b56f61..2da9acee 100644 --- a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghci.nix +++ b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/ghci.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; }; package = { @@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "GHCi/BreakArray" diff --git a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/iserv-proxy.nix index 0d0aaa46..1762d9de 100644 --- a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/iserv-proxy.nix +++ b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/iserv-proxy.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv-proxy" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/iserv.nix index cb221bf0..12ac7653 100644 --- a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/iserv.nix +++ b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; cSources = [ "cbits/iservmain.c" ]; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/libiserv.nix index 5f12cf49..95ec0f7c 100644 --- a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/libiserv.nix +++ b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/libiserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { network = false; }; package = { @@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "Lib" diff --git a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/remote-iserv.nix index da355276..10e0bb11 100644 --- a/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/remote-iserv.nix +++ b/materialized/ghc-extra-projects/cross/ghc883/.plan.nix/remote-iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "remote-iserv" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/bytestring.nix index ed66c6e1..bea46679 100644 --- a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/bytestring.nix +++ b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/bytestring.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { integer-simple = false; }; package = { @@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer")); buildable = true; modules = [ "Data/ByteString/Builder/ASCII" @@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: tests = { "prop-compiled" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) ]; buildable = true; modules = [ "Rules" "QuickCheckUtils" "TestFramework" ]; @@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "regressions" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) ]; buildable = false; cSources = [ "cbits/fpstring.c" ]; @@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "test-builder" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghc-boot.nix index 7e7303cc..06f2b8ed 100644 --- a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghc-boot.nix +++ b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghc-boot.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghc.nix index 9b596ec3..33a43c6e 100644 --- a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghc.nix +++ b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghc.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; @@ -75,31 +44,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo"))); + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo"))); build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) + (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex"))) + (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy"))) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghci.nix index 20db8db3..d68abb04 100644 --- a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghci.nix +++ b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/ghci.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; }; package = { @@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "GHCi/BreakArray" diff --git a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/iserv-proxy.nix index b45df10e..4490f122 100644 --- a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/iserv-proxy.nix +++ b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/iserv-proxy.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv-proxy" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/iserv.nix index 151b0a36..766b35f0 100644 --- a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/iserv.nix +++ b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; cSources = [ "cbits/iservmain.c" ]; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/libiserv.nix index e2a10045..ba166974 100644 --- a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/libiserv.nix +++ b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/libiserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { network = false; }; package = { @@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "Lib" diff --git a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/remote-iserv.nix index 14052d61..6020298a 100644 --- a/materialized/ghc-extra-projects/default/ghc865/.plan.nix/remote-iserv.nix +++ b/materialized/ghc-extra-projects/default/ghc865/.plan.nix/remote-iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "remote-iserv" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/default/ghc882/.plan.nix/bytestring.nix deleted file mode 100644 index 7be896a4..00000000 --- a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/bytestring.nix +++ /dev/null @@ -1,167 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { integer-simple = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "bytestring"; version = "0.10.10.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright (c) Don Stewart 2005-2009,\n(c) Duncan Coutts 2006-2015,\n(c) David Roundy 2003-2005,\n(c) Jasper Van der Jeugt 2010,\n(c) Simon Meier 2010-2013."; - maintainer = "Duncan Coutts "; - author = "Don Stewart,\nDuncan Coutts"; - homepage = "https://github.com/haskell/bytestring"; - url = ""; - synopsis = "Fast, compact, strict and lazy byte strings with a list interface"; - description = "An efficient compact, immutable byte string type (both strict and lazy)\nsuitable for binary or 8-bit character data.\n\nThe 'ByteString' type represents sequences of bytes or 8-bit characters.\nIt is suitable for high performance use, both in terms of large data\nquantities, or high speed requirements. The 'ByteString' functions follow\nthe same style as Haskell\\'s ordinary lists, so it is easy to convert code\nfrom using 'String' to 'ByteString'.\n\nTwo 'ByteString' variants are provided:\n\n* Strict 'ByteString's keep the string as a single large array. This\nmakes them convenient for passing data between C and Haskell.\n\n* Lazy 'ByteString's use a lazy list of strict chunks which makes it\nsuitable for I\\/O streaming tasks.\n\nThe @Char8@ modules provide a character-based view of the same\nunderlying 'ByteString' types. This makes it convenient to handle mixed\nbinary and 8-bit character content (which is common in many file formats\nand network protocols).\n\nThe 'Builder' module provides an efficient way to build up 'ByteString's\nin an ad-hoc way by repeated concatenation. This is ideal for fast\nserialisation or pretty printing.\n\nThere is also a 'ShortByteString' type which has a lower memory overhead\nand can can be converted to or from a 'ByteString', but supports very few\nother operations. It is suitable for keeping many short strings in memory.\n\n'ByteString's are not designed for Unicode. For Unicode strings you should\nuse the 'Text' type from the @text@ package.\n\nThese modules are intended to be imported qualified, to avoid name clashes\nwith \"Prelude\" functions, e.g.\n\n> import qualified Data.ByteString as BS"; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "README.md" "Changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); - buildable = true; - modules = [ - "Data/ByteString/Builder/ASCII" - "Data/ByteString/Builder/Prim/Binary" - "Data/ByteString/Builder/Prim/ASCII" - "Data/ByteString/Builder/Prim/Internal/Floating" - "Data/ByteString/Builder/Prim/Internal/UncheckedShifts" - "Data/ByteString/Builder/Prim/Internal/Base16" - "Data/ByteString" - "Data/ByteString/Char8" - "Data/ByteString/Unsafe" - "Data/ByteString/Internal" - "Data/ByteString/Lazy" - "Data/ByteString/Lazy/Char8" - "Data/ByteString/Lazy/Internal" - "Data/ByteString/Short" - "Data/ByteString/Short/Internal" - "Data/ByteString/Builder" - "Data/ByteString/Builder/Extra" - "Data/ByteString/Builder/Prim" - "Data/ByteString/Builder/Internal" - "Data/ByteString/Builder/Prim/Internal" - "Data/ByteString/Lazy/Builder" - "Data/ByteString/Lazy/Builder/Extras" - "Data/ByteString/Lazy/Builder/ASCII" - ]; - cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ]; - includeDirs = [ "include" ]; - includes = [ "fpstring.h" ]; - }; - tests = { - "prop-compiled" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - ]; - buildable = true; - modules = [ "Rules" "QuickCheckUtils" "TestFramework" ]; - cSources = [ "cbits/fpstring.c" ]; - hsSourceDirs = [ "." "tests" ]; - includeDirs = [ "include" ]; - mainPath = [ "Properties.hs" ]; - }; - "regressions" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - ]; - buildable = false; - cSources = [ "cbits/fpstring.c" ]; - hsSourceDirs = [ "." "tests" ]; - includeDirs = [ "include" ]; - mainPath = [ "Regressions.hs" ]; - }; - "test-builder" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - ]; - buildable = true; - modules = [ - "Data/ByteString/Builder/Tests" - "Data/ByteString/Builder/Prim/Tests" - "Data/ByteString/Builder/Prim/TestUtils" - "TestFramework" - ]; - cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ]; - hsSourceDirs = [ "." "tests" "tests/builder" ]; - includeDirs = [ "include" ]; - includes = [ "fpstring.h" ]; - mainPath = [ "TestSuite.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/bytestring; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghc-boot.nix deleted file mode 100644 index e2c9429f..00000000 --- a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghc-boot.nix +++ /dev/null @@ -1,84 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.22"; - identifier = { name = "ghc-boot"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Shared functionality between GHC and its boot libraries"; - description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n\nA note about \"GHC.PackageDb\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - ]; - buildable = true; - modules = [ - "GHC/LanguageExtensions" - "GHC/PackageDb" - "GHC/Serialized" - "GHC/ForeignSrcLang" - "GHC/HandleEncoding" - ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/ghc-boot; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghc.nix deleted file mode 100644 index c470c2f6..00000000 --- a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghc.nix +++ /dev/null @@ -1,608 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { - ghci = false; - stage1 = false; - stage2 = true; - stage3 = false; - terminfo = true; - integer-simple = false; - integer-gmp = false; - }; - package = { - specVersion = "1.10"; - identifier = { name = "ghc"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "glasgow-haskell-users@haskell.org"; - author = "The GHC Team"; - homepage = "http://www.haskell.org/ghc/"; - url = ""; - synopsis = "The GHC API"; - description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ - "utils/md5.h" - "Unique.h" - "nativeGen/NCG.h" - "parser/cutils.h" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = ((([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] - else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple")); - build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) - ]; - buildable = true; - modules = [ - "GhcPrelude" - "HieTypes" - "HieDebug" - "HieBin" - "HieUtils" - "HieAst" - "Ar" - "FileCleanup" - "DriverBkp" - "BkpSyn" - "NameShape" - "RnModIface" - "Avail" - "AsmUtils" - "BasicTypes" - "ConLike" - "DataCon" - "PatSyn" - "Demand" - "Debug" - "Exception" - "FieldLabel" - "GhcMonad" - "Hooks" - "Id" - "IdInfo" - "Lexeme" - "Literal" - "Llvm" - "Llvm/AbsSyn" - "Llvm/MetaData" - "Llvm/PpLlvm" - "Llvm/Types" - "LlvmCodeGen" - "LlvmCodeGen/Base" - "LlvmCodeGen/CodeGen" - "LlvmCodeGen/Data" - "LlvmCodeGen/Ppr" - "LlvmCodeGen/Regs" - "LlvmMangler" - "MkId" - "Module" - "Name" - "NameEnv" - "NameSet" - "OccName" - "RdrName" - "NameCache" - "SrcLoc" - "UniqSupply" - "Unique" - "Var" - "VarEnv" - "VarSet" - "UnVarGraph" - "BlockId" - "CLabel" - "Cmm" - "CmmBuildInfoTables" - "CmmPipeline" - "CmmCallConv" - "CmmCommonBlockElim" - "CmmImplementSwitchPlans" - "CmmContFlowOpt" - "CmmExpr" - "CmmInfo" - "CmmLex" - "CmmLint" - "CmmLive" - "CmmMachOp" - "CmmMonad" - "CmmSwitch" - "CmmNode" - "CmmOpt" - "CmmParse" - "CmmProcPoint" - "CmmSink" - "CmmType" - "CmmUtils" - "CmmLayoutStack" - "EnumSet" - "MkGraph" - "PprBase" - "PprC" - "PprCmm" - "PprCmmDecl" - "PprCmmExpr" - "Bitmap" - "CodeGen/Platform" - "CodeGen/Platform/ARM" - "CodeGen/Platform/ARM64" - "CodeGen/Platform/NoRegs" - "CodeGen/Platform/PPC" - "CodeGen/Platform/SPARC" - "CodeGen/Platform/X86" - "CodeGen/Platform/X86_64" - "CgUtils" - "StgCmm" - "StgCmmBind" - "StgCmmClosure" - "StgCmmCon" - "StgCmmEnv" - "StgCmmExpr" - "StgCmmForeign" - "StgCmmHeap" - "StgCmmHpc" - "StgCmmArgRep" - "StgCmmLayout" - "StgCmmMonad" - "StgCmmPrim" - "StgCmmProf" - "StgCmmTicky" - "StgCmmUtils" - "StgCmmExtCode" - "SMRep" - "CoreArity" - "CoreFVs" - "CoreLint" - "CorePrep" - "CoreSubst" - "CoreOpt" - "CoreSyn" - "TrieMap" - "CoreTidy" - "CoreUnfold" - "CoreUtils" - "CoreMap" - "CoreSeq" - "CoreStats" - "MkCore" - "PprCore" - "PmExpr" - "TmOracle" - "Check" - "Coverage" - "Desugar" - "DsArrows" - "DsBinds" - "DsCCall" - "DsExpr" - "DsForeign" - "DsGRHSs" - "DsListComp" - "DsMonad" - "DsUsage" - "DsUtils" - "ExtractDocs" - "Match" - "MatchCon" - "MatchLit" - "HsBinds" - "HsDecls" - "HsDoc" - "HsExpr" - "HsImpExp" - "HsLit" - "PlaceHolder" - "HsExtension" - "HsInstances" - "HsPat" - "HsSyn" - "HsTypes" - "HsUtils" - "HsDumpAst" - "BinIface" - "BinFingerprint" - "BuildTyCl" - "IfaceEnv" - "IfaceSyn" - "IfaceType" - "ToIface" - "LoadIface" - "MkIface" - "TcIface" - "FlagChecker" - "Annotations" - "CmdLineParser" - "CodeOutput" - "Config" - "Constants" - "DriverMkDepend" - "DriverPhases" - "PipelineMonad" - "DriverPipeline" - "DynFlags" - "ErrUtils" - "Finder" - "GHC" - "GhcMake" - "GhcPlugins" - "DynamicLoading" - "HeaderInfo" - "HscMain" - "HscStats" - "HscTypes" - "InteractiveEval" - "InteractiveEvalTypes" - "PackageConfig" - "Packages" - "PlatformConstants" - "Plugins" - "TcPluginM" - "PprTyThing" - "StaticPtrTable" - "SysTools" - "SysTools/BaseDir" - "SysTools/Terminal" - "SysTools/ExtraObj" - "SysTools/Info" - "SysTools/Process" - "SysTools/Tasks" - "Elf" - "TidyPgm" - "Ctype" - "HaddockUtils" - "Lexer" - "OptCoercion" - "Parser" - "RdrHsSyn" - "ApiAnnotation" - "ForeignCall" - "KnownUniques" - "PrelInfo" - "PrelNames" - "PrelRules" - "PrimOp" - "TysPrim" - "TysWiredIn" - "CostCentre" - "CostCentreState" - "ProfInit" - "RnBinds" - "RnEnv" - "RnExpr" - "RnHsDoc" - "RnNames" - "RnPat" - "RnSource" - "RnSplice" - "RnTypes" - "RnFixity" - "RnUtils" - "RnUnbound" - "CoreMonad" - "CSE" - "FloatIn" - "FloatOut" - "LiberateCase" - "OccurAnal" - "SAT" - "SetLevels" - "SimplCore" - "SimplEnv" - "SimplMonad" - "SimplUtils" - "Simplify" - "SimplStg" - "StgStats" - "StgCse" - "StgLiftLams" - "StgLiftLams/Analysis" - "StgLiftLams/LiftM" - "StgLiftLams/Transformation" - "StgSubst" - "UnariseStg" - "RepType" - "Rules" - "SpecConstr" - "Specialise" - "CoreToStg" - "StgLint" - "StgSyn" - "StgFVs" - "CallArity" - "DmdAnal" - "Exitify" - "WorkWrap" - "WwLib" - "FamInst" - "ClsInst" - "Inst" - "TcAnnotations" - "TcArrows" - "TcBinds" - "TcSigs" - "TcClassDcl" - "TcDefaults" - "TcDeriv" - "TcDerivInfer" - "TcDerivUtils" - "TcEnv" - "TcExpr" - "TcForeign" - "TcGenDeriv" - "TcGenFunctor" - "TcGenGenerics" - "TcHsSyn" - "TcHsType" - "TcInstDcls" - "TcMType" - "TcValidity" - "TcMatches" - "TcPat" - "TcPatSyn" - "TcRnDriver" - "TcBackpack" - "TcRnExports" - "TcRnMonad" - "TcRnTypes" - "TcRules" - "TcSimplify" - "TcHoleErrors" - "TcErrors" - "TcTyClsDecls" - "TcTyDecls" - "TcTypeable" - "TcTypeableValidity" - "TcType" - "TcEvidence" - "TcEvTerm" - "TcUnify" - "TcInteract" - "TcCanonical" - "TcFlatten" - "TcSMonad" - "TcTypeNats" - "TcSplice" - "Class" - "Coercion" - "DsMeta" - "THNames" - "FamInstEnv" - "FunDeps" - "InstEnv" - "TyCon" - "CoAxiom" - "Kind" - "Type" - "TyCoRep" - "Unify" - "Bag" - "Binary" - "BooleanFormula" - "BufWrite" - "Digraph" - "Encoding" - "FastFunctions" - "FastMutInt" - "FastString" - "FastStringEnv" - "Fingerprint" - "FiniteMap" - "FV" - "GraphBase" - "GraphColor" - "GraphOps" - "GraphPpr" - "IOEnv" - "Json" - "ListSetOps" - "ListT" - "Maybes" - "MonadUtils" - "OrdList" - "Outputable" - "Pair" - "Panic" - "PlainPanic" - "PprColour" - "Pretty" - "State" - "Stream" - "StringBuffer" - "UniqDFM" - "UniqDSet" - "UniqFM" - "UniqMap" - "UniqSet" - "Util" - "Hoopl/Block" - "Hoopl/Collections" - "Hoopl/Dataflow" - "Hoopl/Graph" - "Hoopl/Label" - "AsmCodeGen" - "TargetReg" - "NCGMonad" - "Instruction" - "BlockLayout" - "CFG" - "Format" - "Reg" - "RegClass" - "PIC" - "Platform" - "CPrim" - "X86/Regs" - "X86/RegInfo" - "X86/Instr" - "X86/Cond" - "X86/Ppr" - "X86/CodeGen" - "PPC/Regs" - "PPC/RegInfo" - "PPC/Instr" - "PPC/Cond" - "PPC/Ppr" - "PPC/CodeGen" - "SPARC/Base" - "SPARC/Regs" - "SPARC/Imm" - "SPARC/AddrMode" - "SPARC/Cond" - "SPARC/Instr" - "SPARC/Stack" - "SPARC/ShortcutJump" - "SPARC/Ppr" - "SPARC/CodeGen" - "SPARC/CodeGen/Amode" - "SPARC/CodeGen/Base" - "SPARC/CodeGen/CondCode" - "SPARC/CodeGen/Gen32" - "SPARC/CodeGen/Gen64" - "SPARC/CodeGen/Sanity" - "SPARC/CodeGen/Expand" - "RegAlloc/Liveness" - "RegAlloc/Graph/Main" - "RegAlloc/Graph/Stats" - "RegAlloc/Graph/ArchBase" - "RegAlloc/Graph/ArchX86" - "RegAlloc/Graph/Coalesce" - "RegAlloc/Graph/Spill" - "RegAlloc/Graph/SpillClean" - "RegAlloc/Graph/SpillCost" - "RegAlloc/Graph/TrivColorable" - "RegAlloc/Linear/Main" - "RegAlloc/Linear/JoinToTargets" - "RegAlloc/Linear/State" - "RegAlloc/Linear/Stats" - "RegAlloc/Linear/FreeRegs" - "RegAlloc/Linear/StackMap" - "RegAlloc/Linear/Base" - "RegAlloc/Linear/X86/FreeRegs" - "RegAlloc/Linear/X86_64/FreeRegs" - "RegAlloc/Linear/PPC/FreeRegs" - "RegAlloc/Linear/SPARC/FreeRegs" - "Dwarf" - "Dwarf/Types" - "Dwarf/Constants" - "Convert" - "ByteCodeTypes" - "ByteCodeAsm" - "ByteCodeGen" - "ByteCodeInstr" - "ByteCodeItbls" - "ByteCodeLink" - "Debugger" - "Linker" - "RtClosureInspect" - "GHCi" - ]; - cSources = [ - "parser/cutils.c" - "ghci/keepCAFsForGHCi.c" - "cbits/genSym.c" - ]; - hsSourceDirs = [ - "backpack" - "basicTypes" - "cmm" - "codeGen" - "coreSyn" - "deSugar" - "ghci" - "hsSyn" - "iface" - "llvmGen" - "main" - "nativeGen" - "parser" - "prelude" - "profiling" - "rename" - "simplCore" - "simplStg" - "specialise" - "stgSyn" - "stranal" - "typecheck" - "types" - "utils" - "hieFile" - ]; - includeDirs = [ - "." - "parser" - "utils" - ] ++ (pkgs.lib).optional (flags.ghci) "../rts/dist/build"; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../compiler; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghci.nix deleted file mode 100644 index b991f2cb..00000000 --- a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/ghci.nix +++ /dev/null @@ -1,101 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { ghci = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "ghci"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "The library supporting GHC's interactive interpreter"; - description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - modules = [ - "GHCi/BreakArray" - "GHCi/BinaryArray" - "GHCi/Message" - "GHCi/ResolvedBCO" - "GHCi/RemoteTypes" - "GHCi/FFI" - "GHCi/InfoTable" - "GHCi/StaticPtrTable" - "GHCi/TH/Binary" - "SizedSeq" - ] ++ (pkgs.lib).optionals (flags.ghci) [ - "GHCi/Run" - "GHCi/CreateBCO" - "GHCi/ObjLink" - "GHCi/Signals" - "GHCi/TH" - ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/ghci; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/default/ghc882/.plan.nix/iserv-proxy.nix deleted file mode 100644 index 488b6cfb..00000000 --- a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/iserv-proxy.nix +++ /dev/null @@ -1,86 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "iserv-proxy"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Tempalte Haskell computations"; - description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\niserv can also be used in combination with cross compilation. For\nthis, the @iserv-proxy@ needs to be built on the host, targeting the\nhost (as it is running on the host). @cabal install -flibrary\n-fproxy@ will yield the proxy.\n\nUsing the cabal for the target @arch-platform-target-cabal install\n-flibrary@ will build the required library that contains the ffi\n@startSlave@ function, which needs to be invoked on the target\n(e.g. in an iOS application) to start the remote iserv slave.\n\ncalling the GHC cross compiler with @-fexternal-interpreter\n-pgmi=\$HOME/.cabal/bin/iserv-proxy -opti\\ -opti\\@\nwill cause it to compile Template Haskell via the remote at \\.\n\nThus to get cross compilation with Template Haskell follow the\nfollowing receipt:\n\n* compile the iserv library for your target\n\n> iserv \$ arch-platform-target-cabal install -flibrary\n\n* setup an application for your target that calls the\n* startSlave function. This could be either haskell or your\n* targets ffi capable language, if needed.\n\n> void startSlave(false /* verbose */, 5000 /* port */,\n> \"/path/to/storagelocation/on/target\");\n\n* build the iserv-proxy\n\n> iserv \$ cabal install -flibrary -fproxy\n* Start your iserv-slave app on your target running on say @10.0.0.1:5000@\n* compiler your sources with -fexternal-interpreter and the proxy\n\n> project \$ arch-platform-target-ghc ModuleContainingTH.hs \\\n> -fexternal-interpreter \\\n> -pgmi=\$HOME/.cabal/bin/iserv-proxy \\\n> -opti10.0.0.1 -opti5000\n\nShould something not work as expected, provide @-opti-v@ for verbose\nlogging of the @iserv-proxy@."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "iserv-proxy" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ]; - buildable = true; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../utils/iserv-proxy; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/default/ghc882/.plan.nix/iserv.nix deleted file mode 100644 index 394add1a..00000000 --- a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/iserv.nix +++ /dev/null @@ -1,85 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "iserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Template Haskell computations"; - description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "iserv" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - cSources = [ "cbits/iservmain.c" ]; - hsSourceDirs = [ "src" ]; - includeDirs = [ "." ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../utils/iserv; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/default/ghc882/.plan.nix/libiserv.nix deleted file mode 100644 index 4e3b49aa..00000000 --- a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/libiserv.nix +++ /dev/null @@ -1,89 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { network = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "libiserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "Provides shared functionality between iserv and iserv-proxy"; - description = ""; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - modules = [ - "Lib" - "GHCi/Utils" - ] ++ (pkgs.lib).optionals (flags.network) [ - "Remote/Message" - "Remote/Slave" - ]; - hsSourceDirs = [ "src" ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/libiserv; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/default/ghc882/.plan.nix/remote-iserv.nix deleted file mode 100644 index e86d435c..00000000 --- a/materialized/ghc-extra-projects/default/ghc882/.plan.nix/remote-iserv.nix +++ /dev/null @@ -1,77 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "remote-iserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "Moritz Angermann "; - author = "Moritz Angermann "; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Tempalte Haskell computations"; - description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "remote-iserv" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ]; - buildable = true; - hsSourceDirs = [ "src" ]; - mainPath = [ "Cli.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../utils/remote-iserv; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/default/ghc882/default.nix b/materialized/ghc-extra-projects/default/ghc882/default.nix deleted file mode 100644 index e56dd605..00000000 --- a/materialized/ghc-extra-projects/default/ghc882/default.nix +++ /dev/null @@ -1,95 +0,0 @@ -{ - 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.8.2").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.5").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.15.0.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "time".revision = (((hackage."time")."1.9.3").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.19.12").revisions).default; - "happy".flags.small_base = true; - "hpc".revision = (((hackage."hpc")."0.6.0.3").revisions).default; - "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; - "process".revision = (((hackage."process")."1.6.8.2").revisions).default; - "pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default; - "ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.8.2").revisions).default; - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - }; - compiler = { - version = "8.8.2"; - nix-name = "ghc882"; - packages = { - "ghc-prim" = "0.5.3"; - "ghc-heap" = "8.8.2"; - "mtl" = "2.2.2"; - "rts" = "1.0"; - "deepseq" = "1.4.4.0"; - "template-haskell" = "2.15.0.0"; - "containers" = "0.6.2.1"; - "base" = "4.13.0.0"; - "time" = "1.9.3"; - "terminfo" = "0.4.1.4"; - "transformers" = "0.5.6.2"; - "filepath" = "1.4.2.1"; - "pretty" = "1.1.3.6"; - "ghc-boot-th" = "8.8.2"; - "array" = "0.5.4.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; - 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; - "integer-gmp" = lib.mkOverride 900 false; - "stage3" = lib.mkOverride 900 false; - "ghci" = lib.mkOverride 900 true; - "integer-simple" = lib.mkOverride 900 false; - "terminfo" = lib.mkOverride 900 true; - }; - }; - "bytestring" = { - flags = { "integer-simple" = lib.mkOverride 900 false; }; - }; - "remote-iserv" = { flags = {}; }; - "iserv-proxy" = { flags = {}; }; - "libiserv" = { flags = { "network" = lib.mkOverride 900 true; }; }; - "ghc-boot" = { flags = {}; }; - "ghci" = { flags = { "ghci" = lib.mkOverride 900 true; }; }; - "iserv" = { flags = {}; }; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/bytestring.nix index 7be896a4..cb9b2094 100644 --- a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/bytestring.nix +++ b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/bytestring.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { integer-simple = false; }; package = { @@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer")); buildable = true; modules = [ "Data/ByteString/Builder/ASCII" @@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: tests = { "prop-compiled" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) ]; buildable = true; modules = [ "Rules" "QuickCheckUtils" "TestFramework" ]; @@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "regressions" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) ]; buildable = false; cSources = [ "cbits/fpstring.c" ]; @@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "test-builder" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghc-boot.nix index 566adbd0..6d0682e4 100644 --- a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghc-boot.nix +++ b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghc-boot.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghc.nix index bd115c87..97b70de0 100644 --- a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghc.nix +++ b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghc.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; @@ -77,31 +46,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ((([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple")); + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (errorHandler.buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple")); build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) + (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex"))) + (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy"))) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghci.nix index a8b56f61..2da9acee 100644 --- a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghci.nix +++ b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/ghci.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; }; package = { @@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "GHCi/BreakArray" diff --git a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/iserv-proxy.nix index 0d0aaa46..1762d9de 100644 --- a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/iserv-proxy.nix +++ b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/iserv-proxy.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv-proxy" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/iserv.nix index cb221bf0..12ac7653 100644 --- a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/iserv.nix +++ b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; cSources = [ "cbits/iservmain.c" ]; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/libiserv.nix index 5f12cf49..95ec0f7c 100644 --- a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/libiserv.nix +++ b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/libiserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { network = false; }; package = { @@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "Lib" diff --git a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/remote-iserv.nix index da355276..10e0bb11 100644 --- a/materialized/ghc-extra-projects/default/ghc883/.plan.nix/remote-iserv.nix +++ b/materialized/ghc-extra-projects/default/ghc883/.plan.nix/remote-iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "remote-iserv" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/bytestring.nix index ed66c6e1..bea46679 100644 --- a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/bytestring.nix +++ b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/bytestring.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { integer-simple = false; }; package = { @@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer")); buildable = true; modules = [ "Data/ByteString/Builder/ASCII" @@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: tests = { "prop-compiled" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) ]; buildable = true; modules = [ "Rules" "QuickCheckUtils" "TestFramework" ]; @@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "regressions" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) ]; buildable = false; cSources = [ "cbits/fpstring.c" ]; @@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "test-builder" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghc-boot.nix index 7e7303cc..06f2b8ed 100644 --- a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghc-boot.nix +++ b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghc-boot.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghc.nix index 9b596ec3..33a43c6e 100644 --- a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghc.nix +++ b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghc.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; @@ -75,31 +44,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo"))); + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo"))); build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) + (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex"))) + (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy"))) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghci.nix index 20db8db3..d68abb04 100644 --- a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghci.nix +++ b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/ghci.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; }; package = { @@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "GHCi/BreakArray" diff --git a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/iserv-proxy.nix index b45df10e..4490f122 100644 --- a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/iserv-proxy.nix +++ b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/iserv-proxy.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv-proxy" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/iserv.nix index 151b0a36..766b35f0 100644 --- a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/iserv.nix +++ b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; cSources = [ "cbits/iservmain.c" ]; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/libiserv.nix index e2a10045..ba166974 100644 --- a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/libiserv.nix +++ b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/libiserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { network = false; }; package = { @@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "Lib" diff --git a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/remote-iserv.nix index 14052d61..6020298a 100644 --- a/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/remote-iserv.nix +++ b/materialized/ghc-extra-projects/windows/ghc865/.plan.nix/remote-iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "remote-iserv" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/bytestring.nix deleted file mode 100644 index 7be896a4..00000000 --- a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/bytestring.nix +++ /dev/null @@ -1,167 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { integer-simple = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "bytestring"; version = "0.10.10.0"; }; - license = "BSD-3-Clause"; - copyright = "Copyright (c) Don Stewart 2005-2009,\n(c) Duncan Coutts 2006-2015,\n(c) David Roundy 2003-2005,\n(c) Jasper Van der Jeugt 2010,\n(c) Simon Meier 2010-2013."; - maintainer = "Duncan Coutts "; - author = "Don Stewart,\nDuncan Coutts"; - homepage = "https://github.com/haskell/bytestring"; - url = ""; - synopsis = "Fast, compact, strict and lazy byte strings with a list interface"; - description = "An efficient compact, immutable byte string type (both strict and lazy)\nsuitable for binary or 8-bit character data.\n\nThe 'ByteString' type represents sequences of bytes or 8-bit characters.\nIt is suitable for high performance use, both in terms of large data\nquantities, or high speed requirements. The 'ByteString' functions follow\nthe same style as Haskell\\'s ordinary lists, so it is easy to convert code\nfrom using 'String' to 'ByteString'.\n\nTwo 'ByteString' variants are provided:\n\n* Strict 'ByteString's keep the string as a single large array. This\nmakes them convenient for passing data between C and Haskell.\n\n* Lazy 'ByteString's use a lazy list of strict chunks which makes it\nsuitable for I\\/O streaming tasks.\n\nThe @Char8@ modules provide a character-based view of the same\nunderlying 'ByteString' types. This makes it convenient to handle mixed\nbinary and 8-bit character content (which is common in many file formats\nand network protocols).\n\nThe 'Builder' module provides an efficient way to build up 'ByteString's\nin an ad-hoc way by repeated concatenation. This is ideal for fast\nserialisation or pretty printing.\n\nThere is also a 'ShortByteString' type which has a lower memory overhead\nand can can be converted to or from a 'ByteString', but supports very few\nother operations. It is suitable for keeping many short strings in memory.\n\n'ByteString's are not designed for Unicode. For Unicode strings you should\nuse the 'Text' type from the @text@ package.\n\nThese modules are intended to be imported qualified, to avoid name clashes\nwith \"Prelude\" functions, e.g.\n\n> import qualified Data.ByteString as BS"; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "README.md" "Changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); - buildable = true; - modules = [ - "Data/ByteString/Builder/ASCII" - "Data/ByteString/Builder/Prim/Binary" - "Data/ByteString/Builder/Prim/ASCII" - "Data/ByteString/Builder/Prim/Internal/Floating" - "Data/ByteString/Builder/Prim/Internal/UncheckedShifts" - "Data/ByteString/Builder/Prim/Internal/Base16" - "Data/ByteString" - "Data/ByteString/Char8" - "Data/ByteString/Unsafe" - "Data/ByteString/Internal" - "Data/ByteString/Lazy" - "Data/ByteString/Lazy/Char8" - "Data/ByteString/Lazy/Internal" - "Data/ByteString/Short" - "Data/ByteString/Short/Internal" - "Data/ByteString/Builder" - "Data/ByteString/Builder/Extra" - "Data/ByteString/Builder/Prim" - "Data/ByteString/Builder/Internal" - "Data/ByteString/Builder/Prim/Internal" - "Data/ByteString/Lazy/Builder" - "Data/ByteString/Lazy/Builder/Extras" - "Data/ByteString/Lazy/Builder/ASCII" - ]; - cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ]; - includeDirs = [ "include" ]; - includes = [ "fpstring.h" ]; - }; - tests = { - "prop-compiled" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - ]; - buildable = true; - modules = [ "Rules" "QuickCheckUtils" "TestFramework" ]; - cSources = [ "cbits/fpstring.c" ]; - hsSourceDirs = [ "." "tests" ]; - includeDirs = [ "include" ]; - mainPath = [ "Properties.hs" ]; - }; - "regressions" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - ]; - buildable = false; - cSources = [ "cbits/fpstring.c" ]; - hsSourceDirs = [ "." "tests" ]; - includeDirs = [ "include" ]; - mainPath = [ "Regressions.hs" ]; - }; - "test-builder" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - ]; - buildable = true; - modules = [ - "Data/ByteString/Builder/Tests" - "Data/ByteString/Builder/Prim/Tests" - "Data/ByteString/Builder/Prim/TestUtils" - "TestFramework" - ]; - cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ]; - hsSourceDirs = [ "." "tests" "tests/builder" ]; - includeDirs = [ "include" ]; - includes = [ "fpstring.h" ]; - mainPath = [ "TestSuite.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/bytestring; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghc-boot.nix deleted file mode 100644 index e2c9429f..00000000 --- a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghc-boot.nix +++ /dev/null @@ -1,84 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.22"; - identifier = { name = "ghc-boot"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Shared functionality between GHC and its boot libraries"; - description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n\nA note about \"GHC.PackageDb\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - ]; - buildable = true; - modules = [ - "GHC/LanguageExtensions" - "GHC/PackageDb" - "GHC/Serialized" - "GHC/ForeignSrcLang" - "GHC/HandleEncoding" - ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/ghc-boot; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghc.nix deleted file mode 100644 index c470c2f6..00000000 --- a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghc.nix +++ /dev/null @@ -1,608 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { - ghci = false; - stage1 = false; - stage2 = true; - stage3 = false; - terminfo = true; - integer-simple = false; - integer-gmp = false; - }; - package = { - specVersion = "1.10"; - identifier = { name = "ghc"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "glasgow-haskell-users@haskell.org"; - author = "The GHC Team"; - homepage = "http://www.haskell.org/ghc/"; - url = ""; - synopsis = "The GHC API"; - description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ - "utils/md5.h" - "Unique.h" - "nativeGen/NCG.h" - "parser/cutils.h" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = ((([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] - else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple")); - build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) - ]; - buildable = true; - modules = [ - "GhcPrelude" - "HieTypes" - "HieDebug" - "HieBin" - "HieUtils" - "HieAst" - "Ar" - "FileCleanup" - "DriverBkp" - "BkpSyn" - "NameShape" - "RnModIface" - "Avail" - "AsmUtils" - "BasicTypes" - "ConLike" - "DataCon" - "PatSyn" - "Demand" - "Debug" - "Exception" - "FieldLabel" - "GhcMonad" - "Hooks" - "Id" - "IdInfo" - "Lexeme" - "Literal" - "Llvm" - "Llvm/AbsSyn" - "Llvm/MetaData" - "Llvm/PpLlvm" - "Llvm/Types" - "LlvmCodeGen" - "LlvmCodeGen/Base" - "LlvmCodeGen/CodeGen" - "LlvmCodeGen/Data" - "LlvmCodeGen/Ppr" - "LlvmCodeGen/Regs" - "LlvmMangler" - "MkId" - "Module" - "Name" - "NameEnv" - "NameSet" - "OccName" - "RdrName" - "NameCache" - "SrcLoc" - "UniqSupply" - "Unique" - "Var" - "VarEnv" - "VarSet" - "UnVarGraph" - "BlockId" - "CLabel" - "Cmm" - "CmmBuildInfoTables" - "CmmPipeline" - "CmmCallConv" - "CmmCommonBlockElim" - "CmmImplementSwitchPlans" - "CmmContFlowOpt" - "CmmExpr" - "CmmInfo" - "CmmLex" - "CmmLint" - "CmmLive" - "CmmMachOp" - "CmmMonad" - "CmmSwitch" - "CmmNode" - "CmmOpt" - "CmmParse" - "CmmProcPoint" - "CmmSink" - "CmmType" - "CmmUtils" - "CmmLayoutStack" - "EnumSet" - "MkGraph" - "PprBase" - "PprC" - "PprCmm" - "PprCmmDecl" - "PprCmmExpr" - "Bitmap" - "CodeGen/Platform" - "CodeGen/Platform/ARM" - "CodeGen/Platform/ARM64" - "CodeGen/Platform/NoRegs" - "CodeGen/Platform/PPC" - "CodeGen/Platform/SPARC" - "CodeGen/Platform/X86" - "CodeGen/Platform/X86_64" - "CgUtils" - "StgCmm" - "StgCmmBind" - "StgCmmClosure" - "StgCmmCon" - "StgCmmEnv" - "StgCmmExpr" - "StgCmmForeign" - "StgCmmHeap" - "StgCmmHpc" - "StgCmmArgRep" - "StgCmmLayout" - "StgCmmMonad" - "StgCmmPrim" - "StgCmmProf" - "StgCmmTicky" - "StgCmmUtils" - "StgCmmExtCode" - "SMRep" - "CoreArity" - "CoreFVs" - "CoreLint" - "CorePrep" - "CoreSubst" - "CoreOpt" - "CoreSyn" - "TrieMap" - "CoreTidy" - "CoreUnfold" - "CoreUtils" - "CoreMap" - "CoreSeq" - "CoreStats" - "MkCore" - "PprCore" - "PmExpr" - "TmOracle" - "Check" - "Coverage" - "Desugar" - "DsArrows" - "DsBinds" - "DsCCall" - "DsExpr" - "DsForeign" - "DsGRHSs" - "DsListComp" - "DsMonad" - "DsUsage" - "DsUtils" - "ExtractDocs" - "Match" - "MatchCon" - "MatchLit" - "HsBinds" - "HsDecls" - "HsDoc" - "HsExpr" - "HsImpExp" - "HsLit" - "PlaceHolder" - "HsExtension" - "HsInstances" - "HsPat" - "HsSyn" - "HsTypes" - "HsUtils" - "HsDumpAst" - "BinIface" - "BinFingerprint" - "BuildTyCl" - "IfaceEnv" - "IfaceSyn" - "IfaceType" - "ToIface" - "LoadIface" - "MkIface" - "TcIface" - "FlagChecker" - "Annotations" - "CmdLineParser" - "CodeOutput" - "Config" - "Constants" - "DriverMkDepend" - "DriverPhases" - "PipelineMonad" - "DriverPipeline" - "DynFlags" - "ErrUtils" - "Finder" - "GHC" - "GhcMake" - "GhcPlugins" - "DynamicLoading" - "HeaderInfo" - "HscMain" - "HscStats" - "HscTypes" - "InteractiveEval" - "InteractiveEvalTypes" - "PackageConfig" - "Packages" - "PlatformConstants" - "Plugins" - "TcPluginM" - "PprTyThing" - "StaticPtrTable" - "SysTools" - "SysTools/BaseDir" - "SysTools/Terminal" - "SysTools/ExtraObj" - "SysTools/Info" - "SysTools/Process" - "SysTools/Tasks" - "Elf" - "TidyPgm" - "Ctype" - "HaddockUtils" - "Lexer" - "OptCoercion" - "Parser" - "RdrHsSyn" - "ApiAnnotation" - "ForeignCall" - "KnownUniques" - "PrelInfo" - "PrelNames" - "PrelRules" - "PrimOp" - "TysPrim" - "TysWiredIn" - "CostCentre" - "CostCentreState" - "ProfInit" - "RnBinds" - "RnEnv" - "RnExpr" - "RnHsDoc" - "RnNames" - "RnPat" - "RnSource" - "RnSplice" - "RnTypes" - "RnFixity" - "RnUtils" - "RnUnbound" - "CoreMonad" - "CSE" - "FloatIn" - "FloatOut" - "LiberateCase" - "OccurAnal" - "SAT" - "SetLevels" - "SimplCore" - "SimplEnv" - "SimplMonad" - "SimplUtils" - "Simplify" - "SimplStg" - "StgStats" - "StgCse" - "StgLiftLams" - "StgLiftLams/Analysis" - "StgLiftLams/LiftM" - "StgLiftLams/Transformation" - "StgSubst" - "UnariseStg" - "RepType" - "Rules" - "SpecConstr" - "Specialise" - "CoreToStg" - "StgLint" - "StgSyn" - "StgFVs" - "CallArity" - "DmdAnal" - "Exitify" - "WorkWrap" - "WwLib" - "FamInst" - "ClsInst" - "Inst" - "TcAnnotations" - "TcArrows" - "TcBinds" - "TcSigs" - "TcClassDcl" - "TcDefaults" - "TcDeriv" - "TcDerivInfer" - "TcDerivUtils" - "TcEnv" - "TcExpr" - "TcForeign" - "TcGenDeriv" - "TcGenFunctor" - "TcGenGenerics" - "TcHsSyn" - "TcHsType" - "TcInstDcls" - "TcMType" - "TcValidity" - "TcMatches" - "TcPat" - "TcPatSyn" - "TcRnDriver" - "TcBackpack" - "TcRnExports" - "TcRnMonad" - "TcRnTypes" - "TcRules" - "TcSimplify" - "TcHoleErrors" - "TcErrors" - "TcTyClsDecls" - "TcTyDecls" - "TcTypeable" - "TcTypeableValidity" - "TcType" - "TcEvidence" - "TcEvTerm" - "TcUnify" - "TcInteract" - "TcCanonical" - "TcFlatten" - "TcSMonad" - "TcTypeNats" - "TcSplice" - "Class" - "Coercion" - "DsMeta" - "THNames" - "FamInstEnv" - "FunDeps" - "InstEnv" - "TyCon" - "CoAxiom" - "Kind" - "Type" - "TyCoRep" - "Unify" - "Bag" - "Binary" - "BooleanFormula" - "BufWrite" - "Digraph" - "Encoding" - "FastFunctions" - "FastMutInt" - "FastString" - "FastStringEnv" - "Fingerprint" - "FiniteMap" - "FV" - "GraphBase" - "GraphColor" - "GraphOps" - "GraphPpr" - "IOEnv" - "Json" - "ListSetOps" - "ListT" - "Maybes" - "MonadUtils" - "OrdList" - "Outputable" - "Pair" - "Panic" - "PlainPanic" - "PprColour" - "Pretty" - "State" - "Stream" - "StringBuffer" - "UniqDFM" - "UniqDSet" - "UniqFM" - "UniqMap" - "UniqSet" - "Util" - "Hoopl/Block" - "Hoopl/Collections" - "Hoopl/Dataflow" - "Hoopl/Graph" - "Hoopl/Label" - "AsmCodeGen" - "TargetReg" - "NCGMonad" - "Instruction" - "BlockLayout" - "CFG" - "Format" - "Reg" - "RegClass" - "PIC" - "Platform" - "CPrim" - "X86/Regs" - "X86/RegInfo" - "X86/Instr" - "X86/Cond" - "X86/Ppr" - "X86/CodeGen" - "PPC/Regs" - "PPC/RegInfo" - "PPC/Instr" - "PPC/Cond" - "PPC/Ppr" - "PPC/CodeGen" - "SPARC/Base" - "SPARC/Regs" - "SPARC/Imm" - "SPARC/AddrMode" - "SPARC/Cond" - "SPARC/Instr" - "SPARC/Stack" - "SPARC/ShortcutJump" - "SPARC/Ppr" - "SPARC/CodeGen" - "SPARC/CodeGen/Amode" - "SPARC/CodeGen/Base" - "SPARC/CodeGen/CondCode" - "SPARC/CodeGen/Gen32" - "SPARC/CodeGen/Gen64" - "SPARC/CodeGen/Sanity" - "SPARC/CodeGen/Expand" - "RegAlloc/Liveness" - "RegAlloc/Graph/Main" - "RegAlloc/Graph/Stats" - "RegAlloc/Graph/ArchBase" - "RegAlloc/Graph/ArchX86" - "RegAlloc/Graph/Coalesce" - "RegAlloc/Graph/Spill" - "RegAlloc/Graph/SpillClean" - "RegAlloc/Graph/SpillCost" - "RegAlloc/Graph/TrivColorable" - "RegAlloc/Linear/Main" - "RegAlloc/Linear/JoinToTargets" - "RegAlloc/Linear/State" - "RegAlloc/Linear/Stats" - "RegAlloc/Linear/FreeRegs" - "RegAlloc/Linear/StackMap" - "RegAlloc/Linear/Base" - "RegAlloc/Linear/X86/FreeRegs" - "RegAlloc/Linear/X86_64/FreeRegs" - "RegAlloc/Linear/PPC/FreeRegs" - "RegAlloc/Linear/SPARC/FreeRegs" - "Dwarf" - "Dwarf/Types" - "Dwarf/Constants" - "Convert" - "ByteCodeTypes" - "ByteCodeAsm" - "ByteCodeGen" - "ByteCodeInstr" - "ByteCodeItbls" - "ByteCodeLink" - "Debugger" - "Linker" - "RtClosureInspect" - "GHCi" - ]; - cSources = [ - "parser/cutils.c" - "ghci/keepCAFsForGHCi.c" - "cbits/genSym.c" - ]; - hsSourceDirs = [ - "backpack" - "basicTypes" - "cmm" - "codeGen" - "coreSyn" - "deSugar" - "ghci" - "hsSyn" - "iface" - "llvmGen" - "main" - "nativeGen" - "parser" - "prelude" - "profiling" - "rename" - "simplCore" - "simplStg" - "specialise" - "stgSyn" - "stranal" - "typecheck" - "types" - "utils" - "hieFile" - ]; - includeDirs = [ - "." - "parser" - "utils" - ] ++ (pkgs.lib).optional (flags.ghci) "../rts/dist/build"; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../compiler; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghci.nix deleted file mode 100644 index b991f2cb..00000000 --- a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/ghci.nix +++ /dev/null @@ -1,101 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { ghci = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "ghci"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "The library supporting GHC's interactive interpreter"; - description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - modules = [ - "GHCi/BreakArray" - "GHCi/BinaryArray" - "GHCi/Message" - "GHCi/ResolvedBCO" - "GHCi/RemoteTypes" - "GHCi/FFI" - "GHCi/InfoTable" - "GHCi/StaticPtrTable" - "GHCi/TH/Binary" - "SizedSeq" - ] ++ (pkgs.lib).optionals (flags.ghci) [ - "GHCi/Run" - "GHCi/CreateBCO" - "GHCi/ObjLink" - "GHCi/Signals" - "GHCi/TH" - ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/ghci; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/iserv-proxy.nix deleted file mode 100644 index 488b6cfb..00000000 --- a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/iserv-proxy.nix +++ /dev/null @@ -1,86 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "iserv-proxy"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Tempalte Haskell computations"; - description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\niserv can also be used in combination with cross compilation. For\nthis, the @iserv-proxy@ needs to be built on the host, targeting the\nhost (as it is running on the host). @cabal install -flibrary\n-fproxy@ will yield the proxy.\n\nUsing the cabal for the target @arch-platform-target-cabal install\n-flibrary@ will build the required library that contains the ffi\n@startSlave@ function, which needs to be invoked on the target\n(e.g. in an iOS application) to start the remote iserv slave.\n\ncalling the GHC cross compiler with @-fexternal-interpreter\n-pgmi=\$HOME/.cabal/bin/iserv-proxy -opti\\ -opti\\@\nwill cause it to compile Template Haskell via the remote at \\.\n\nThus to get cross compilation with Template Haskell follow the\nfollowing receipt:\n\n* compile the iserv library for your target\n\n> iserv \$ arch-platform-target-cabal install -flibrary\n\n* setup an application for your target that calls the\n* startSlave function. This could be either haskell or your\n* targets ffi capable language, if needed.\n\n> void startSlave(false /* verbose */, 5000 /* port */,\n> \"/path/to/storagelocation/on/target\");\n\n* build the iserv-proxy\n\n> iserv \$ cabal install -flibrary -fproxy\n* Start your iserv-slave app on your target running on say @10.0.0.1:5000@\n* compiler your sources with -fexternal-interpreter and the proxy\n\n> project \$ arch-platform-target-ghc ModuleContainingTH.hs \\\n> -fexternal-interpreter \\\n> -pgmi=\$HOME/.cabal/bin/iserv-proxy \\\n> -opti10.0.0.1 -opti5000\n\nShould something not work as expected, provide @-opti-v@ for verbose\nlogging of the @iserv-proxy@."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "iserv-proxy" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ]; - buildable = true; - hsSourceDirs = [ "src" ]; - mainPath = [ "Main.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../utils/iserv-proxy; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/iserv.nix deleted file mode 100644 index 394add1a..00000000 --- a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/iserv.nix +++ /dev/null @@ -1,85 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "iserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Template Haskell computations"; - description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "iserv" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - cSources = [ "cbits/iservmain.c" ]; - hsSourceDirs = [ "src" ]; - includeDirs = [ "." ]; - mainPath = [ "Main.hs" ] ++ [ "" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../utils/iserv; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/libiserv.nix deleted file mode 100644 index 4e3b49aa..00000000 --- a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/libiserv.nix +++ /dev/null @@ -1,89 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { network = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "libiserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "XXX"; - author = "XXX"; - homepage = ""; - url = ""; - synopsis = "Provides shared functionality between iserv and iserv-proxy"; - description = ""; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - modules = [ - "Lib" - "GHCi/Utils" - ] ++ (pkgs.lib).optionals (flags.network) [ - "Remote/Message" - "Remote/Slave" - ]; - hsSourceDirs = [ "src" ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../libraries/libiserv; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/remote-iserv.nix deleted file mode 100644 index e86d435c..00000000 --- a/materialized/ghc-extra-projects/windows/ghc882/.plan.nix/remote-iserv.nix +++ /dev/null @@ -1,77 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "remote-iserv"; version = "8.8.2"; }; - license = "BSD-3-Clause"; - copyright = "XXX"; - maintainer = "Moritz Angermann "; - author = "Moritz Angermann "; - homepage = ""; - url = ""; - synopsis = "iserv allows GHC to delegate Tempalte Haskell computations"; - description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = []; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - exes = { - "remote-iserv" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ]; - buildable = true; - hsSourceDirs = [ "src" ]; - mainPath = [ "Cli.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../utils/remote-iserv; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc882/default.nix b/materialized/ghc-extra-projects/windows/ghc882/default.nix deleted file mode 100644 index 56d483d7..00000000 --- a/materialized/ghc-extra-projects/windows/ghc882/default.nix +++ /dev/null @@ -1,92 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "binary".revision = (((hackage."binary")."0.8.8.0").revisions).default; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "ghc-heap".revision = (((hackage."ghc-heap")."8.8.2").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.5").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.15.0.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; - "base".revision = (((hackage."base")."4.13.0.0").revisions).default; - "time".revision = (((hackage."time")."1.9.3").revisions).default; - "transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default; - "happy".revision = (((hackage."happy")."1.19.12").revisions).default; - "happy".flags.small_base = true; - "hpc".revision = (((hackage."hpc")."0.6.0.3").revisions).default; - "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; - "process".revision = (((hackage."process")."1.6.8.2").revisions).default; - "pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default; - "ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.8.2").revisions).default; - "array".revision = (((hackage."array")."0.5.4.0").revisions).default; - "Win32".revision = (((hackage."Win32")."2.6.2.0").revisions).default; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - }; - compiler = { - version = "8.8.2"; - nix-name = "ghc882"; - packages = { - "ghc-prim" = "0.5.3"; - "ghc-heap" = "8.8.2"; - "mtl" = "2.2.2"; - "rts" = "1.0"; - "deepseq" = "1.4.4.0"; - "template-haskell" = "2.15.0.0"; - "containers" = "0.6.2.1"; - "base" = "4.13.0.0"; - "transformers" = "0.5.6.2"; - "filepath" = "1.4.2.1"; - "pretty" = "1.1.3.6"; - "ghc-boot-th" = "8.8.2"; - "array" = "0.5.4.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; - 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; - "integer-gmp" = lib.mkOverride 900 false; - "stage3" = lib.mkOverride 900 false; - "ghci" = lib.mkOverride 900 true; - "integer-simple" = lib.mkOverride 900 false; - "terminfo" = lib.mkOverride 900 true; - }; - }; - "bytestring" = { - flags = { "integer-simple" = lib.mkOverride 900 false; }; - }; - "remote-iserv" = { flags = {}; }; - "iserv-proxy" = { flags = {}; }; - "libiserv" = { flags = { "network" = lib.mkOverride 900 true; }; }; - "ghc-boot" = { flags = {}; }; - "ghci" = { flags = { "ghci" = lib.mkOverride 900 true; }; }; - "iserv" = { flags = {}; }; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/bytestring.nix index 7be896a4..cb9b2094 100644 --- a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/bytestring.nix +++ b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/bytestring.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { integer-simple = false; }; package = { @@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer")); + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + ] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer")); buildable = true; modules = [ "Data/ByteString/Builder/ASCII" @@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: tests = { "prop-compiled" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) ]; buildable = true; modules = [ "Rules" "QuickCheckUtils" "TestFramework" ]; @@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "regressions" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) ]; buildable = false; cSources = [ "cbits/fpstring.c" ]; @@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: }; "test-builder" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."byteorder" or (buildDepError "byteorder")) - (hsPkgs."dlist" or (buildDepError "dlist")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghc-boot.nix index 566adbd0..6d0682e4 100644 --- a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghc-boot.nix +++ b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghc-boot.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghc.nix index bd115c87..97b70de0 100644 --- a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghc.nix +++ b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghc.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; @@ -77,31 +46,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ((([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."hpc" or (errorHandler.buildDepError "hpc")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple")); + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (errorHandler.buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple")); build-tools = [ - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) + (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex"))) + (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy"))) ]; buildable = true; modules = [ diff --git a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghci.nix index a8b56f61..2da9acee 100644 --- a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghci.nix +++ b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/ghci.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { ghci = false; }; package = { @@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "GHCi/BreakArray" diff --git a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/iserv-proxy.nix index 0d0aaa46..1762d9de 100644 --- a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/iserv-proxy.nix +++ b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/iserv-proxy.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv-proxy" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/iserv.nix index cb221bf0..12ac7653 100644 --- a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/iserv.nix +++ b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "iserv" = { depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; cSources = [ "cbits/iservmain.c" ]; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/libiserv.nix index 5f12cf49..95ec0f7c 100644 --- a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/libiserv.nix +++ b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/libiserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { network = false; }; package = { @@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."ghci" or (buildDepError "ghci")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."ghci" or (errorHandler.buildDepError "ghci")) ] ++ (pkgs.lib).optionals (flags.network) [ - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + ]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; modules = [ "Lib" diff --git a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/remote-iserv.nix index da355276..10e0bb11 100644 --- a/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/remote-iserv.nix +++ b/materialized/ghc-extra-projects/windows/ghc883/.plan.nix/remote-iserv.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "remote-iserv" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."libiserv" or (buildDepError "libiserv")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv")) ]; buildable = true; hsSourceDirs = [ "src" ]; diff --git a/materialized/ghcjs/.plan.nix/ghc-api-ghcjs.nix b/materialized/ghcjs/.plan.nix/ghc-api-ghcjs.nix deleted file mode 100644 index a507e39c..00000000 --- a/materialized/ghcjs/.plan.nix/ghc-api-ghcjs.nix +++ /dev/null @@ -1,620 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { - debug = false; - ghci = true; - stage1 = false; - stage2 = true; - stage3 = false; - terminfo = true; - use-host-template-haskell = false; - }; - package = { - specVersion = "2.0"; - identifier = { name = "ghc-api-ghcjs"; version = "8.6.5"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "glasgow-haskell-users@haskell.org"; - author = "The GHC Team"; - homepage = "http://www.haskell.org/ghc/"; - url = ""; - synopsis = "The GHC API (customized for GHCJS)"; - description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ - "compiler/utils/md5.h" - "compiler/Unique.h" - "compiler/HsVersions.h" - "compiler/nativeGen/NCG.h" - "compiler/parser/cutils.h" - "compiler/utils/md5.h" - "includes/CodeGen.Platform.hs" - "autogen/Config.hs" - "autogen/864/Config.hs" - "autogen/863/Config.hs" - "includes/GHCConstantsHaskellExports.hs" - "includes/GHCConstantsHaskellType.hs" - "includes/GHCConstantsHaskellWrappers.hs" - "includes/*.h" - "includes/*.hs-incl" - "includes/rts/*.h" - "includes/rts/storage/*.h" - "includes/stg/*.h" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = ([ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."hpc" or (buildDepError "hpc")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - ] ++ (if flags.use-host-template-haskell || compiler.isGhcjs && true - then [ - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."ghci" or (buildDepError "ghci")) - ] - else [ - (hsPkgs."template-haskell-ghcjs" or (buildDepError "template-haskell-ghcjs")) - (hsPkgs."ghci-ghcjs" or (buildDepError "ghci-ghcjs")) - ])) ++ (if system.isWindows - then [ (hsPkgs."Win32" or (buildDepError "Win32")) ] - else [ - (hsPkgs."unix" or (buildDepError "unix")) - ] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo"))); - build-tools = [ - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex"))) - (hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy"))) - ]; - buildable = true; - modules = [ - "GhcPrelude" - "Ar" - "FileCleanup" - "DriverBkp" - "BkpSyn" - "NameShape" - "RnModIface" - "Avail" - "AsmUtils" - "BasicTypes" - "ConLike" - "DataCon" - "PatSyn" - "Demand" - "Debug" - "Exception" - "FieldLabel" - "GhcMonad" - "Hooks" - "Id" - "IdInfo" - "Lexeme" - "Literal" - "Llvm" - "Llvm/AbsSyn" - "Llvm/MetaData" - "Llvm/PpLlvm" - "Llvm/Types" - "LlvmCodeGen" - "LlvmCodeGen/Base" - "LlvmCodeGen/CodeGen" - "LlvmCodeGen/Data" - "LlvmCodeGen/Ppr" - "LlvmCodeGen/Regs" - "LlvmMangler" - "MkId" - "Module" - "Name" - "NameEnv" - "NameSet" - "OccName" - "RdrName" - "NameCache" - "SrcLoc" - "UniqSupply" - "Unique" - "Var" - "VarEnv" - "VarSet" - "UnVarGraph" - "BlockId" - "CLabel" - "Cmm" - "CmmBuildInfoTables" - "CmmPipeline" - "CmmCallConv" - "CmmCommonBlockElim" - "CmmImplementSwitchPlans" - "CmmContFlowOpt" - "CmmExpr" - "CmmInfo" - "CmmLex" - "CmmLint" - "CmmLive" - "CmmMachOp" - "CmmMonad" - "CmmSwitch" - "CmmNode" - "CmmOpt" - "CmmParse" - "CmmProcPoint" - "CmmSink" - "CmmType" - "CmmUtils" - "CmmLayoutStack" - "EnumSet" - "MkGraph" - "PprBase" - "PprC" - "PprCmm" - "PprCmmDecl" - "PprCmmExpr" - "Bitmap" - "CodeGen/Platform" - "CodeGen/Platform/ARM" - "CodeGen/Platform/ARM64" - "CodeGen/Platform/NoRegs" - "CodeGen/Platform/PPC" - "CodeGen/Platform/PPC_Darwin" - "CodeGen/Platform/SPARC" - "CodeGen/Platform/X86" - "CodeGen/Platform/X86_64" - "CgUtils" - "StgCmm" - "StgCmmBind" - "StgCmmClosure" - "StgCmmCon" - "StgCmmEnv" - "StgCmmExpr" - "StgCmmForeign" - "StgCmmHeap" - "StgCmmHpc" - "StgCmmArgRep" - "StgCmmLayout" - "StgCmmMonad" - "StgCmmPrim" - "StgCmmProf" - "StgCmmTicky" - "StgCmmUtils" - "StgCmmExtCode" - "SMRep" - "CoreArity" - "CoreFVs" - "CoreLint" - "CorePrep" - "CoreSubst" - "CoreOpt" - "CoreSyn" - "TrieMap" - "CoreTidy" - "CoreUnfold" - "CoreUtils" - "CoreMap" - "CoreSeq" - "CoreStats" - "MkCore" - "PprCore" - "PmExpr" - "TmOracle" - "Check" - "Coverage" - "Desugar" - "DsArrows" - "DsBinds" - "DsCCall" - "DsExpr" - "DsForeign" - "DsGRHSs" - "DsListComp" - "DsMonad" - "DsUsage" - "DsUtils" - "ExtractDocs" - "Match" - "MatchCon" - "MatchLit" - "HsBinds" - "HsDecls" - "HsDoc" - "HsExpr" - "HsImpExp" - "HsLit" - "PlaceHolder" - "HsExtension" - "HsInstances" - "HsPat" - "HsSyn" - "HsTypes" - "HsUtils" - "HsDumpAst" - "BinIface" - "BinFingerprint" - "BuildTyCl" - "IfaceEnv" - "IfaceSyn" - "IfaceType" - "ToIface" - "LoadIface" - "MkIface" - "TcIface" - "FlagChecker" - "Annotations" - "CmdLineParser" - "CodeOutput" - "Config" - "Constants" - "DriverMkDepend" - "DriverPhases" - "PipelineMonad" - "DriverPipeline" - "DynFlags" - "ErrUtils" - "Finder" - "GHC" - "GhcMake" - "GhcPlugins" - "DynamicLoading" - "HeaderInfo" - "HscMain" - "HscStats" - "HscTypes" - "InteractiveEval" - "InteractiveEvalTypes" - "PackageConfig" - "Packages" - "PlatformConstants" - "Plugins" - "TcPluginM" - "PprTyThing" - "StaticPtrTable" - "SysTools" - "SysTools/BaseDir" - "SysTools/Terminal" - "SysTools/ExtraObj" - "SysTools/Info" - "SysTools/Process" - "SysTools/Tasks" - "Elf" - "TidyPgm" - "Ctype" - "HaddockUtils" - "Lexer" - "OptCoercion" - "Parser" - "RdrHsSyn" - "ApiAnnotation" - "ForeignCall" - "KnownUniques" - "PrelInfo" - "PrelNames" - "PrelRules" - "PrimOp" - "TysPrim" - "TysWiredIn" - "CostCentre" - "CostCentreState" - "ProfInit" - "RnBinds" - "RnEnv" - "RnExpr" - "RnHsDoc" - "RnNames" - "RnPat" - "RnSource" - "RnSplice" - "RnTypes" - "RnFixity" - "RnUtils" - "RnUnbound" - "CoreMonad" - "CSE" - "FloatIn" - "FloatOut" - "LiberateCase" - "OccurAnal" - "SAT" - "SetLevels" - "SimplCore" - "SimplEnv" - "SimplMonad" - "SimplUtils" - "Simplify" - "SimplStg" - "StgStats" - "StgCse" - "UnariseStg" - "RepType" - "Rules" - "SpecConstr" - "Specialise" - "CoreToStg" - "StgLint" - "StgSyn" - "CallArity" - "DmdAnal" - "Exitify" - "WorkWrap" - "WwLib" - "FamInst" - "Inst" - "TcAnnotations" - "TcArrows" - "TcBinds" - "TcSigs" - "TcClassDcl" - "TcDefaults" - "TcDeriv" - "TcDerivInfer" - "TcDerivUtils" - "TcEnv" - "TcExpr" - "TcForeign" - "TcGenDeriv" - "TcGenFunctor" - "TcGenGenerics" - "TcHsSyn" - "TcHsType" - "TcInstDcls" - "TcMType" - "TcValidity" - "TcMatches" - "TcPat" - "TcPatSyn" - "TcRnDriver" - "TcBackpack" - "TcRnExports" - "TcRnMonad" - "TcRnTypes" - "TcRules" - "TcSimplify" - "TcHoleErrors" - "TcErrors" - "TcTyClsDecls" - "TcTyDecls" - "TcTypeable" - "TcType" - "TcEvidence" - "TcEvTerm" - "TcUnify" - "TcInteract" - "TcCanonical" - "TcFlatten" - "TcSMonad" - "TcTypeNats" - "TcSplice" - "Class" - "Coercion" - "DsMeta" - "THNames" - "FamInstEnv" - "FunDeps" - "InstEnv" - "TyCon" - "CoAxiom" - "Kind" - "Type" - "TyCoRep" - "Unify" - "Bag" - "Binary" - "BooleanFormula" - "BufWrite" - "Digraph" - "Encoding" - "FastFunctions" - "FastMutInt" - "FastString" - "FastStringEnv" - "Fingerprint" - "FiniteMap" - "FV" - "GraphBase" - "GraphColor" - "GraphOps" - "GraphPpr" - "IOEnv" - "Json" - "ListSetOps" - "ListT" - "Maybes" - "MonadUtils" - "OrdList" - "Outputable" - "Pair" - "Panic" - "PprColour" - "Pretty" - "State" - "Stream" - "StringBuffer" - "UniqDFM" - "UniqDSet" - "UniqFM" - "UniqMap" - "UniqSet" - "Util" - "Hoopl/Block" - "Hoopl/Collections" - "Hoopl/Dataflow" - "Hoopl/Graph" - "Hoopl/Label" - "AsmCodeGen" - "TargetReg" - "NCGMonad" - "Instruction" - "Format" - "Reg" - "RegClass" - "PIC" - "Platform" - "CPrim" - "X86/Regs" - "X86/RegInfo" - "X86/Instr" - "X86/Cond" - "X86/Ppr" - "X86/CodeGen" - "PPC/Regs" - "PPC/RegInfo" - "PPC/Instr" - "PPC/Cond" - "PPC/Ppr" - "PPC/CodeGen" - "SPARC/Base" - "SPARC/Regs" - "SPARC/Imm" - "SPARC/AddrMode" - "SPARC/Cond" - "SPARC/Instr" - "SPARC/Stack" - "SPARC/ShortcutJump" - "SPARC/Ppr" - "SPARC/CodeGen" - "SPARC/CodeGen/Amode" - "SPARC/CodeGen/Base" - "SPARC/CodeGen/CondCode" - "SPARC/CodeGen/Gen32" - "SPARC/CodeGen/Gen64" - "SPARC/CodeGen/Sanity" - "SPARC/CodeGen/Expand" - "RegAlloc/Liveness" - "RegAlloc/Graph/Main" - "RegAlloc/Graph/Stats" - "RegAlloc/Graph/ArchBase" - "RegAlloc/Graph/ArchX86" - "RegAlloc/Graph/Coalesce" - "RegAlloc/Graph/Spill" - "RegAlloc/Graph/SpillClean" - "RegAlloc/Graph/SpillCost" - "RegAlloc/Graph/TrivColorable" - "RegAlloc/Linear/Main" - "RegAlloc/Linear/JoinToTargets" - "RegAlloc/Linear/State" - "RegAlloc/Linear/Stats" - "RegAlloc/Linear/FreeRegs" - "RegAlloc/Linear/StackMap" - "RegAlloc/Linear/Base" - "RegAlloc/Linear/X86/FreeRegs" - "RegAlloc/Linear/X86_64/FreeRegs" - "RegAlloc/Linear/PPC/FreeRegs" - "RegAlloc/Linear/SPARC/FreeRegs" - "Dwarf" - "Dwarf/Types" - "Dwarf/Constants" - "Convert" - "ByteCodeTypes" - "ByteCodeAsm" - "ByteCodeGen" - "ByteCodeInstr" - "ByteCodeItbls" - "ByteCodeLink" - "Debugger" - "Linker" - "RtClosureInspect" - "GHCi" - ]; - cSources = [ - "compiler/parser/cutils.c" - "compiler/ghci/keepCAFsForGHCi.c" - "compiler/cbits/genSym.c" - ]; - hsSourceDirs = [ - "compiler/backpack" - "compiler/basicTypes" - "compiler/cmm" - "compiler/codeGen" - "compiler/coreSyn" - "compiler/deSugar" - "compiler/ghci" - "compiler/hsSyn" - "compiler/iface" - "compiler/llvmGen" - "compiler/main" - "compiler/nativeGen" - "compiler/parser" - "compiler/prelude" - "compiler/profiling" - "compiler/rename" - "compiler/simplCore" - "compiler/simplStg" - "compiler/specialise" - "compiler/stgSyn" - "compiler/stranal" - "compiler/typecheck" - "compiler/types" - "compiler/utils" - ] ++ (if compiler.isGhc && (compiler.version).eq "8.6.3" - then [ "autogen/863" ] - else if compiler.isGhc && (compiler.version).eq "8.6.4" - then [ "autogen/864" ] - else [ "autogen" ]); - includeDirs = [ - "compiler" - "compiler/parser" - "compiler/utils" - "includes" - "autogen" - ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../lib/ghc-api-ghcjs; } \ No newline at end of file diff --git a/materialized/ghcjs/.plan.nix/ghci-ghcjs.nix b/materialized/ghcjs/.plan.nix/ghci-ghcjs.nix deleted file mode 100644 index b12b36ca..00000000 --- a/materialized/ghcjs/.plan.nix/ghci-ghcjs.nix +++ /dev/null @@ -1,101 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { ghci = true; }; - package = { - specVersion = "1.10"; - identifier = { name = "ghci-ghcjs"; version = "8.6.1"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "ghc-devs@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "The library supporting GHC's interactive interpreter (customized for GHCJS)"; - description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."ghc-heap" or (buildDepError "ghc-heap")) - (hsPkgs."template-haskell-ghcjs" or (buildDepError "template-haskell-ghcjs")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix")); - buildable = true; - modules = [ - "GHCi/BreakArray" - "GHCi/BinaryArray" - "GHCi/Message" - "GHCi/ResolvedBCO" - "GHCi/RemoteTypes" - "GHCi/FFI" - "GHCi/InfoTable" - "GHCi/StaticPtrTable" - "GHCi/TH/Binary" - "SizedSeq" - ] ++ (pkgs.lib).optionals (flags.ghci) [ - "GHCi/Run" - "GHCi/CreateBCO" - "GHCi/ObjLink" - "GHCi/Signals" - "GHCi/TH" - ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../lib/ghci-ghcjs; } \ No newline at end of file diff --git a/materialized/ghcjs/.plan.nix/ghcjs-th.nix b/materialized/ghcjs/.plan.nix/ghcjs-th.nix deleted file mode 100644 index 72eefeba..00000000 --- a/materialized/ghcjs/.plan.nix/ghcjs-th.nix +++ /dev/null @@ -1,89 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { use-host-template-haskell = false; }; - package = { - specVersion = "1.10"; - identifier = { name = "ghcjs-th"; version = "0.1.0.0"; }; - license = "MIT"; - copyright = ""; - maintainer = "stegeman@gmail.com"; - author = "Luite Stegeman"; - homepage = "http://github.com/ghcjs"; - url = ""; - synopsis = ""; - description = ""; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = []; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-prim" or (buildDepError "ghc-prim")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - ] ++ (if compiler.isGhcjs && true || flags.use-host-template-haskell - then [ - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."ghci" or (buildDepError "ghci")) - ] - else [ - (hsPkgs."template-haskell-ghcjs" or (buildDepError "template-haskell-ghcjs")) - (hsPkgs."ghci-ghcjs" or (buildDepError "ghci-ghcjs")) - ]); - buildable = true; - modules = [ - "GHCJS/Prim/TH/Eval" - "GHCJS/Prim/TH/Serialized" - "GHCJS/Prim/TH/Types" - ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../lib/ghcjs-th; } \ No newline at end of file diff --git a/materialized/ghcjs/.plan.nix/ghcjs.nix b/materialized/ghcjs/.plan.nix/ghcjs.nix deleted file mode 100644 index 8b6580e8..00000000 --- a/materialized/ghcjs/.plan.nix/ghcjs.nix +++ /dev/null @@ -1,362 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = { - compiler-only = false; - no-wrapper-install = false; - disable-optimizer = false; - runtime-assertions = false; - use-host-template-haskell = false; - }; - package = { - specVersion = "2.0"; - identifier = { name = "ghcjs"; version = "8.6.5"; }; - license = "MIT"; - copyright = "Victor Nazarov, Hamish Mackenzie, Luite Stegeman"; - maintainer = "Luite Stegeman "; - author = "Victor Nazarov, Hamish Mackenzie, Luite Stegeman"; - homepage = ""; - url = ""; - synopsis = "Haskell to JavaScript compiler"; - description = "Haskell to JavaScript compiler based on GHC"; - buildType = "Custom"; - isLocal = true; - setup-depends = [ - (hsPkgs.buildPackages.base or (pkgs.buildPackages.base or (buildToolDepError "base"))) - (hsPkgs.buildPackages.Cabal or (pkgs.buildPackages.Cabal or (buildToolDepError "Cabal"))) - (hsPkgs.buildPackages.containers or (pkgs.buildPackages.containers or (buildToolDepError "containers"))) - (hsPkgs.buildPackages.filepath or (pkgs.buildPackages.filepath or (buildToolDepError "filepath"))) - (hsPkgs.buildPackages.directory or (pkgs.buildPackages.directory or (buildToolDepError "directory"))) - (hsPkgs.buildPackages.process or (pkgs.buildPackages.process or (buildToolDepError "process"))) - (hsPkgs.buildPackages.template-haskell or (pkgs.buildPackages.template-haskell or (buildToolDepError "template-haskell"))) - (hsPkgs.buildPackages.transformers or (pkgs.buildPackages.transformers or (buildToolDepError "transformers"))) - ]; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "data"; - dataFiles = [ "*.tar" "bin/*.sh" "bin/*.exe.options" ]; - extraSrcFiles = [ - "utils/*.hs" - "utils/*.sh" - "include/prim/*.hs-incl" - "include/prim/*.txt" - "include/*.h" - "src-bin/haddock/*.hs" - "HACKING.markdown" - "README.markdown" - "test/LICENSE" - "test/ghcjs-testsuite.cabal" - "stack.yaml" - ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."Cabal" or (buildDepError "Cabal")) - (hsPkgs."ghc-api-ghcjs" or (buildDepError "ghc-api-ghcjs")) - (hsPkgs."ghcjs-th" or (buildDepError "ghcjs-th")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."ghc-paths" or (buildDepError "ghc-paths")) - (hsPkgs."template-haskell" or (buildDepError "template-haskell")) - (hsPkgs."syb" or (buildDepError "syb")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."attoparsec" or (buildDepError "attoparsec")) - (hsPkgs."aeson" or (buildDepError "aeson")) - (hsPkgs."text" or (buildDepError "text")) - (hsPkgs."wl-pprint-text" or (buildDepError "wl-pprint-text")) - (hsPkgs."lens" or (buildDepError "lens")) - (hsPkgs."yaml" or (buildDepError "yaml")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."split" or (buildDepError "split")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."vector" or (buildDepError "vector")) - (hsPkgs."data-default" or (buildDepError "data-default")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."unordered-containers" or (buildDepError "unordered-containers")) - (hsPkgs."parallel" or (buildDepError "parallel")) - (hsPkgs."cryptohash" or (buildDepError "cryptohash")) - (hsPkgs."hashable" or (buildDepError "hashable")) - (hsPkgs."optparse-applicative" or (buildDepError "optparse-applicative")) - (hsPkgs."stringsearch" or (buildDepError "stringsearch")) - (hsPkgs."base16-bytestring" or (buildDepError "base16-bytestring")) - (hsPkgs."base64-bytestring" or (buildDepError "base64-bytestring")) - (hsPkgs."regex-posix" or (buildDepError "regex-posix")) - (hsPkgs."safe" or (buildDepError "safe")) - (hsPkgs."parsec" or (buildDepError "parsec")) - (hsPkgs."haskell-src-exts" or (buildDepError "haskell-src-exts")) - (hsPkgs."haskell-src-meta" or (buildDepError "haskell-src-meta")) - ] ++ (if flags.use-host-template-haskell - then [ (hsPkgs."ghci" or (buildDepError "ghci")) ] - else [ - (hsPkgs."template-haskell-ghcjs" or (buildDepError "template-haskell-ghcjs")) - (hsPkgs."ghci-ghcjs" or (buildDepError "ghci-ghcjs")) - ]); - buildable = true; - modules = [ - "Paths_ghcjs" - "Gen2/Generator" - "Gen2/Profiling" - "Gen2/Floater" - "Gen2/Prim" - "Gen2/Rts" - "Gen2/RtsApply" - "Gen2/RtsTypes" - "Gen2/RtsAlloc" - "Gen2/Utils" - "Gen2/StgAst" - "Gen2/Optimizer" - "Gen2/Dataflow" - "Gen2/Deps" - "Gen2/Printer" - "Gen2/Linker" - "Gen2/Shim" - "Gen2/Compactor" - "Gen2/Object" - "Gen2/Archive" - "Gen2/ClosureInfo" - "Gen2/Foreign" - "Gen2/Sinker" - "Gen2/TH" - "Gen2/Base" - "Gen2/Cache" - "Gen2/DynamicLinking" - "Gen2/GHC/Digraph" - "Gen2/GHC/DsForeign" - "Compiler/Compat" - "Compiler/GhcjsHooks" - "Compiler/GhcjsPlatform" - "Compiler/Info" - "Compiler/Plugins" - "Compiler/Program" - "Compiler/GhcjsProgram" - "Compiler/Settings" - "Compiler/Utils" - "Compiler/Variants" - "Compiler/JMacro" - "Compiler/JMacro/Base" - "Compiler/JMacro/Lens" - "Compiler/JMacro/QQ" - "Compiler/JMacro/ParseTH" - "Compiler/JMacro/Util" - "GHCJS" - ]; - hsSourceDirs = [ "src" ]; - includeDirs = [ "include" ]; - }; - exes = { - "ghcjs" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghcjs" or (buildDepError "ghcjs")) - ]; - buildable = true; - hsSourceDirs = [ "src-bin" ]; - mainPath = [ "Main.hs" ]; - }; - "haddock-ghcjs" = { - depends = [ - (hsPkgs."ghc-api-ghcjs" or (buildDepError "ghc-api-ghcjs")) - (hsPkgs."haddock-api-ghcjs" or (buildDepError "haddock-api-ghcjs")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."transformers-compat" or (buildDepError "transformers-compat")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghcjs" or (buildDepError "ghcjs")) - ]; - buildable = true; - modules = [ "ResponseFile" ]; - hsSourceDirs = [ "src-bin" "src-bin/haddock" ]; - mainPath = [ - "Haddock.hs" - ] ++ (pkgs.lib).optional (system.isWindows) ""; - }; - "hsc2hs-ghcjs" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghcjs" or (buildDepError "ghcjs")) - (hsPkgs."process" or (buildDepError "process")) - ]; - buildable = true; - hsSourceDirs = [ "src-bin" ]; - mainPath = [ - "Hsc2Hs.hs" - ] ++ (pkgs.lib).optional (system.isWindows) ""; - }; - "ghcjs-pkg" = { - depends = [ - (hsPkgs."ghcjs" or (buildDepError "ghcjs")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."Cabal" or (buildDepError "Cabal")) - (hsPkgs."binary" or (buildDepError "binary")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - ] ++ (pkgs.lib).optionals (!system.isWindows) [ - (hsPkgs."unix" or (buildDepError "unix")) - (hsPkgs."terminfo" or (buildDepError "terminfo")) - ]; - buildable = if flags.compiler-only then false else true; - cSources = (pkgs.lib).optional (system.isWindows) "cbits/CRT_noglob.c"; - hsSourceDirs = [ "src-bin" ]; - mainPath = (([ - "Pkg.hs" - ] ++ (pkgs.lib).optional (flags.compiler-only) "") ++ (pkgs.lib).optional (!system.isWindows) "") ++ (pkgs.lib).optional (system.isWindows) ""; - }; - "ghcjs-boot" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghcjs" or (buildDepError "ghcjs")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."Cabal" or (buildDepError "Cabal")) - (hsPkgs."mtl" or (buildDepError "mtl")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."lens" or (buildDepError "lens")) - (hsPkgs."unordered-containers" or (buildDepError "unordered-containers")) - (hsPkgs."vector" or (buildDepError "vector")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."aeson" or (buildDepError "aeson")) - (hsPkgs."text" or (buildDepError "text")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."system-filepath" or (buildDepError "system-filepath")) - (hsPkgs."shelly" or (buildDepError "shelly")) - (hsPkgs."system-fileio" or (buildDepError "system-fileio")) - (hsPkgs."optparse-applicative" or (buildDepError "optparse-applicative")) - (hsPkgs."tar" or (buildDepError "tar")) - (hsPkgs."yaml" or (buildDepError "yaml")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."unix-compat" or (buildDepError "unix-compat")) - (hsPkgs."executable-path" or (buildDepError "executable-path")) - ]; - buildable = if flags.compiler-only then false else true; - hsSourceDirs = [ "src-bin" ]; - mainPath = ([ - "Boot.hs" - ] ++ (pkgs.lib).optional (flags.compiler-only) "") ++ (pkgs.lib).optional (system.isWindows) ""; - }; - "ghcjs-run" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]; - buildable = if flags.compiler-only then false else true; - hsSourceDirs = [ "src-bin" ]; - mainPath = ([ - "Run.hs" - ] ++ (pkgs.lib).optional (flags.compiler-only) "") ++ (pkgs.lib).optional (system.isWindows) ""; - }; - "ghcjs-dumparchive" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."text" or (buildDepError "text")) - (hsPkgs."ghc-api-ghcjs" or (buildDepError "ghc-api-ghcjs")) - (hsPkgs."ghcjs" or (buildDepError "ghcjs")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."filepath" or (buildDepError "filepath")) - ]; - buildable = if flags.compiler-only then false else true; - hsSourceDirs = [ "utils" ]; - mainPath = ([ - "dumpArchive.hs" - ] ++ (pkgs.lib).optional (flags.compiler-only) "") ++ (pkgs.lib).optional (system.isWindows) ""; - }; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."process" or (buildDepError "process")) - (hsPkgs."network" or (buildDepError "network")) - (hsPkgs."aeson" or (buildDepError "aeson")) - (hsPkgs."test-framework" or (buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit")) - (hsPkgs."HUnit" or (buildDepError "HUnit")) - (hsPkgs."system-filepath" or (buildDepError "system-filepath")) - (hsPkgs."system-fileio" or (buildDepError "system-fileio")) - (hsPkgs."text" or (buildDepError "text")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."lens" or (buildDepError "lens")) - (hsPkgs."random" or (buildDepError "random")) - (hsPkgs."time" or (buildDepError "time")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."unordered-containers" or (buildDepError "unordered-containers")) - (hsPkgs."shelly" or (buildDepError "shelly")) - (hsPkgs."data-default" or (buildDepError "data-default")) - (hsPkgs."yaml" or (buildDepError "yaml")) - (hsPkgs."optparse-applicative" or (buildDepError "optparse-applicative")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."http-types" or (buildDepError "http-types")) - (hsPkgs."warp" or (buildDepError "warp")) - (hsPkgs."wai" or (buildDepError "wai")) - (hsPkgs."wai-extra" or (buildDepError "wai-extra")) - (hsPkgs."wai-app-static" or (buildDepError "wai-app-static")) - (hsPkgs."wai-websockets" or (buildDepError "wai-websockets")) - (hsPkgs."websockets" or (buildDepError "websockets")) - (hsPkgs."webdriver" or (buildDepError "webdriver")) - (hsPkgs."lifted-base" or (buildDepError "lifted-base")) - ]; - buildable = true; - modules = [ "Server" "Client" "Types" ]; - hsSourceDirs = [ "test" ]; - mainPath = [ "TestRunner.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../.; } \ No newline at end of file diff --git a/materialized/ghcjs/.plan.nix/haddock-api-ghcjs.nix b/materialized/ghcjs/.plan.nix/haddock-api-ghcjs.nix deleted file mode 100644 index 4b4ad53b..00000000 --- a/materialized/ghcjs/.plan.nix/haddock-api-ghcjs.nix +++ /dev/null @@ -1,215 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "2.0"; - identifier = { name = "haddock-api-ghcjs"; version = "2.20.0"; }; - license = "BSD-3-Clause"; - copyright = "(c) Simon Marlow, David Waern"; - maintainer = "Alex Biehl , Simon Hengel , Mateusz Kowalczyk "; - author = "Simon Marlow, David Waern"; - homepage = "http://www.haskell.org/haddock/"; - url = ""; - synopsis = "A documentation-generation tool for Haskell libraries"; - description = "Haddock is a documentation-generation tool for Haskell\nlibraries"; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = "resources"; - dataFiles = [ - "html/quick-jump.min.js" - "html/haddock-bundle.min.js" - "html/quick-jump.css" - "html/solarized.css" - "html/highlight.js" - "html/Classic.theme/haskell_icon.gif" - "html/Classic.theme/minus.gif" - "html/Classic.theme/plus.gif" - "html/Classic.theme/xhaddock.css" - "html/Ocean.std-theme/hslogo-16.png" - "html/Ocean.std-theme/minus.gif" - "html/Ocean.std-theme/ocean.css" - "html/Ocean.std-theme/plus.gif" - "html/Ocean.std-theme/synopsis.png" - "latex/haddock.sty" - ]; - extraSrcFiles = [ "CHANGES.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."Cabal" or (buildDepError "Cabal")) - (hsPkgs."ghc-api-ghcjs" or (buildDepError "ghc-api-ghcjs")) - (hsPkgs."ghc-paths" or (buildDepError "ghc-paths")) - (hsPkgs."haddock-library-ghcjs" or (buildDepError "haddock-library-ghcjs")) - (hsPkgs."xhtml" or (buildDepError "xhtml")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ]; - buildable = true; - modules = [ - "Haddock" - "Haddock/Interface" - "Haddock/Interface/Rename" - "Haddock/Interface/Create" - "Haddock/Interface/AttachInstances" - "Haddock/Interface/Json" - "Haddock/Interface/LexParseRn" - "Haddock/Interface/ParseModuleHeader" - "Haddock/Interface/Specialize" - "Haddock/Parser" - "Haddock/Utils" - "Haddock/Utils/Json" - "Haddock/Backends/Xhtml" - "Haddock/Backends/Xhtml/Decl" - "Haddock/Backends/Xhtml/DocMarkup" - "Haddock/Backends/Xhtml/Layout" - "Haddock/Backends/Xhtml/Meta" - "Haddock/Backends/Xhtml/Names" - "Haddock/Backends/Xhtml/Themes" - "Haddock/Backends/Xhtml/Types" - "Haddock/Backends/Xhtml/Utils" - "Haddock/Backends/LaTeX" - "Haddock/Backends/HaddockDB" - "Haddock/Backends/Hoogle" - "Haddock/Backends/Hyperlinker" - "Haddock/Backends/Hyperlinker/Ast" - "Haddock/Backends/Hyperlinker/Parser" - "Haddock/Backends/Hyperlinker/Renderer" - "Haddock/Backends/Hyperlinker/Types" - "Haddock/Backends/Hyperlinker/Utils" - "Haddock/ModuleTree" - "Haddock/Types" - "Haddock/Doc" - "Haddock/Version" - "Haddock/InterfaceFile" - "Haddock/Options" - "Haddock/GhcUtils" - "Haddock/Syb" - "Haddock/Convert" - "Paths_haddock_api_ghcjs" - "Documentation/Haddock" - ]; - hsSourceDirs = [ "src" ]; - }; - tests = { - "spec" = { - depends = [ - (hsPkgs."Cabal" or (buildDepError "Cabal")) - (hsPkgs."ghc-api-ghcjs" or (buildDepError "ghc-api-ghcjs")) - (hsPkgs."ghc-paths" or (buildDepError "ghc-paths")) - (hsPkgs."haddock-library-ghcjs" or (buildDepError "haddock-library-ghcjs")) - (hsPkgs."xhtml" or (buildDepError "xhtml")) - (hsPkgs."hspec" or (buildDepError "hspec")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."ghc-boot" or (buildDepError "ghc-boot")) - (hsPkgs."transformers" or (buildDepError "transformers")) - ]; - build-tools = [ - (hsPkgs.buildPackages.hspec-discover or (pkgs.buildPackages.hspec-discover or (buildToolDepError "hspec-discover"))) - ]; - buildable = true; - modules = [ - "Haddock" - "Haddock/Backends/Hoogle" - "Haddock/Backends/Hyperlinker" - "Haddock/Backends/Hyperlinker/Ast" - "Haddock/Backends/Hyperlinker/Renderer" - "Haddock/Backends/Hyperlinker/Utils" - "Haddock/Backends/LaTeX" - "Haddock/Backends/Xhtml" - "Haddock/Backends/Xhtml/Decl" - "Haddock/Backends/Xhtml/DocMarkup" - "Haddock/Backends/Xhtml/Layout" - "Haddock/Backends/Xhtml/Meta" - "Haddock/Backends/Xhtml/Names" - "Haddock/Backends/Xhtml/Themes" - "Haddock/Backends/Xhtml/Types" - "Haddock/Backends/Xhtml/Utils" - "Haddock/Convert" - "Haddock/Doc" - "Haddock/GhcUtils" - "Haddock/Interface" - "Haddock/Interface/AttachInstances" - "Haddock/Interface/Create" - "Haddock/Interface/Json" - "Haddock/Interface/LexParseRn" - "Haddock/Interface/ParseModuleHeader" - "Haddock/Interface/Rename" - "Haddock/Interface/Specialize" - "Haddock/InterfaceFile" - "Haddock/ModuleTree" - "Haddock/Options" - "Haddock/Parser" - "Haddock/Syb" - "Haddock/Types" - "Haddock/Utils" - "Haddock/Utils/Json" - "Haddock/Version" - "Paths_haddock_api_ghcjs" - "Haddock/Backends/Hyperlinker/ParserSpec" - "Haddock/Backends/Hyperlinker/Parser" - "Haddock/Backends/Hyperlinker/Types" - ]; - hsSourceDirs = [ "test" "src" ]; - mainPath = [ "Spec.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../lib/haddock-api-ghcjs; } \ No newline at end of file diff --git a/materialized/ghcjs/.plan.nix/haddock-library-ghcjs.nix b/materialized/ghcjs/.plan.nix/haddock-library-ghcjs.nix deleted file mode 100644 index 0d78d46d..00000000 --- a/materialized/ghcjs/.plan.nix/haddock-library-ghcjs.nix +++ /dev/null @@ -1,134 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "2.0"; - identifier = { name = "haddock-library-ghcjs"; version = "1.6.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "Alex Biehl , Simon Hengel , Mateusz Kowalczyk "; - author = ""; - homepage = "http://www.haskell.org/haddock/"; - url = ""; - synopsis = "Library exposing some functionality of Haddock."; - description = "Haddock is a documentation-generation tool for Haskell\nlibraries. These modules expose some functionality of it\nwithout pulling in the GHC dependency. Please note that the\nAPI is likely to change so specify upper bounds in your\nproject if you can't release often. For interacting with Haddock\nitself, see the ‘haddock’ package."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "CHANGES.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."text" or (buildDepError "text")) - (hsPkgs."parsec" or (buildDepError "parsec")) - ]; - buildable = true; - modules = [ - "Documentation/Haddock/Parser/Util" - "Documentation/Haddock/Doc" - "Documentation/Haddock/Markup" - "Documentation/Haddock/Parser" - "Documentation/Haddock/Parser/Monad" - "Documentation/Haddock/Types" - "Documentation/Haddock/Utf8" - ]; - hsSourceDirs = [ "src" ]; - }; - tests = { - "spec" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."base-compat" or (buildDepError "base-compat")) - (hsPkgs."bytestring" or (buildDepError "bytestring")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."transformers" or (buildDepError "transformers")) - (hsPkgs."hspec" or (buildDepError "hspec")) - (hsPkgs."QuickCheck" or (buildDepError "QuickCheck")) - (hsPkgs."text" or (buildDepError "text")) - (hsPkgs."parsec" or (buildDepError "parsec")) - (hsPkgs."deepseq" or (buildDepError "deepseq")) - ]; - build-tools = [ - (hsPkgs.buildPackages.hspec-discover or (pkgs.buildPackages.hspec-discover or (buildToolDepError "hspec-discover"))) - ]; - buildable = true; - modules = [ - "Documentation/Haddock/Doc" - "Documentation/Haddock/Parser" - "Documentation/Haddock/Parser/Monad" - "Documentation/Haddock/Parser/Util" - "Documentation/Haddock/Parser/UtilSpec" - "Documentation/Haddock/ParserSpec" - "Documentation/Haddock/Types" - "Documentation/Haddock/Utf8" - "Documentation/Haddock/Utf8Spec" - ]; - hsSourceDirs = [ "test" "src" ]; - mainPath = [ "Spec.hs" ]; - }; - "fixtures" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."base-compat" or (buildDepError "base-compat")) - (hsPkgs."directory" or (buildDepError "directory")) - (hsPkgs."filepath" or (buildDepError "filepath")) - (hsPkgs."optparse-applicative" or (buildDepError "optparse-applicative")) - (hsPkgs."tree-diff" or (buildDepError "tree-diff")) - (hsPkgs."haddock-library" or (buildDepError "haddock-library")) - ]; - buildable = true; - hsSourceDirs = [ "fixtures" ]; - mainPath = [ "Fixtures.hs" ]; - }; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../lib/haddock-library-ghcjs; } \ No newline at end of file diff --git a/materialized/ghcjs/.plan.nix/template-haskell-ghcjs.nix b/materialized/ghcjs/.plan.nix/template-haskell-ghcjs.nix deleted file mode 100644 index d383d7c8..00000000 --- a/materialized/ghcjs/.plan.nix/template-haskell-ghcjs.nix +++ /dev/null @@ -1,85 +0,0 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "template-haskell-ghcjs"; version = "2.14.0.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "libraries@haskell.org"; - author = ""; - homepage = ""; - url = ""; - synopsis = "Support library for Template Haskell (customized for GHCJS)"; - description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee for more\ninformation."; - buildType = "Simple"; - isLocal = true; - detailLevel = "FullDetails"; - licenseFiles = [ "LICENSE" ]; - dataDir = ""; - dataFiles = []; - extraSrcFiles = [ "changelog.md" ]; - extraTmpFiles = []; - extraDocFiles = []; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th")) - (hsPkgs."pretty" or (buildDepError "pretty")) - ]; - buildable = true; - modules = [ - "Language/Haskell/TH/Lib/Map" - "Language/Haskell/TH" - "Language/Haskell/TH/Lib" - "Language/Haskell/TH/Ppr" - "Language/Haskell/TH/PprLib" - "Language/Haskell/TH/Quote" - "Language/Haskell/TH/Syntax" - "Language/Haskell/TH/LanguageExtensions" - "Language/Haskell/TH/Lib/Internal" - ]; - }; - }; - } // rec { src = (pkgs.lib).mkDefault ../lib/template-haskell-ghcjs; } \ No newline at end of file diff --git a/materialized/ghcjs/default.nix b/materialized/ghcjs/default.nix deleted file mode 100644 index a3c29fc6..00000000 --- a/materialized/ghcjs/default.nix +++ /dev/null @@ -1,413 +0,0 @@ -{ - pkgs = hackage: - { - packages = { - "warp".revision = (((hackage."warp")."3.2.28").revisions).default; - "warp".flags.allow-sendfilefd = true; - "warp".flags.network-bytestring = false; - "warp".flags.warp-debug = false; - "test-framework-hunit".revision = (((hackage."test-framework-hunit")."0.3.0.2").revisions).default; - "test-framework-hunit".flags.base4 = true; - "test-framework-hunit".flags.base3 = false; - "http-client".revision = (((hackage."http-client")."0.6.4").revisions).default; - "http-client".flags.network-uri = true; - "haddock-library".revision = (((hackage."haddock-library")."1.8.0").revisions).default; - "wai-websockets".revision = (((hackage."wai-websockets")."3.0.1.2").revisions).default; - "wai-websockets".flags.example = true; - "cookie".revision = (((hackage."cookie")."0.4.5").revisions).default; - "void".revision = (((hackage."void")."0.7.3").revisions).default; - "void".flags.safe = false; - "semigroupoids".revision = (((hackage."semigroupoids")."5.3.4").revisions).default; - "semigroupoids".flags.comonad = true; - "semigroupoids".flags.doctests = true; - "semigroupoids".flags.unordered-containers = true; - "semigroupoids".flags.distributive = true; - "semigroupoids".flags.tagged = true; - "semigroupoids".flags.containers = true; - "semigroupoids".flags.contravariant = true; - "byteorder".revision = (((hackage."byteorder")."1.0.4").revisions).default; - "free".revision = (((hackage."free")."5.1.3").revisions).default; - "tf-random".revision = (((hackage."tf-random")."0.5").revisions).default; - "zip-archive".revision = (((hackage."zip-archive")."0.4.1").revisions).default; - "zip-archive".flags.executable = false; - "exceptions".revision = (((hackage."exceptions")."0.10.3").revisions).default; - "ghc-paths".revision = (((hackage."ghc-paths")."0.1.0.12").revisions).default; - "binary".revision = (((hackage."binary")."0.8.6.0").revisions).default; - "ghc-boot".revision = (((hackage."ghc-boot")."8.6.5").revisions).default; - "wl-pprint-text".revision = (((hackage."wl-pprint-text")."1.2.0.0").revisions).default; - "tar".revision = (((hackage."tar")."0.5.1.1").revisions).default; - "tar".flags.old-time = false; - "tar".flags.old-bytestring = false; - "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; - "old-time".revision = (((hackage."old-time")."1.1.0.3").revisions).default; - "bifunctors".revision = (((hackage."bifunctors")."5.5.6").revisions).default; - "bifunctors".flags.semigroups = true; - "bifunctors".flags.tagged = true; - "split".revision = (((hackage."split")."0.2.3.3").revisions).default; - "stm".revision = (((hackage."stm")."2.5.0.0").revisions).default; - "unix-time".revision = (((hackage."unix-time")."0.4.7").revisions).default; - "http2".revision = (((hackage."http2")."1.6.5").revisions).default; - "http2".flags.devel = false; - "appar".revision = (((hackage."appar")."0.1.8").revisions).default; - "case-insensitive".revision = (((hackage."case-insensitive")."1.2.1.0").revisions).default; - "network-byte-order".revision = (((hackage."network-byte-order")."0.1.2.0").revisions).default; - "sop-core".revision = (((hackage."sop-core")."0.5.0.0").revisions).default; - "extensible-exceptions".revision = (((hackage."extensible-exceptions")."0.1.1.4").revisions).default; - "unix".revision = (((hackage."unix")."2.7.2.2").revisions).default; - "SHA".revision = (((hackage."SHA")."1.6.4.4").revisions).default; - "SHA".flags.exe = false; - "ghc-heap".revision = (((hackage."ghc-heap")."8.6.5").revisions).default; - "mtl".revision = (((hackage."mtl")."2.2.2").revisions).default; - "lifted-async".revision = (((hackage."lifted-async")."0.10.0.4").revisions).default; - "network-uri".revision = (((hackage."network-uri")."2.6.1.0").revisions).default; - "regex-base".revision = (((hackage."regex-base")."0.94.0.0").revisions).default; - "zlib".revision = (((hackage."zlib")."0.6.2.1").revisions).default; - "zlib".flags.non-blocking-ffi = false; - "zlib".flags.pkg-config = false; - "rts".revision = (((hackage."rts")."1.0").revisions).default; - "easy-file".revision = (((hackage."easy-file")."0.2.2").revisions).default; - "th-expand-syns".revision = (((hackage."th-expand-syns")."0.4.5.0").revisions).default; - "regex-posix".revision = (((hackage."regex-posix")."0.96.0.0").revisions).default; - "regex-posix".flags._regex-posix-clib = false; - "cryptonite".revision = (((hackage."cryptonite")."0.26").revisions).default; - "cryptonite".flags.support_sse = false; - "cryptonite".flags.integer-gmp = true; - "cryptonite".flags.support_rdrand = true; - "cryptonite".flags.support_aesni = true; - "cryptonite".flags.support_deepseq = true; - "cryptonite".flags.support_pclmuldq = false; - "cryptonite".flags.check_alignment = false; - "cryptonite".flags.old_toolchain_inliner = false; - "alex".revision = (((hackage."alex")."3.2.5").revisions).default; - "alex".flags.small_base = true; - "clock".revision = (((hackage."clock")."0.8").revisions).default; - "clock".flags.llvm = false; - "system-fileio".revision = (((hackage."system-fileio")."0.3.16.4").revisions).default; - "adjunctions".revision = (((hackage."adjunctions")."4.4").revisions).default; - "invariant".revision = (((hackage."invariant")."0.5.3").revisions).default; - "enclosed-exceptions".revision = (((hackage."enclosed-exceptions")."1.0.3").revisions).default; - "th-orphans".revision = (((hackage."th-orphans")."0.13.9").revisions).default; - "executable-path".revision = (((hackage."executable-path")."0.0.3.1").revisions).default; - "syb".revision = (((hackage."syb")."0.7.1").revisions).default; - "distributive".revision = (((hackage."distributive")."0.6.1").revisions).default; - "distributive".flags.semigroups = true; - "distributive".flags.tagged = true; - "generics-sop".revision = (((hackage."generics-sop")."0.5.0.0").revisions).default; - "system-filepath".revision = (((hackage."system-filepath")."0.4.14").revisions).default; - "bytestring-builder".revision = (((hackage."bytestring-builder")."0.10.8.2.0").revisions).default; - "bytestring-builder".flags.bytestring_has_builder = true; - "QuickCheck".revision = (((hackage."QuickCheck")."2.13.2").revisions).default; - "QuickCheck".flags.templatehaskell = true; - "scientific".revision = (((hackage."scientific")."0.3.6.2").revisions).default; - "scientific".flags.integer-simple = false; - "scientific".flags.bytestring-builder = false; - "time-manager".revision = (((hackage."time-manager")."0.0.0").revisions).default; - "newtype-generics".revision = (((hackage."newtype-generics")."0.5.4").revisions).default; - "hspec-discover".revision = (((hackage."hspec-discover")."2.7.1").revisions).default; - "parallel".revision = (((hackage."parallel")."3.2.2.0").revisions).default; - "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; - "haskell-src-meta".revision = (((hackage."haskell-src-meta")."0.8.5").revisions).default; - "random".revision = (((hackage."random")."1.1").revisions).default; - "temporary".revision = (((hackage."temporary")."1.3").revisions).default; - "uuid-types".revision = (((hackage."uuid-types")."1.0.3").revisions).default; - "optparse-applicative".revision = (((hackage."optparse-applicative")."0.14.3.0").revisions).default; - "network".revision = (((hackage."network")."3.1.1.1").revisions).default; - "word8".revision = (((hackage."word8")."0.1.3").revisions).default; - "splitmix".revision = (((hackage."splitmix")."0.0.3").revisions).default; - "splitmix".flags.optimised-mixer = false; - "splitmix".flags.random = true; - "async".revision = (((hackage."async")."2.2.2").revisions).default; - "async".flags.bench = false; - "dlist".revision = (((hackage."dlist")."0.8.0.7").revisions).default; - "websockets".revision = (((hackage."websockets")."0.12.6.1").revisions).default; - "websockets".flags.example = false; - "conduit".revision = (((hackage."conduit")."1.3.1.1").revisions).default; - "constraints".revision = (((hackage."constraints")."0.11.2").revisions).default; - "semigroups".revision = (((hackage."semigroups")."0.19.1").revisions).default; - "semigroups".flags.bytestring = true; - "semigroups".flags.unordered-containers = true; - "semigroups".flags.text = true; - "semigroups".flags.tagged = true; - "semigroups".flags.containers = true; - "semigroups".flags.binary = true; - "semigroups".flags.hashable = true; - "semigroups".flags.transformers = true; - "semigroups".flags.deepseq = true; - "semigroups".flags.bytestring-builder = false; - "semigroups".flags.template-haskell = true; - "data-default".revision = (((hackage."data-default")."0.7.1.1").revisions).default; - "HUnit".revision = (((hackage."HUnit")."1.6.0.0").revisions).default; - "lifted-base".revision = (((hackage."lifted-base")."0.2.3.12").revisions).default; - "data-default-instances-old-locale".revision = (((hackage."data-default-instances-old-locale")."0.0.1").revisions).default; - "tree-diff".revision = (((hackage."tree-diff")."0.0.2.1").revisions).default; - "parsec".revision = (((hackage."parsec")."3.1.13.0").revisions).default; - "th-reify-many".revision = (((hackage."th-reify-many")."0.1.9").revisions).default; - "hsc2hs".revision = (((hackage."hsc2hs")."0.68.6").revisions).default; - "hsc2hs".flags.in-ghc-tree = false; - "directory".revision = (((hackage."directory")."1.3.3.0").revisions).default; - "yaml".revision = (((hackage."yaml")."0.10.4.0").revisions).default; - "yaml".flags.no-exe = true; - "yaml".flags.no-examples = true; - "yaml".flags.system-libyaml = false; - "yaml".flags.no-unicode = false; - "transformers-compat".revision = (((hackage."transformers-compat")."0.6.5").revisions).default; - "transformers-compat".flags.five = false; - "transformers-compat".flags.generic-deriving = true; - "transformers-compat".flags.two = false; - "transformers-compat".flags.five-three = true; - "transformers-compat".flags.mtl = true; - "transformers-compat".flags.four = false; - "transformers-compat".flags.three = false; - "template-haskell".revision = (((hackage."template-haskell")."2.14.0.0").revisions).default; - "hspec-expectations".revision = (((hackage."hspec-expectations")."0.8.2").revisions).default; - "mono-traversable".revision = (((hackage."mono-traversable")."1.0.13.0").revisions).default; - "psqueues".revision = (((hackage."psqueues")."0.2.7.2").revisions).default; - "vector".revision = (((hackage."vector")."0.12.0.3").revisions).default; - "vector".flags.unsafechecks = false; - "vector".flags.internalchecks = false; - "vector".flags.wall = false; - "vector".flags.boundschecks = true; - "call-stack".revision = (((hackage."call-stack")."0.2.0").revisions).default; - "primitive".revision = (((hackage."primitive")."0.7.0.0").revisions).default; - "cryptohash".revision = (((hackage."cryptohash")."0.11.9").revisions).default; - "profunctors".revision = (((hackage."profunctors")."5.5.1").revisions).default; - "safe".revision = (((hackage."safe")."0.3.18").revisions).default; - "blaze-builder".revision = (((hackage."blaze-builder")."0.4.1.0").revisions).default; - "base-compat".revision = (((hackage."base-compat")."0.10.5").revisions).default; - "time-compat".revision = (((hackage."time-compat")."1.9.2.2").revisions).default; - "time-compat".flags.old-locale = false; - "ansi-terminal".revision = (((hackage."ansi-terminal")."0.9.1").revisions).default; - "ansi-terminal".flags.example = false; - "tagged".revision = (((hackage."tagged")."0.8.6").revisions).default; - "tagged".flags.transformers = true; - "tagged".flags.deepseq = true; - "parsers".revision = (((hackage."parsers")."0.12.10").revisions).default; - "parsers".flags.parsec = true; - "parsers".flags.binary = true; - "parsers".flags.attoparsec = true; - "haskell-src-exts".revision = (((hackage."haskell-src-exts")."1.20.3").revisions).default; - "lens".revision = (((hackage."lens")."4.17.1").revisions).default; - "lens".flags.j = false; - "lens".flags.test-properties = true; - "lens".flags.old-inline-pragmas = false; - "lens".flags.test-templates = true; - "lens".flags.trustworthy = true; - "lens".flags.test-doctests = true; - "lens".flags.benchmark-uniplate = false; - "lens".flags.inlining = true; - "lens".flags.dump-splices = false; - "lens".flags.test-hunit = true; - "lens".flags.safe = false; - "unliftio-core".revision = (((hackage."unliftio-core")."0.1.2.0").revisions).default; - "containers".revision = (((hackage."containers")."0.6.0.1").revisions).default; - "integer-logarithms".revision = (((hackage."integer-logarithms")."1.0.3").revisions).default; - "integer-logarithms".flags.check-bounds = false; - "integer-logarithms".flags.integer-gmp = true; - "reflection".revision = (((hackage."reflection")."2.1.5").revisions).default; - "reflection".flags.slow = false; - "reflection".flags.template-haskell = true; - "streaming-commons".revision = (((hackage."streaming-commons")."0.2.1.1").revisions).default; - "streaming-commons".flags.use-bytestring-builder = false; - "shelly".revision = (((hackage."shelly")."1.8.1").revisions).default; - "shelly".flags.build-examples = false; - "shelly".flags.lifted = false; - "bytestring".revision = (((hackage."bytestring")."0.10.8.2").revisions).default; - "ansi-wl-pprint".revision = (((hackage."ansi-wl-pprint")."0.6.9").revisions).default; - "ansi-wl-pprint".flags.example = false; - "wai".revision = (((hackage."wai")."3.2.2.1").revisions).default; - "basement".revision = (((hackage."basement")."0.0.11").revisions).default; - "setenv".revision = (((hackage."setenv")."0.1.1.3").revisions).default; - "test-framework".revision = (((hackage."test-framework")."0.8.2.0").revisions).default; - "hostname".revision = (((hackage."hostname")."1.0").revisions).default; - "old-locale".revision = (((hackage."old-locale")."1.0.0.7").revisions).default; - "directory-tree".revision = (((hackage."directory-tree")."0.12.1").revisions).default; - "StateVar".revision = (((hackage."StateVar")."1.2").revisions).default; - "vault".revision = (((hackage."vault")."0.3.1.3").revisions).default; - "vault".flags.useghc = true; - "mime-types".revision = (((hackage."mime-types")."0.1.0.9").revisions).default; - "charset".revision = (((hackage."charset")."0.3.7.1").revisions).default; - "contravariant".revision = (((hackage."contravariant")."1.5.2").revisions).default; - "contravariant".flags.semigroups = true; - "contravariant".flags.tagged = true; - "contravariant".flags.statevar = true; - "data-default-instances-dlist".revision = (((hackage."data-default-instances-dlist")."0.0.1").revisions).default; - "xhtml".revision = (((hackage."xhtml")."3000.2.2.1").revisions).default; - "type-equality".revision = (((hackage."type-equality")."1").revisions).default; - "blaze-markup".revision = (((hackage."blaze-markup")."0.8.2.3").revisions).default; - "text".revision = (((hackage."text")."1.2.3.1").revisions).default; - "Cabal".revision = (((hackage."Cabal")."2.4.0.1").revisions).default; - "unordered-containers".revision = (((hackage."unordered-containers")."0.2.10.0").revisions).default; - "unordered-containers".flags.debug = false; - "base64-bytestring".revision = (((hackage."base64-bytestring")."1.0.0.2").revisions).default; - "base".revision = (((hackage."base")."4.12.0.0").revisions).default; - "comonad".revision = (((hackage."comonad")."5.0.6").revisions).default; - "comonad".flags.distributive = true; - "comonad".flags.test-doctests = true; - "comonad".flags.containers = true; - "hspec".revision = (((hackage."hspec")."2.7.1").revisions).default; - "time".revision = (((hackage."time")."1.8.0.2").revisions).default; - "data-default-class".revision = (((hackage."data-default-class")."0.1.2.0").revisions).default; - "terminfo".revision = (((hackage."terminfo")."0.4.1.2").revisions).default; - "base16-bytestring".revision = (((hackage."base16-bytestring")."0.1.1.6").revisions).default; - "vector-algorithms".revision = (((hackage."vector-algorithms")."0.8.0.3").revisions).default; - "vector-algorithms".flags.unsafechecks = false; - "vector-algorithms".flags.internalchecks = false; - "vector-algorithms".flags.llvm = false; - "vector-algorithms".flags.boundschecks = true; - "vector-algorithms".flags.bench = true; - "vector-algorithms".flags.properties = true; - "iproute".revision = (((hackage."iproute")."1.7.8").revisions).default; - "transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default; - "hashable".revision = (((hackage."hashable")."1.3.0.0").revisions).default; - "hashable".flags.sse2 = true; - "hashable".flags.integer-gmp = true; - "hashable".flags.sse41 = false; - "hashable".flags.examples = false; - "quickcheck-io".revision = (((hackage."quickcheck-io")."0.2.0").revisions).default; - "wai-extra".revision = (((hackage."wai-extra")."3.0.28").revisions).default; - "wai-extra".flags.build-example = false; - "data-default-instances-containers".revision = (((hackage."data-default-instances-containers")."0.0.1").revisions).default; - "attoparsec".revision = (((hackage."attoparsec")."0.13.2.3").revisions).default; - "attoparsec".flags.developer = false; - "blaze-html".revision = (((hackage."blaze-html")."0.9.1.2").revisions).default; - "digest".revision = (((hackage."digest")."0.0.1.2").revisions).default; - "digest".flags.bytestring-in-base = false; - "MemoTrie".revision = (((hackage."MemoTrie")."0.6.10").revisions).default; - "MemoTrie".flags.examples = false; - "colour".revision = (((hackage."colour")."2.3.5").revisions).default; - "transformers-base".revision = (((hackage."transformers-base")."0.4.5.2").revisions).default; - "transformers-base".flags.orphaninstances = true; - "happy".revision = (((hackage."happy")."1.19.9").revisions).default; - "happy".flags.small_base = true; - "file-embed".revision = (((hackage."file-embed")."0.0.11").revisions).default; - "byteable".revision = (((hackage."byteable")."0.1.1").revisions).default; - "hpc".revision = (((hackage."hpc")."0.6.0.3").revisions).default; - "entropy".revision = (((hackage."entropy")."0.4.1.5").revisions).default; - "entropy".flags.halvm = false; - "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; - "auto-update".revision = (((hackage."auto-update")."0.1.6").revisions).default; - "hspec-core".revision = (((hackage."hspec-core")."2.7.1").revisions).default; - "stringsearch".revision = (((hackage."stringsearch")."0.3.6.6").revisions).default; - "stringsearch".flags.base4 = true; - "stringsearch".flags.base3 = false; - "unix-compat".revision = (((hackage."unix-compat")."0.5.2").revisions).default; - "unix-compat".flags.old-time = false; - "monad-control".revision = (((hackage."monad-control")."1.0.2.3").revisions).default; - "process".revision = (((hackage."process")."1.6.5.0").revisions).default; - "kan-extensions".revision = (((hackage."kan-extensions")."5.2").revisions).default; - "wai-logger".revision = (((hackage."wai-logger")."2.3.6").revisions).default; - "th-lift".revision = (((hackage."th-lift")."0.8.1").revisions).default; - "resourcet".revision = (((hackage."resourcet")."1.2.2").revisions).default; - "webdriver".revision = (((hackage."webdriver")."0.8.5").revisions).default; - "webdriver".flags.network-uri = true; - "webdriver".flags.developer = false; - "pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default; - "cabal-doctest".revision = (((hackage."cabal-doctest")."1.0.8").revisions).default; - "aeson".revision = (((hackage."aeson")."1.4.6.0").revisions).default; - "aeson".flags.cffi = false; - "aeson".flags.fast = false; - "aeson".flags.bytestring-builder = false; - "aeson".flags.developer = false; - "wai-app-static".revision = (((hackage."wai-app-static")."3.1.6.3").revisions).default; - "wai-app-static".flags.print = false; - "http-types".revision = (((hackage."http-types")."0.12.3").revisions).default; - "ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.6.5").revisions).default; - "th-lift-instances".revision = (((hackage."th-lift-instances")."0.1.14").revisions).default; - "base-orphans".revision = (((hackage."base-orphans")."0.8.1").revisions).default; - "http-date".revision = (((hackage."http-date")."0.0.8").revisions).default; - "th-abstraction".revision = (((hackage."th-abstraction")."0.3.1.0").revisions).default; - "memory".revision = (((hackage."memory")."0.15.0").revisions).default; - "memory".flags.support_bytestring = true; - "memory".flags.support_basement = true; - "memory".flags.support_foundation = true; - "memory".flags.support_deepseq = true; - "fast-logger".revision = (((hackage."fast-logger")."3.0.0").revisions).default; - "bsb-http-chunked".revision = (((hackage."bsb-http-chunked")."0.0.0.4").revisions).default; - "array".revision = (((hackage."array")."0.5.3.0").revisions).default; - "xml".revision = (((hackage."xml")."1.3.14").revisions).default; - "simple-sendfile".revision = (((hackage."simple-sendfile")."0.2.30").revisions).default; - "simple-sendfile".flags.allow-bsd = true; - "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; - }; - compiler = { - version = "8.6.5"; - nix-name = "ghc865"; - packages = { - "binary" = "0.8.6.0"; - "ghc-boot" = "8.6.5"; - "ghc-prim" = "0.5.3"; - "stm" = "2.5.0.0"; - "unix" = "2.7.2.2"; - "ghc-heap" = "8.6.5"; - "mtl" = "2.2.2"; - "rts" = "1.0"; - "deepseq" = "1.4.4.0"; - "parsec" = "3.1.13.0"; - "directory" = "1.3.3.0"; - "template-haskell" = "2.14.0.0"; - "containers" = "0.6.0.1"; - "bytestring" = "0.10.8.2"; - "xhtml" = "3000.2.2.1"; - "text" = "1.2.3.1"; - "Cabal" = "2.4.0.1"; - "base" = "4.12.0.0"; - "time" = "1.8.0.2"; - "terminfo" = "0.4.1.2"; - "transformers" = "0.5.6.2"; - "hpc" = "0.6.0.3"; - "filepath" = "1.4.2.1"; - "process" = "1.6.5.0"; - "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 = { - haddock-library-ghcjs = ./.plan.nix/haddock-library-ghcjs.nix; - ghcjs-th = ./.plan.nix/ghcjs-th.nix; - ghc-api-ghcjs = ./.plan.nix/ghc-api-ghcjs.nix; - ghci-ghcjs = ./.plan.nix/ghci-ghcjs.nix; - ghcjs = ./.plan.nix/ghcjs.nix; - haddock-api-ghcjs = ./.plan.nix/haddock-api-ghcjs.nix; - template-haskell-ghcjs = ./.plan.nix/template-haskell-ghcjs.nix; - }; - }; - modules = [ - ({ lib, ... }: - { - packages = { - "haddock-library-ghcjs" = { flags = {}; }; - "ghcjs-th" = { - flags = { "use-host-template-haskell" = lib.mkOverride 900 false; }; - }; - "ghc-api-ghcjs" = { - flags = { - "stage1" = lib.mkOverride 900 false; - "stage2" = lib.mkOverride 900 true; - "debug" = lib.mkOverride 900 false; - "stage3" = lib.mkOverride 900 false; - "use-host-template-haskell" = lib.mkOverride 900 false; - "ghci" = lib.mkOverride 900 true; - "terminfo" = lib.mkOverride 900 true; - }; - }; - "ghci-ghcjs" = { flags = { "ghci" = lib.mkOverride 900 true; }; }; - "ghcjs" = { - flags = { - "compiler-only" = lib.mkOverride 900 false; - "runtime-assertions" = lib.mkOverride 900 false; - "no-wrapper-install" = lib.mkOverride 900 false; - "use-host-template-haskell" = lib.mkOverride 900 false; - "disable-optimizer" = lib.mkOverride 900 false; - }; - }; - "haddock-api-ghcjs" = { flags = {}; }; - "template-haskell-ghcjs" = { flags = {}; }; - }; - }) - ]; - } \ No newline at end of file diff --git a/materialized/happy/.plan.nix/happy.nix b/materialized/happy/.plan.nix/happy.nix index 367de4bc..3f0edd53 100644 --- a/materialized/happy/.plan.nix/happy.nix +++ b/materialized/happy/.plan.nix/happy.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = { small_base = true; }; package = { @@ -54,10 +23,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: buildType = "Custom"; isLocal = true; setup-depends = [ - (hsPkgs.buildPackages.Cabal or (pkgs.buildPackages.Cabal or (buildToolDepError "Cabal"))) - (hsPkgs.buildPackages.base or (pkgs.buildPackages.base or (buildToolDepError "base"))) - (hsPkgs.buildPackages.directory or (pkgs.buildPackages.directory or (buildToolDepError "directory"))) - (hsPkgs.buildPackages.filepath or (pkgs.buildPackages.filepath or (buildToolDepError "filepath"))) + (hsPkgs.buildPackages.Cabal or (pkgs.buildPackages.Cabal or (errorHandler.buildToolDepError "Cabal"))) + (hsPkgs.buildPackages.base or (pkgs.buildPackages.base or (errorHandler.buildToolDepError "base"))) + (hsPkgs.buildPackages.directory or (pkgs.buildPackages.directory or (errorHandler.buildToolDepError "directory"))) + (hsPkgs.buildPackages.filepath or (pkgs.buildPackages.filepath or (errorHandler.buildToolDepError "filepath"))) ]; detailLevel = "FullDetails"; licenseFiles = [ "LICENSE" ]; @@ -179,10 +148,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "happy" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."array" or (buildDepError "array")) - (hsPkgs."containers" or (buildDepError "containers")) - (hsPkgs."mtl" or (buildDepError "mtl")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) ]; buildable = true; modules = [ @@ -212,8 +181,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: tests = { "tests" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."process" or (buildDepError "process")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) ]; buildable = true; mainPath = [ "test.hs" ]; diff --git a/materialized/hscolour/.plan.nix/hscolour.nix b/materialized/hscolour/.plan.nix/hscolour.nix index 41aeba36..3912b2b0 100644 --- a/materialized/hscolour/.plan.nix/hscolour.nix +++ b/materialized/hscolour/.plan.nix/hscolour.nix @@ -1,43 +1,12 @@ -let - buildDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (build dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - sysDepError = pkg: - builtins.throw '' - The Nixpkgs package set does not contain the package: ${pkg} (system dependency). - - You may need to augment the system package mapping in haskell.nix so that it can be found. - ''; - pkgConfDepError = pkg: - builtins.throw '' - The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency). - - You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found. - ''; - exeDepError = pkg: - builtins.throw '' - The local executable components do not include the component: ${pkg} (executable dependency). - ''; - legacyExeDepError = pkg: - builtins.throw '' - The Haskell package set does not contain the package: ${pkg} (executable dependency). - - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; - buildToolDepError = pkg: - builtins.throw '' - Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency). - - If this is a system dependency: - You may need to augment the system package mapping in haskell.nix so that it can be found. - - If this is a Haskell dependency: - If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix. - ''; -in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: { flags = {}; package = { @@ -64,8 +33,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: components = { "library" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."containers" or (buildDepError "containers")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) ]; buildable = true; modules = [ @@ -90,8 +59,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: exes = { "HsColour" = { depends = [ - (hsPkgs."base" or (buildDepError "base")) - (hsPkgs."containers" or (buildDepError "containers")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) ]; buildable = true; mainPath = [ "HsColour.hs" ];