diff --git a/ci.nix b/ci.nix index cf5928c9..724d7f40 100644 --- a/ci.nix +++ b/ci.nix @@ -24,14 +24,12 @@ # Update supported-ghc-versions.md to reflect any changes made here. { ghc865 = true; - } // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2003") { + } // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2009") { ghc883 = false; ghc884 = true; ghc8101 = false; ghc8102 = true; ghc810220201118 = false; - } // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2009") { - ghc8102 = true; }); systems = nixpkgs: nixpkgs.lib.filterAttrs (_: v: builtins.elem v supportedSystems) { # I wanted to take these from 'lib.systems.examples', but apparently there isn't one for linux! @@ -42,9 +40,11 @@ # We need to use the actual nixpkgs version we're working with here, since the values # of 'lib.systems.examples' are not understood between all versions let lib = nixpkgs.lib; - in lib.optionalAttrs (nixpkgsName == "R2003" && (__elem compiler-nix-name ["ghc865" "ghc884"])) { + in lib.optionalAttrs (nixpkgsName == "R2009" && (__elem compiler-nix-name ["ghc865" "ghc884"])) { inherit (lib.systems.examples) ghcjs; - } // lib.optionalAttrs (system == "x86_64-linux" && (nixpkgsName == "R2009" || (!(__elem compiler-nix-name ["ghc8101" "ghc8102" "ghc810220201118"])))) { + } // lib.optionalAttrs (system == "x86_64-linux" && ( + (nixpkgsName == "R2009" && __elem compiler-nix-name ["ghc8101" "ghc8102" "ghc810220201118"]) + || (nixpkgsName == "R2003" && __elem compiler-nix-name ["ghc865"]))) { # Windows cross compilation is currently broken on macOS inherit (lib.systems.examples) mingwW64; } // lib.optionalAttrs (system == "x86_64-linux") { diff --git a/docs/reference/supported-ghc-versions.md b/docs/reference/supported-ghc-versions.md index cfb4fef8..491291fc 100644 --- a/docs/reference/supported-ghc-versions.md +++ b/docs/reference/supported-ghc-versions.md @@ -1,30 +1,30 @@ # Supported GHC Versions -The following versions of GHC built on the CI servers and should be included -in the binary cache (for the default haskell.nix `nixpkgs`). +This table shows which versions of GHC are defined, built by CI, and tested. +If you use a combination of nixpkgs version and GHC version which is built by our CI, you should get cache hits from our cache. -* 8.6.5 `compiler-nix-name = "ghc865";` -* 8.8.3 `compiler-nix-name = "ghc883";` -* 8.8.4 `compiler-nix-name = "ghc884";` -* 8.10.1 `compiler-nix-name = "ghc8101";` -* 8.10.2 `compiler-nix-name = "ghc8102";` +The "nixpkgs versions" refer to the versions that `haskell.nix` provides; if you use your own version of nixpkgs you will likely not get cache hit -Full test suite is run against 8.6.5, 8.8.4 and 8.10.2. +| Nixpkgs version | GHC version | Defined? | Built? | Tested? | +| --------------- | ------------- | -------- | ------ | ------- | +| 20.03 | 8.4.4 | Y | N | N | +| 20.03 | 8.6.{1,2,3,4} | Y | N | N | +| 20.03 | 8.6.5 | Y | Y | Y | +| 20.03 | 8.8.{1,2,3} | Y | N | N | +| 20.03 | 8.8.4 | Y | N | N | +| 20.03 | 8.10.1 | Y | N | N | +| 20.03 | 8.10.2 | Y | N | N | +| 20.09 | 8.4.4 | Y | N | N | +| 20.09 | 8.6.{1,2,3,4} | Y | N | N | +| 20.09 | 8.6.5 | Y | Y | Y | +| 20.09 | 8.8.{1,2} | Y | N | N | +| 20.09 | 8.8.3 | Y | Y | N | +| 20.09 | 8.8.4 | Y | Y | Y | +| 20.09 | 8.10.1 | Y | Y | N | +| 20.09 | 8.10.2 | Y | Y | Y | -See [ci.nix](https://github.com/input-output-hk/haskell.nix/blob/master/ci.nix) -for the list of tested GHC versions. +See [ci.nix](https://github.com/input-output-hk/haskell.nix/blob/master/ci.nix) for the source of truth about what is built and tested. -The following GHC versions are not included in CI and will not be cached: - -* 8.4.4 `compiler-nix-name = "ghc844";` -* 8.6.1 `compiler-nix-name = "ghc861";` -* 8.6.2 `compiler-nix-name = "ghc862";` -* 8.6.3 `compiler-nix-name = "ghc863";` -* 8.6.4 `compiler-nix-name = "ghc864";` -* 8.8.1 `compiler-nix-name = "ghc881";` -* 8.8.2 `compiler-nix-name = "ghc882";` - -See [overlays/bootstrap.nix](https://github.com/input-output-hk/haskell.nix/blob/master/overlays/bootstrap.nix) -for a list of all the valid `compiler-nix-names`. +See [overlays/bootstrap.nix](https://github.com/input-output-hk/haskell.nix/blob/master/overlays/bootstrap.nix) for a list of all the valid `compiler-nix-names`. See also: [Instructions on adding new GHC versions](../dev/adding-new-ghc.md). diff --git a/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/bytestring.nix new file mode 100644 index 00000000..cb9b2094 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/bytestring.nix @@ -0,0 +1,136 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + 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 (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" + "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 (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" ]; + cSources = [ "cbits/fpstring.c" ]; + hsSourceDirs = [ "." "tests" ]; + includeDirs = [ "include" ]; + mainPath = [ "Properties.hs" ]; + }; + "regressions" = { + depends = [ + (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" ]; + hsSourceDirs = [ "." "tests" ]; + includeDirs = [ "include" ]; + mainPath = [ "Regressions.hs" ]; + }; + "test-builder" = { + depends = [ + (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 = [ + "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/ghc8101/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/ghc-boot.nix new file mode 100644 index 00000000..293a5990 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/ghc-boot.nix @@ -0,0 +1,60 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.22"; + identifier = { name = "ghc-boot"; version = "8.10.1"; }; + 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 = []; + extraTmpFiles = []; + extraDocFiles = []; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ]; + buildable = true; + modules = [ + "GHC/BaseDir" + "GHC/LanguageExtensions" + "GHC/PackageDb" + "GHC/Serialized" + "GHC/ForeignSrcLang" + "GHC/HandleEncoding" + "GHC/Platform" + "GHC/Platform/Host" + "GHC/Settings" + "GHC/UniqueSubdir" + "GHC/Version" + ]; + }; + }; + } // rec { src = (pkgs.lib).mkDefault ../libraries/ghc-boot; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/ghc.nix new file mode 100644 index 00000000..4a870259 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/ghc.nix @@ -0,0 +1,585 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + ghci = false; + stage1 = false; + stage2 = false; + stage3 = false; + terminfo = true; + integer-simple = false; + integer-gmp = false; + }; + package = { + specVersion = "1.10"; + identifier = { name = "ghc"; version = "8.10.1"; }; + 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 = []; + extraTmpFiles = []; + extraDocFiles = []; + }; + components = { + "library" = { + depends = ((([ + (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 (errorHandler.buildDepError "Win32")) ] + else [ + (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")); + buildable = true; + modules = [ + "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" + "Predicate" + "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" + "CliOption" + "EnumSet" + "GhcNameVersion" + "FileSettings" + "MkGraph" + "PprBase" + "PprC" + "PprCmm" + "PprCmmDecl" + "PprCmmExpr" + "Bitmap" + "GHC/Platform/Regs" + "GHC/Platform/ARM" + "GHC/Platform/ARM64" + "GHC/Platform/NoRegs" + "GHC/Platform/PPC" + "GHC/Platform/S390X" + "GHC/Platform/SPARC" + "GHC/Platform/X86" + "GHC/Platform/X86_64" + "GHC/StgToCmm/CgUtils" + "GHC/StgToCmm" + "GHC/StgToCmm/Bind" + "GHC/StgToCmm/Closure" + "GHC/StgToCmm/DataCon" + "GHC/StgToCmm/Env" + "GHC/StgToCmm/Expr" + "GHC/StgToCmm/Foreign" + "GHC/StgToCmm/Heap" + "GHC/StgToCmm/Hpc" + "GHC/StgToCmm/ArgRep" + "GHC/StgToCmm/Layout" + "GHC/StgToCmm/Monad" + "GHC/StgToCmm/Prim" + "GHC/StgToCmm/Prof" + "GHC/StgToCmm/Ticky" + "GHC/StgToCmm/Utils" + "GHC/StgToCmm/ExtCode" + "SMRep" + "CoreArity" + "CoreFVs" + "CoreLint" + "CorePrep" + "CoreSubst" + "CoreOpt" + "CoreSyn" + "TrieMap" + "CoreTidy" + "CoreUnfold" + "CoreUtils" + "CoreMap" + "CoreSeq" + "CoreStats" + "MkCore" + "PprCore" + "GHC/HsToCore/PmCheck/Oracle" + "GHC/HsToCore/PmCheck/Ppr" + "GHC/HsToCore/PmCheck/Types" + "GHC/HsToCore/PmCheck" + "Coverage" + "Desugar" + "DsArrows" + "DsBinds" + "DsCCall" + "DsExpr" + "DsForeign" + "DsGRHSs" + "DsListComp" + "DsMonad" + "DsUsage" + "DsUtils" + "ExtractDocs" + "Match" + "MatchCon" + "MatchLit" + "GHC/Hs" + "GHC/Hs/Binds" + "GHC/Hs/Decls" + "GHC/Hs/Doc" + "GHC/Hs/Expr" + "GHC/Hs/ImpExp" + "GHC/Hs/Lit" + "GHC/Hs/PlaceHolder" + "GHC/Hs/Extension" + "GHC/Hs/Instances" + "GHC/Hs/Pat" + "GHC/Hs/Types" + "GHC/Hs/Utils" + "GHC/Hs/Dump" + "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" + "GhcPrelude" + "DynamicLoading" + "HeaderInfo" + "HscMain" + "HscStats" + "HscTypes" + "InteractiveEval" + "InteractiveEvalTypes" + "PackageConfig" + "Packages" + "PlatformConstants" + "Plugins" + "TcPluginM" + "PprTyThing" + "Settings" + "StaticPtrTable" + "SysTools" + "SysTools/BaseDir" + "SysTools/Terminal" + "SysTools/ExtraObj" + "SysTools/Info" + "SysTools/Process" + "SysTools/Tasks" + "SysTools/Settings" + "Elf" + "TidyPgm" + "Ctype" + "HaddockUtils" + "Lexer" + "OptCoercion" + "Parser" + "RdrHsSyn" + "ApiAnnotation" + "ForeignCall" + "KnownUniques" + "PrelInfo" + "PrelNames" + "PrelRules" + "PrimOp" + "ToolSettings" + "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" + "Constraint" + "TcOrigin" + "TcRules" + "TcSimplify" + "TcHoleErrors" + "TcHoleFitTypes" + "TcErrors" + "TcTyClsDecls" + "TcTyDecls" + "TcTypeable" + "TcType" + "TcEvidence" + "TcEvTerm" + "TcUnify" + "TcInteract" + "TcCanonical" + "TcFlatten" + "TcSMonad" + "TcTypeNats" + "TcSplice" + "Class" + "Coercion" + "DsMeta" + "THNames" + "FamInstEnv" + "FunDeps" + "InstEnv" + "TyCon" + "CoAxiom" + "Type" + "TyCoRep" + "TyCoFVs" + "TyCoSubst" + "TyCoPpr" + "TyCoTidy" + "Unify" + "Bag" + "Binary" + "BooleanFormula" + "BufWrite" + "Digraph" + "Encoding" + "FastFunctions" + "FastMutInt" + "FastString" + "FastStringEnv" + "Fingerprint" + "FiniteMap" + "FV" + "GraphBase" + "GraphColor" + "GraphOps" + "GraphPpr" + "IOEnv" + "Json" + "ListSetOps" + "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" + "Dominators" + "Format" + "Reg" + "RegClass" + "PIC" + "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" + "GHC/ThToHs" + "ByteCodeTypes" + "ByteCodeAsm" + "ByteCodeGen" + "ByteCodeInstr" + "ByteCodeItbls" + "ByteCodeLink" + "Debugger" + "LinkerTypes" + "Linker" + "RtClosureInspect" + "GHCi" + ]; + cSources = [ + "parser/cutils.c" + "ghci/keepCAFsForGHCi.c" + "cbits/genSym.c" + ]; + hsSourceDirs = [ + "." + "backpack" + "basicTypes" + "cmm" + "coreSyn" + "deSugar" + "ghci" + "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") ++ (if flags.stage1 + then [ "stage1" ] + else if flags.stage2 + then [ "stage2" ] + else (pkgs.lib).optional (flags.stage3) "stage2"); + }; + }; + } // rec { src = (pkgs.lib).mkDefault ../compiler; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/ghci.nix new file mode 100644 index 00000000..e4fececd --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/ghci.nix @@ -0,0 +1,70 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { ghci = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "8.10.1"; }; + 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 (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" + "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/ghc8101/.plan.nix/hpc.nix b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/hpc.nix new file mode 100644 index 00000000..f73a880d --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/hpc.nix @@ -0,0 +1,52 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "hpc"; version = "0.6.1.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for 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 (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + modules = [ + "Trace/Hpc/Util" + "Trace/Hpc/Mix" + "Trace/Hpc/Tix" + "Trace/Hpc/Reflect" + ]; + }; + }; + } // rec { src = (pkgs.lib).mkDefault ../libraries/hpc; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/iserv-proxy.nix new file mode 100644 index 00000000..6a063559 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/iserv-proxy.nix @@ -0,0 +1,55 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv-proxy"; version = "8.10.1"; }; + 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 (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" ]; + 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/ghc8101/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/iserv.nix new file mode 100644 index 00000000..867d39e7 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/iserv.nix @@ -0,0 +1,54 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "8.10.1"; }; + 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 (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" ]; + 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/ghc8101/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/libiserv.nix new file mode 100644 index 00000000..0c35b853 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/libiserv.nix @@ -0,0 +1,58 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { network = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "libiserv"; version = "8.10.1"; }; + 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 (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 (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" + "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/ghc8101/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/remote-iserv.nix new file mode 100644 index 00000000..095f27dd --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc8101/.plan.nix/remote-iserv.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "8.10.1"; }; + 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 (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.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/ghc8101/default.nix b/materialized/ghc-extra-projects/windows/ghc8101/default.nix new file mode 100644 index 00000000..c4b466a3 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc8101/default.nix @@ -0,0 +1,87 @@ +{ + pkgs = hackage: + { + packages = { + "binary".revision = (((hackage."binary")."0.8.8.0").revisions).default; + "ghc-prim".revision = (((hackage."ghc-prim")."0.6.1").revisions).default; + "ghc-heap".revision = (((hackage."ghc-heap")."8.10.1").revisions).default; + "rts".revision = (((hackage."rts")."1.0").revisions).default; + "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.16.0.0").revisions).default; + "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; + "base".revision = (((hackage."base")."4.14.0.0").revisions).default; + "time".revision = (((hackage."time")."1.9.3").revisions).default; + "transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default; + "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; + "process".revision = (((hackage."process")."1.6.9.0").revisions).default; + "pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default; + "ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.10.1").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.3.0").revisions).default; + }; + compiler = { + version = "8.10.1"; + nix-name = "ghc8101"; + packages = { + "ghc-prim" = "0.6.1"; + "ghc-heap" = "8.10.1"; + "rts" = "1.0"; + "deepseq" = "1.4.4.0"; + "template-haskell" = "2.16.0.0"; + "containers" = "0.6.2.1"; + "base" = "4.14.0.0"; + "transformers" = "0.5.6.2"; + "filepath" = "1.4.2.1"; + "pretty" = "1.1.3.6"; + "ghc-boot-th" = "8.10.1"; + "array" = "0.5.4.0"; + "integer-gmp" = "1.0.3.0"; + }; + }; + }; + extras = hackage: + { + packages = { + ghc = ./.plan.nix/ghc.nix; + bytestring = ./.plan.nix/bytestring.nix; + remote-iserv = ./.plan.nix/remote-iserv.nix; + iserv-proxy = ./.plan.nix/iserv-proxy.nix; + hpc = ./.plan.nix/hpc.nix; + libiserv = ./.plan.nix/libiserv.nix; + ghc-boot = ./.plan.nix/ghc-boot.nix; + ghci = ./.plan.nix/ghci.nix; + iserv = ./.plan.nix/iserv.nix; + }; + }; + modules = [ + ({ lib, ... }: + { + packages = { + "ghc" = { + flags = { + "stage1" = lib.mkOverride 900 false; + "stage2" = lib.mkOverride 900 false; + "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 = {}; }; + "hpc" = { 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/ghc810220201118/.plan.nix/bytestring.nix b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/bytestring.nix new file mode 100644 index 00000000..cb9b2094 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/bytestring.nix @@ -0,0 +1,136 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + 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 (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" + "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 (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" ]; + cSources = [ "cbits/fpstring.c" ]; + hsSourceDirs = [ "." "tests" ]; + includeDirs = [ "include" ]; + mainPath = [ "Properties.hs" ]; + }; + "regressions" = { + depends = [ + (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" ]; + hsSourceDirs = [ "." "tests" ]; + includeDirs = [ "include" ]; + mainPath = [ "Regressions.hs" ]; + }; + "test-builder" = { + depends = [ + (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 = [ + "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/ghc810220201118/.plan.nix/ghc-boot.nix b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/ghc-boot.nix new file mode 100644 index 00000000..66f028a8 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/ghc-boot.nix @@ -0,0 +1,60 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.22"; + identifier = { name = "ghc-boot"; version = "8.10.2.20201118"; }; + 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 = []; + extraTmpFiles = []; + extraDocFiles = []; + }; + components = { + "library" = { + depends = [ + (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."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th")) + ]; + buildable = true; + modules = [ + "GHC/BaseDir" + "GHC/LanguageExtensions" + "GHC/PackageDb" + "GHC/Serialized" + "GHC/ForeignSrcLang" + "GHC/HandleEncoding" + "GHC/Platform" + "GHC/Platform/Host" + "GHC/Settings" + "GHC/UniqueSubdir" + "GHC/Version" + ]; + }; + }; + } // rec { src = (pkgs.lib).mkDefault ../libraries/ghc-boot; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/ghc.nix b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/ghc.nix new file mode 100644 index 00000000..0fa97542 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/ghc.nix @@ -0,0 +1,586 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { + ghci = false; + stage1 = false; + stage2 = false; + stage3 = false; + terminfo = true; + integer-simple = false; + integer-gmp = false; + dynamic-system-linker = true; + }; + package = { + specVersion = "1.10"; + identifier = { name = "ghc"; version = "8.10.2.20201118"; }; + 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 = []; + extraTmpFiles = []; + extraDocFiles = []; + }; + components = { + "library" = { + depends = ((([ + (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 (errorHandler.buildDepError "Win32")) ] + else [ + (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")); + buildable = true; + modules = [ + "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" + "Predicate" + "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" + "CliOption" + "EnumSet" + "GhcNameVersion" + "FileSettings" + "MkGraph" + "PprBase" + "PprC" + "PprCmm" + "PprCmmDecl" + "PprCmmExpr" + "Bitmap" + "GHC/Platform/Regs" + "GHC/Platform/ARM" + "GHC/Platform/ARM64" + "GHC/Platform/NoRegs" + "GHC/Platform/PPC" + "GHC/Platform/S390X" + "GHC/Platform/SPARC" + "GHC/Platform/X86" + "GHC/Platform/X86_64" + "GHC/StgToCmm/CgUtils" + "GHC/StgToCmm" + "GHC/StgToCmm/Bind" + "GHC/StgToCmm/Closure" + "GHC/StgToCmm/DataCon" + "GHC/StgToCmm/Env" + "GHC/StgToCmm/Expr" + "GHC/StgToCmm/Foreign" + "GHC/StgToCmm/Heap" + "GHC/StgToCmm/Hpc" + "GHC/StgToCmm/ArgRep" + "GHC/StgToCmm/Layout" + "GHC/StgToCmm/Monad" + "GHC/StgToCmm/Prim" + "GHC/StgToCmm/Prof" + "GHC/StgToCmm/Ticky" + "GHC/StgToCmm/Utils" + "GHC/StgToCmm/ExtCode" + "SMRep" + "CoreArity" + "CoreFVs" + "CoreLint" + "CorePrep" + "CoreSubst" + "CoreOpt" + "CoreSyn" + "TrieMap" + "CoreTidy" + "CoreUnfold" + "CoreUtils" + "CoreMap" + "CoreSeq" + "CoreStats" + "MkCore" + "PprCore" + "GHC/HsToCore/PmCheck/Oracle" + "GHC/HsToCore/PmCheck/Ppr" + "GHC/HsToCore/PmCheck/Types" + "GHC/HsToCore/PmCheck" + "Coverage" + "Desugar" + "DsArrows" + "DsBinds" + "DsCCall" + "DsExpr" + "DsForeign" + "DsGRHSs" + "DsListComp" + "DsMonad" + "DsUsage" + "DsUtils" + "ExtractDocs" + "Match" + "MatchCon" + "MatchLit" + "GHC/Hs" + "GHC/Hs/Binds" + "GHC/Hs/Decls" + "GHC/Hs/Doc" + "GHC/Hs/Expr" + "GHC/Hs/ImpExp" + "GHC/Hs/Lit" + "GHC/Hs/PlaceHolder" + "GHC/Hs/Extension" + "GHC/Hs/Instances" + "GHC/Hs/Pat" + "GHC/Hs/Types" + "GHC/Hs/Utils" + "GHC/Hs/Dump" + "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" + "GhcPrelude" + "DynamicLoading" + "HeaderInfo" + "HscMain" + "HscStats" + "HscTypes" + "InteractiveEval" + "InteractiveEvalTypes" + "PackageConfig" + "Packages" + "PlatformConstants" + "Plugins" + "TcPluginM" + "PprTyThing" + "Settings" + "StaticPtrTable" + "SysTools" + "SysTools/BaseDir" + "SysTools/Terminal" + "SysTools/ExtraObj" + "SysTools/Info" + "SysTools/Process" + "SysTools/Tasks" + "SysTools/Settings" + "Elf" + "TidyPgm" + "Ctype" + "HaddockUtils" + "Lexer" + "OptCoercion" + "Parser" + "RdrHsSyn" + "ApiAnnotation" + "ForeignCall" + "KnownUniques" + "PrelInfo" + "PrelNames" + "PrelRules" + "PrimOp" + "ToolSettings" + "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" + "Constraint" + "TcOrigin" + "TcRules" + "TcSimplify" + "TcHoleErrors" + "TcHoleFitTypes" + "TcErrors" + "TcTyClsDecls" + "TcTyDecls" + "TcTypeable" + "TcType" + "TcEvidence" + "TcEvTerm" + "TcUnify" + "TcInteract" + "TcCanonical" + "TcFlatten" + "TcSMonad" + "TcTypeNats" + "TcSplice" + "Class" + "Coercion" + "DsMeta" + "THNames" + "FamInstEnv" + "FunDeps" + "InstEnv" + "TyCon" + "CoAxiom" + "Type" + "TyCoRep" + "TyCoFVs" + "TyCoSubst" + "TyCoPpr" + "TyCoTidy" + "Unify" + "Bag" + "Binary" + "BooleanFormula" + "BufWrite" + "Digraph" + "Encoding" + "FastFunctions" + "FastMutInt" + "FastString" + "FastStringEnv" + "Fingerprint" + "FiniteMap" + "FV" + "GraphBase" + "GraphColor" + "GraphOps" + "GraphPpr" + "IOEnv" + "Json" + "ListSetOps" + "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" + "Dominators" + "Format" + "Reg" + "RegClass" + "PIC" + "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" + "GHC/ThToHs" + "ByteCodeTypes" + "ByteCodeAsm" + "ByteCodeGen" + "ByteCodeInstr" + "ByteCodeItbls" + "ByteCodeLink" + "Debugger" + "LinkerTypes" + "Linker" + "RtClosureInspect" + "GHCi" + ]; + cSources = [ + "parser/cutils.c" + "ghci/keepCAFsForGHCi.c" + "cbits/genSym.c" + ]; + hsSourceDirs = [ + "." + "backpack" + "basicTypes" + "cmm" + "coreSyn" + "deSugar" + "ghci" + "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") ++ (if flags.stage1 + then [ "stage1" ] + else if flags.stage2 + then [ "stage2" ] + else (pkgs.lib).optional (flags.stage3) "stage2"); + }; + }; + } // rec { src = (pkgs.lib).mkDefault ../compiler; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/ghci.nix b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/ghci.nix new file mode 100644 index 00000000..a4c88ce4 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/ghci.nix @@ -0,0 +1,70 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { ghci = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "ghci"; version = "8.10.2.20201118"; }; + 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 (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" + "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/ghc810220201118/.plan.nix/hpc.nix b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/hpc.nix new file mode 100644 index 00000000..f73a880d --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/hpc.nix @@ -0,0 +1,52 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "hpc"; version = "0.6.1.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "ghc-devs@haskell.org"; + author = "Andy Gill"; + homepage = ""; + url = ""; + synopsis = "Code Coverage Library for Haskell"; + description = "This package provides the code coverage library for 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 (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + modules = [ + "Trace/Hpc/Util" + "Trace/Hpc/Mix" + "Trace/Hpc/Tix" + "Trace/Hpc/Reflect" + ]; + }; + }; + } // rec { src = (pkgs.lib).mkDefault ../libraries/hpc; } \ No newline at end of file diff --git a/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/iserv-proxy.nix b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/iserv-proxy.nix new file mode 100644 index 00000000..51e83559 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/iserv-proxy.nix @@ -0,0 +1,55 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv-proxy"; version = "8.10.2.20201118"; }; + 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 (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" ]; + 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/ghc810220201118/.plan.nix/iserv.nix b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/iserv.nix new file mode 100644 index 00000000..8962b78b --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/iserv.nix @@ -0,0 +1,54 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "iserv"; version = "8.10.2.20201118"; }; + 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 (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" ]; + 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/ghc810220201118/.plan.nix/libiserv.nix b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/libiserv.nix new file mode 100644 index 00000000..a0a7fdc6 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/libiserv.nix @@ -0,0 +1,58 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = { network = false; }; + package = { + specVersion = "1.10"; + identifier = { name = "libiserv"; version = "8.10.2.20201118"; }; + 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 (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 (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" + "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/ghc810220201118/.plan.nix/remote-iserv.nix b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/remote-iserv.nix new file mode 100644 index 00000000..637a7ec2 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc810220201118/.plan.nix/remote-iserv.nix @@ -0,0 +1,46 @@ +{ system + , compiler + , flags + , pkgs + , hsPkgs + , pkgconfPkgs + , errorHandler + , config + , ... }: + { + flags = {}; + package = { + specVersion = "1.10"; + identifier = { name = "remote-iserv"; version = "8.10.2.20201118"; }; + 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 (errorHandler.buildDepError "base")) + (hsPkgs."libiserv" or (errorHandler.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/ghc810220201118/default.nix b/materialized/ghc-extra-projects/windows/ghc810220201118/default.nix new file mode 100644 index 00000000..80246512 --- /dev/null +++ b/materialized/ghc-extra-projects/windows/ghc810220201118/default.nix @@ -0,0 +1,88 @@ +{ + pkgs = hackage: + { + packages = { + "binary".revision = (((hackage."binary")."0.8.8.0").revisions).default; + "ghc-prim".revision = (((hackage."ghc-prim")."0.6.1").revisions).default; + "ghc-heap".revision = (((hackage."ghc-heap")."8.10.2.20201118").revisions).default; + "rts".revision = (((hackage."rts")."1.0").revisions).default; + "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.16.0.0").revisions).default; + "containers".revision = (((hackage."containers")."0.6.2.1").revisions).default; + "base".revision = (((hackage."base")."4.14.1.0").revisions).default; + "time".revision = (((hackage."time")."1.9.3").revisions).default; + "transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default; + "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; + "process".revision = (((hackage."process")."1.6.9.0").revisions).default; + "pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default; + "ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.10.2.20201118").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.3.0").revisions).default; + }; + compiler = { + version = "8.10.2.20201118"; + nix-name = "ghc810220201118"; + packages = { + "ghc-prim" = "0.6.1"; + "ghc-heap" = "8.10.2.20201118"; + "rts" = "1.0"; + "deepseq" = "1.4.4.0"; + "template-haskell" = "2.16.0.0"; + "containers" = "0.6.2.1"; + "base" = "4.14.1.0"; + "transformers" = "0.5.6.2"; + "filepath" = "1.4.2.1"; + "pretty" = "1.1.3.6"; + "ghc-boot-th" = "8.10.2.20201118"; + "array" = "0.5.4.0"; + "integer-gmp" = "1.0.3.0"; + }; + }; + }; + extras = hackage: + { + packages = { + ghc = ./.plan.nix/ghc.nix; + bytestring = ./.plan.nix/bytestring.nix; + remote-iserv = ./.plan.nix/remote-iserv.nix; + iserv-proxy = ./.plan.nix/iserv-proxy.nix; + hpc = ./.plan.nix/hpc.nix; + libiserv = ./.plan.nix/libiserv.nix; + ghc-boot = ./.plan.nix/ghc-boot.nix; + ghci = ./.plan.nix/ghci.nix; + iserv = ./.plan.nix/iserv.nix; + }; + }; + modules = [ + ({ lib, ... }: + { + packages = { + "ghc" = { + flags = { + "stage1" = lib.mkOverride 900 false; + "stage2" = lib.mkOverride 900 false; + "integer-gmp" = lib.mkOverride 900 false; + "stage3" = lib.mkOverride 900 false; + "dynamic-system-linker" = lib.mkOverride 900 true; + "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 = {}; }; + "hpc" = { 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/mkdocs.yml b/mkdocs.yml index b0b0090b..96f1bc6c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -17,6 +17,7 @@ permalink: true markdown_extensions: - admonition - footnotes + - tables - toc: permalink: true diff --git a/nix/sources.json b/nix/sources.json index a793b7bb..f973dac1 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -79,16 +79,16 @@ "url_template": "https://github.com///archive/.tar.gz" }, "nixpkgs": { - "branch": "nixpkgs-20.03-darwin", + "branch": "nixpkgs-20.09-darwin", "builtin": false, "description": "Nix Packages collection", "homepage": null, "owner": "NixOS", "repo": "nixpkgs", - "rev": "7f73e46625f508a793700f5110b86f1a53341d6e", - "sha256": "1gijn6vm6hwy7sxdjd27qq0hjqpkq04npwbxybd9694x7h806823", + "rev": "f02bf8ffb9a5ec5e8f6f66f1e5544fd2aa1a0693", + "sha256": "156f48manydh8sbrs8j97mzvwdz2zaw51xlm0grrrnns5wa5aaln", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/7f73e46625f508a793700f5110b86f1a53341d6e.tar.gz", + "url": "https://github.com/NixOS/nixpkgs/archive/f02bf8ffb9a5ec5e8f6f66f1e5544fd2aa1a0693.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "nixpkgs-2003": { @@ -106,6 +106,7 @@ }, "nixpkgs-2009": { "branch": "nixpkgs-20.09-darwin", + "builtin": false, "description": "Nix Packages collection", "homepage": null, "owner": "NixOS", diff --git a/overlays/emscripten.nix b/overlays/emscripten.nix index 8a4fe87d..d591b075 100644 --- a/overlays/emscripten.nix +++ b/overlays/emscripten.nix @@ -1,20 +1,27 @@ -final: prev: with final; { +final: prev: { + # GHCJS currently requires an old version of emscripten. Overriding to build the older version doesn't + # work straightforwardly on 20.09 anymore, so we use an ugly hack and pull emscripten from 20.03. + # In future, we'll just fix GHCJS to work with the newer emscripten. + inherit (import final.haskell-nix.sources.nixpkgs-2003 { + system = final.stdenv.system; + overlays = [(final: prev: with final; { + binaryen = callPackage ./emscripten/binaryen.nix {}; - binaryen = callPackage ./emscripten/binaryen.nix {}; + emscriptenVersion = "1.39.1"; - emscriptenVersion = "1.39.1"; + emscripten = callPackage ./emscripten { }; - emscripten = callPackage ./emscripten { }; + emscriptenfastcompPackages = dontRecurseIntoAttrs (callPackage ./emscripten/fastcomp { }); - emscriptenfastcompPackages = dontRecurseIntoAttrs (callPackage ./emscripten/fastcomp { }); + emscriptenfastcomp = emscriptenfastcompPackages.emscriptenfastcomp; - emscriptenfastcomp = emscriptenfastcompPackages.emscriptenfastcomp; + emscriptenupstreamPackages = dontRecurseIntoAttrs (callPackage ./emscripten/upstream { }); - emscriptenupstreamPackages = dontRecurseIntoAttrs (callPackage ./emscripten/upstream { }); + emscriptenupstream = emscriptenupstreamPackages.emscriptenupstream; - emscriptenupstream = emscriptenupstreamPackages.emscriptenupstream; + # emscriptenPackages = recurseIntoAttrs (callPackage ./emscripten-packages.nix { }); - # emscriptenPackages = recurseIntoAttrs (callPackage ./emscripten-packages.nix { }); - - emscriptenStdenv = stdenv // { mkDerivation = buildEmscriptenPackage; }; + emscriptenStdenv = stdenv // { mkDerivation = buildEmscriptenPackage; }; + })]; + }) emscripten emscriptenupstream; } diff --git a/release.nix b/release.nix index 5052c938..f175baf9 100644 --- a/release.nix +++ b/release.nix @@ -16,9 +16,9 @@ in allJobs // { required = genericPkgs.releaseTools.aggregate { name = "haskell.nix-required"; meta.description = "All jobs required to pass CI"; - # Hercules will require all of these, we just require the 20.03 jobs + # Hercules will require all of these, we just require the 20.09 jobs # to avoid stressing Hydra too much - constituents = lib.collect lib.isDerivation allJobs.R2003.ghc865.linux.native; + constituents = lib.collect lib.isDerivation allJobs.R2009.ghc865.linux.native; }; }