Add GHC 8.10.7 (#1220)

This commit is contained in:
Hamish Mackenzie 2021-09-01 22:43:31 +12:00 committed by GitHub
parent 58dff9550b
commit 1f4c2c9b08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
134 changed files with 22818 additions and 48 deletions

View File

@ -1,6 +1,6 @@
steps:
- label: 'Run tests with ghc8106'
command: "./test/tests.sh ghc8106"
- label: 'Run tests with ghc8107'
command: "./test/tests.sh ghc8107"
agents:
system: x86_64-linux
@ -14,9 +14,9 @@ steps:
agents:
system: x86_64-linux
- label: 'Check closure size with ghc8106'
- label: 'Check closure size with ghc8107'
command:
- nix-build build.nix -A maintainer-scripts.check-closure-size --argstr compiler-nix-name ghc8106 -o check-closure-size.sh
- nix-build build.nix -A maintainer-scripts.check-closure-size --argstr compiler-nix-name ghc8107 -o check-closure-size.sh
- echo "+++ Closure size (MB)"
- ./check-closure-size.sh
agents:
@ -36,5 +36,5 @@ steps:
- label: 'Make sure non store paths like can be used as src'
command:
- nix-build build.nix -A maintainer-scripts.check-path-support --argstr compiler-nix-name ghc8106 -o check-path-support.sh
- nix-build build.nix -A maintainer-scripts.check-path-support --argstr compiler-nix-name ghc8107 -o check-path-support.sh
- ./check-path-support.sh

11
ci.nix
View File

@ -29,13 +29,14 @@
ghc8105 = false;
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2105") {
ghc865 = false;
ghc8106 = true;
ghc8107 = true;
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
ghc865 = false;
ghc884 = false; # Native version is used to boot 9.0.1
ghc8104 = false;
ghc8105 = false;
ghc8106 = true;
ghc8106 = false;
ghc8107 = true;
ghc901 = true;
ghc810420210212 = false;
});
@ -48,13 +49,13 @@
# 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 == "unstable" && (__elem compiler-nix-name ["ghc8106"])) {
in lib.optionalAttrs (nixpkgsName == "unstable" && (__elem compiler-nix-name ["ghc8107"])) {
inherit (lib.systems.examples) ghcjs;
} // lib.optionalAttrs (system == "x86_64-linux" &&
nixpkgsName == "unstable" && (__elem compiler-nix-name ["ghc8106"])) {
nixpkgsName == "unstable" && (__elem compiler-nix-name ["ghc8107"])) {
# Windows cross compilation is currently broken on macOS
inherit (lib.systems.examples) mingwW64;
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && compiler-nix-name == "ghc8106") {
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && compiler-nix-name == "ghc8107") {
# Musl cross only works on linux
# aarch64 cross only works on linux
inherit (lib.systems.examples) musl64 aarch64-multiplatform;

View File

@ -350,7 +350,7 @@ stdenv.mkDerivation (rec {
dontStrip = true;
dontPatchELF = true;
noAuditTmpdir = true;
} // lib.optionalAttrs ((ghc-version == "8.10.5" || ghc-version == "8.10.6") && stdenv.buildPlatform.isDarwin) {
} // lib.optionalAttrs (__elem ghc-version ["8.10.5" "8.10.6" "8.10.7"] && stdenv.buildPlatform.isDarwin) {
# ghc install on macOS wants to run `xattr -r -c`
# The macOS version fails because it wants python 2.
# The nix version of xattr does not support those args.

View File

@ -20,14 +20,15 @@ really should use an instance of Nixpkgs provided by `haskell.nix` itself.
| Nixpkgs version | Nixpkgs pinning | GHC version | `compiler-nix-name` | Tested in CI? |
|------------------|--------------------|-------------|-----------------------|---------------|
| 20.09 | `nixpkgs-2009` | 8.6.5 | `ghc865` | No |
| 20.09 | `nixpkgs-2009` | 8.10.6 | `ghc8106` | No |
| 20.09 | `nixpkgs-2009` | 8.10.7 | `ghc8107` | No |
| 21.05 | `nixpkgs-2105` | 8.6.5 | `ghc865` | No |
| 21.05 | `nixpkgs-2105` | 8.10.6 | `ghc8106` | Yes |
| 21.05 | `nixpkgs-2105` | 8.10.7 | `ghc8107` | Yes |
| unstable | `nixpkgs-unstable` | 8.6.5 | `ghc865` | No |
| unstable | `nixpkgs-unstable` | 8.8.4 | `ghc884` | No |
| unstable | `nixpkgs-unstable` | 8.10.4 | `ghc8104` | No |
| unstable | `nixpkgs-unstable` | 8.10.5 | `ghc8105` | No |
| unstable | `nixpkgs-unstable` | 8.10.6 | `ghc8106` | Yes |
| unstable | `nixpkgs-unstable` | 8.10.6 | `ghc8106` | No |
| unstable | `nixpkgs-unstable` | 8.10.7 | `ghc8107` | Yes |
| unstable | `nixpkgs-unstable` | 9.0.1 | `ghc901` | Yes |
See [ci.nix](https://github.com/input-output-hk/haskell.nix/blob/master/ci.nix)

View File

@ -81,16 +81,16 @@ The configuration arguments for `Hix` can be (from highest precedence to lowest)
* Placed in `~/.config/hix/hix.conf`
For example to build with GHC 8.10.6:
For example to build with GHC 8.10.7:
```
hix-shell --argstr compiler-nix-name ghc8106 --run 'cabal build'
hix-shell --argstr compiler-nix-name ghc8107 --run 'cabal build'
```
or add a `nix/hix.nix` or `~/.config/hix/hix.conf` file:
```nix
{ compiler-nix-name = "ghc8106"; }
{ compiler-nix-name = "ghc8107"; }
```
Here are just a few of the other configuration arguments you could use

View File

@ -0,0 +1 @@
GHC package manager version 8.10.7

View File

@ -0,0 +1,69 @@
[("Project name","The Glorious Glasgow Haskell Compilation System")
,("GCC extra via C opts","")
,("C compiler flags","")
,("C++ compiler flags","")
,("C compiler link flags","-Wl,-z,noexecstack")
,("C compiler supports -no-pie","YES")
,("Haskell CPP flags","-E -undef -traditional")
,("ld flags","-z noexecstack")
,("ld supports compact unwind","YES")
,("ld supports build-id","YES")
,("ld supports filelist","NO")
,("ld is GNU ld","YES")
,("Merge objects flags","-r")
,("ar flags","q")
,("ar supports at file","YES")
,("otool command","otool")
,("install_name_tool command","install_name_tool")
,("touch command","touch")
,("dllwrap command","/bin/false")
,("windres command","/bin/false")
,("libtool command","libtool")
,("cross compiling","YES")
,("target platform string","aarch64-unknown-linux")
,("target os","OSLinux")
,("target arch","ArchAArch64")
,("target word size","8")
,("target has GNU nonexec stack","YES")
,("target has .ident directive","YES")
,("target has subsections via symbols","NO")
,("target has RTS linker","YES")
,("Unregisterised","NO")
,("LLVM target","aarch64-unknown-linux")
,("LLVM llc command","llc")
,("LLVM opt command","opt")
,("LLVM clang command","clang")
,("integer library","integer-gmp")
,("Use interpreter","YES")
,("Use native code generator","NO")
,("Support SMP","YES")
,("RTS ways","l debug thr thr_debug thr_l thr_p thr_debug_p debug_p")
,("Tables next to code","YES")
,("Leading underscore","NO")
,("Use LibFFI","YES")
,("Use Threads","YES")
,("Use Debugging","NO")
,("RTS expects libdw","NO")
,("Project version","8.10.7")
,("Project Git commit id","1f02b7430b2fbab403d7ffdde9cfd006e884678e")
,("Booter version","8.8.4")
,("Stage","1")
,("Build platform","x86_64-unknown-linux")
,("Host platform","x86_64-unknown-linux")
,("Target platform","aarch64-unknown-linux")
,("Have interpreter","YES")
,("Object splitting supported","NO")
,("Have native code generator","NO")
,("Support dynamic-too","YES")
,("Support parallel --make","YES")
,("Support reexported-modules","YES")
,("Support thinning and renaming package flags","YES")
,("Support Backpack","YES")
,("Requires unified installed package IDs","YES")
,("Uses package keys","YES")
,("Uses unit IDs","YES")
,("Dynamic by default","NO")
,("GHC Dynamic","NO")
,("GHC Profiled","NO")
,("Debug on","NO")
]

View File

@ -0,0 +1,255 @@
Haskell98
Haskell2010
Unsafe
Trustworthy
Safe
AllowAmbiguousTypes
NoAllowAmbiguousTypes
AlternativeLayoutRule
NoAlternativeLayoutRule
AlternativeLayoutRuleTransitional
NoAlternativeLayoutRuleTransitional
Arrows
NoArrows
AutoDeriveTypeable
NoAutoDeriveTypeable
BangPatterns
NoBangPatterns
BinaryLiterals
NoBinaryLiterals
CApiFFI
NoCApiFFI
CPP
NoCPP
CUSKs
NoCUSKs
ConstrainedClassMethods
NoConstrainedClassMethods
ConstraintKinds
NoConstraintKinds
DataKinds
NoDataKinds
DatatypeContexts
NoDatatypeContexts
DefaultSignatures
NoDefaultSignatures
DeriveAnyClass
NoDeriveAnyClass
DeriveDataTypeable
NoDeriveDataTypeable
DeriveFoldable
NoDeriveFoldable
DeriveFunctor
NoDeriveFunctor
DeriveGeneric
NoDeriveGeneric
DeriveLift
NoDeriveLift
DeriveTraversable
NoDeriveTraversable
DerivingStrategies
NoDerivingStrategies
DerivingVia
NoDerivingVia
DisambiguateRecordFields
NoDisambiguateRecordFields
DoAndIfThenElse
NoDoAndIfThenElse
BlockArguments
NoBlockArguments
DoRec
NoDoRec
DuplicateRecordFields
NoDuplicateRecordFields
EmptyCase
NoEmptyCase
EmptyDataDecls
NoEmptyDataDecls
EmptyDataDeriving
NoEmptyDataDeriving
ExistentialQuantification
NoExistentialQuantification
ExplicitForAll
NoExplicitForAll
ExplicitNamespaces
NoExplicitNamespaces
ExtendedDefaultRules
NoExtendedDefaultRules
FlexibleContexts
NoFlexibleContexts
FlexibleInstances
NoFlexibleInstances
ForeignFunctionInterface
NoForeignFunctionInterface
FunctionalDependencies
NoFunctionalDependencies
GADTSyntax
NoGADTSyntax
GADTs
NoGADTs
GHCForeignImportPrim
NoGHCForeignImportPrim
GeneralizedNewtypeDeriving
NoGeneralizedNewtypeDeriving
GeneralisedNewtypeDeriving
NoGeneralisedNewtypeDeriving
ImplicitParams
NoImplicitParams
ImplicitPrelude
NoImplicitPrelude
ImportQualifiedPost
NoImportQualifiedPost
ImpredicativeTypes
NoImpredicativeTypes
IncoherentInstances
NoIncoherentInstances
TypeFamilyDependencies
NoTypeFamilyDependencies
InstanceSigs
NoInstanceSigs
ApplicativeDo
NoApplicativeDo
InterruptibleFFI
NoInterruptibleFFI
JavaScriptFFI
NoJavaScriptFFI
KindSignatures
NoKindSignatures
LambdaCase
NoLambdaCase
LiberalTypeSynonyms
NoLiberalTypeSynonyms
MagicHash
NoMagicHash
MonadComprehensions
NoMonadComprehensions
MonadFailDesugaring
NoMonadFailDesugaring
MonoLocalBinds
NoMonoLocalBinds
MonoPatBinds
NoMonoPatBinds
MonomorphismRestriction
NoMonomorphismRestriction
MultiParamTypeClasses
NoMultiParamTypeClasses
MultiWayIf
NoMultiWayIf
NumericUnderscores
NoNumericUnderscores
NPlusKPatterns
NoNPlusKPatterns
NamedFieldPuns
NoNamedFieldPuns
NamedWildCards
NoNamedWildCards
NegativeLiterals
NoNegativeLiterals
HexFloatLiterals
NoHexFloatLiterals
NondecreasingIndentation
NoNondecreasingIndentation
NullaryTypeClasses
NoNullaryTypeClasses
NumDecimals
NoNumDecimals
OverlappingInstances
NoOverlappingInstances
OverloadedLabels
NoOverloadedLabels
OverloadedLists
NoOverloadedLists
OverloadedStrings
NoOverloadedStrings
PackageImports
NoPackageImports
ParallelArrays
NoParallelArrays
ParallelListComp
NoParallelListComp
PartialTypeSignatures
NoPartialTypeSignatures
PatternGuards
NoPatternGuards
PatternSignatures
NoPatternSignatures
PatternSynonyms
NoPatternSynonyms
PolyKinds
NoPolyKinds
PolymorphicComponents
NoPolymorphicComponents
QuantifiedConstraints
NoQuantifiedConstraints
PostfixOperators
NoPostfixOperators
QuasiQuotes
NoQuasiQuotes
Rank2Types
NoRank2Types
RankNTypes
NoRankNTypes
RebindableSyntax
NoRebindableSyntax
RecordPuns
NoRecordPuns
RecordWildCards
NoRecordWildCards
RecursiveDo
NoRecursiveDo
RelaxedLayout
NoRelaxedLayout
RelaxedPolyRec
NoRelaxedPolyRec
RoleAnnotations
NoRoleAnnotations
ScopedTypeVariables
NoScopedTypeVariables
StandaloneDeriving
NoStandaloneDeriving
StarIsType
NoStarIsType
StaticPointers
NoStaticPointers
Strict
NoStrict
StrictData
NoStrictData
TemplateHaskell
NoTemplateHaskell
TemplateHaskellQuotes
NoTemplateHaskellQuotes
StandaloneKindSignatures
NoStandaloneKindSignatures
TraditionalRecordSyntax
NoTraditionalRecordSyntax
TransformListComp
NoTransformListComp
TupleSections
NoTupleSections
TypeApplications
NoTypeApplications
TypeInType
NoTypeInType
TypeFamilies
NoTypeFamilies
TypeOperators
NoTypeOperators
TypeSynonymInstances
NoTypeSynonymInstances
UnboxedTuples
NoUnboxedTuples
UnboxedSums
NoUnboxedSums
UndecidableInstances
NoUndecidableInstances
UndecidableSuperClasses
NoUndecidableSuperClasses
UnicodeSyntax
NoUnicodeSyntax
UnliftedFFITypes
NoUnliftedFFITypes
UnliftedNewtypes
NoUnliftedNewtypes
ViewPatterns
NoViewPatterns

View File

@ -0,0 +1 @@
The Glorious Glasgow Haskell Compilation System, version 8.10.7

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
GHC package manager version 8.10.7

View File

@ -0,0 +1,69 @@
[("Project name","The Glorious Glasgow Haskell Compilation System")
,("GCC extra via C opts","")
,("C compiler flags","")
,("C++ compiler flags","")
,("C compiler link flags","")
,("C compiler supports -no-pie","NO")
,("Haskell CPP flags","-E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs")
,("ld flags","")
,("ld supports compact unwind","YES")
,("ld supports build-id","NO")
,("ld supports filelist","YES")
,("ld is GNU ld","NO")
,("Merge objects flags","-r")
,("ar flags","qcls")
,("ar supports at file","NO")
,("otool command","otool")
,("install_name_tool command","install_name_tool")
,("touch command","touch")
,("dllwrap command","/bin/false")
,("windres command","/bin/false")
,("libtool command","libtool")
,("cross compiling","NO")
,("target platform string","x86_64-apple-darwin")
,("target os","OSDarwin")
,("target arch","ArchX86_64")
,("target word size","8")
,("target has GNU nonexec stack","NO")
,("target has .ident directive","YES")
,("target has subsections via symbols","YES")
,("target has RTS linker","YES")
,("Unregisterised","NO")
,("LLVM target","x86_64-apple-darwin")
,("LLVM llc command","llc")
,("LLVM opt command","opt")
,("LLVM clang command","clang")
,("integer library","integer-gmp")
,("Use interpreter","YES")
,("Use native code generator","YES")
,("Support SMP","YES")
,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn thr_debug_dyn l_dyn thr_l_dyn thr_debug_p debug_p")
,("Tables next to code","YES")
,("Leading underscore","YES")
,("Use LibFFI","NO")
,("Use Threads","YES")
,("Use Debugging","NO")
,("RTS expects libdw","NO")
,("Project version","8.10.7")
,("Project Git commit id","1f02b7430b2fbab403d7ffdde9cfd006e884678e")
,("Booter version","8.6.5")
,("Stage","2")
,("Build platform","x86_64-apple-darwin")
,("Host platform","x86_64-apple-darwin")
,("Target platform","x86_64-apple-darwin")
,("Have interpreter","YES")
,("Object splitting supported","NO")
,("Have native code generator","YES")
,("Support dynamic-too","YES")
,("Support parallel --make","YES")
,("Support reexported-modules","YES")
,("Support thinning and renaming package flags","YES")
,("Support Backpack","YES")
,("Requires unified installed package IDs","YES")
,("Uses package keys","YES")
,("Uses unit IDs","YES")
,("Dynamic by default","NO")
,("GHC Dynamic","YES")
,("GHC Profiled","NO")
,("Debug on","NO")
]

View File

@ -0,0 +1 @@
8.10.7

View File

@ -0,0 +1,255 @@
Haskell98
Haskell2010
Unsafe
Trustworthy
Safe
AllowAmbiguousTypes
NoAllowAmbiguousTypes
AlternativeLayoutRule
NoAlternativeLayoutRule
AlternativeLayoutRuleTransitional
NoAlternativeLayoutRuleTransitional
Arrows
NoArrows
AutoDeriveTypeable
NoAutoDeriveTypeable
BangPatterns
NoBangPatterns
BinaryLiterals
NoBinaryLiterals
CApiFFI
NoCApiFFI
CPP
NoCPP
CUSKs
NoCUSKs
ConstrainedClassMethods
NoConstrainedClassMethods
ConstraintKinds
NoConstraintKinds
DataKinds
NoDataKinds
DatatypeContexts
NoDatatypeContexts
DefaultSignatures
NoDefaultSignatures
DeriveAnyClass
NoDeriveAnyClass
DeriveDataTypeable
NoDeriveDataTypeable
DeriveFoldable
NoDeriveFoldable
DeriveFunctor
NoDeriveFunctor
DeriveGeneric
NoDeriveGeneric
DeriveLift
NoDeriveLift
DeriveTraversable
NoDeriveTraversable
DerivingStrategies
NoDerivingStrategies
DerivingVia
NoDerivingVia
DisambiguateRecordFields
NoDisambiguateRecordFields
DoAndIfThenElse
NoDoAndIfThenElse
BlockArguments
NoBlockArguments
DoRec
NoDoRec
DuplicateRecordFields
NoDuplicateRecordFields
EmptyCase
NoEmptyCase
EmptyDataDecls
NoEmptyDataDecls
EmptyDataDeriving
NoEmptyDataDeriving
ExistentialQuantification
NoExistentialQuantification
ExplicitForAll
NoExplicitForAll
ExplicitNamespaces
NoExplicitNamespaces
ExtendedDefaultRules
NoExtendedDefaultRules
FlexibleContexts
NoFlexibleContexts
FlexibleInstances
NoFlexibleInstances
ForeignFunctionInterface
NoForeignFunctionInterface
FunctionalDependencies
NoFunctionalDependencies
GADTSyntax
NoGADTSyntax
GADTs
NoGADTs
GHCForeignImportPrim
NoGHCForeignImportPrim
GeneralizedNewtypeDeriving
NoGeneralizedNewtypeDeriving
GeneralisedNewtypeDeriving
NoGeneralisedNewtypeDeriving
ImplicitParams
NoImplicitParams
ImplicitPrelude
NoImplicitPrelude
ImportQualifiedPost
NoImportQualifiedPost
ImpredicativeTypes
NoImpredicativeTypes
IncoherentInstances
NoIncoherentInstances
TypeFamilyDependencies
NoTypeFamilyDependencies
InstanceSigs
NoInstanceSigs
ApplicativeDo
NoApplicativeDo
InterruptibleFFI
NoInterruptibleFFI
JavaScriptFFI
NoJavaScriptFFI
KindSignatures
NoKindSignatures
LambdaCase
NoLambdaCase
LiberalTypeSynonyms
NoLiberalTypeSynonyms
MagicHash
NoMagicHash
MonadComprehensions
NoMonadComprehensions
MonadFailDesugaring
NoMonadFailDesugaring
MonoLocalBinds
NoMonoLocalBinds
MonoPatBinds
NoMonoPatBinds
MonomorphismRestriction
NoMonomorphismRestriction
MultiParamTypeClasses
NoMultiParamTypeClasses
MultiWayIf
NoMultiWayIf
NumericUnderscores
NoNumericUnderscores
NPlusKPatterns
NoNPlusKPatterns
NamedFieldPuns
NoNamedFieldPuns
NamedWildCards
NoNamedWildCards
NegativeLiterals
NoNegativeLiterals
HexFloatLiterals
NoHexFloatLiterals
NondecreasingIndentation
NoNondecreasingIndentation
NullaryTypeClasses
NoNullaryTypeClasses
NumDecimals
NoNumDecimals
OverlappingInstances
NoOverlappingInstances
OverloadedLabels
NoOverloadedLabels
OverloadedLists
NoOverloadedLists
OverloadedStrings
NoOverloadedStrings
PackageImports
NoPackageImports
ParallelArrays
NoParallelArrays
ParallelListComp
NoParallelListComp
PartialTypeSignatures
NoPartialTypeSignatures
PatternGuards
NoPatternGuards
PatternSignatures
NoPatternSignatures
PatternSynonyms
NoPatternSynonyms
PolyKinds
NoPolyKinds
PolymorphicComponents
NoPolymorphicComponents
QuantifiedConstraints
NoQuantifiedConstraints
PostfixOperators
NoPostfixOperators
QuasiQuotes
NoQuasiQuotes
Rank2Types
NoRank2Types
RankNTypes
NoRankNTypes
RebindableSyntax
NoRebindableSyntax
RecordPuns
NoRecordPuns
RecordWildCards
NoRecordWildCards
RecursiveDo
NoRecursiveDo
RelaxedLayout
NoRelaxedLayout
RelaxedPolyRec
NoRelaxedPolyRec
RoleAnnotations
NoRoleAnnotations
ScopedTypeVariables
NoScopedTypeVariables
StandaloneDeriving
NoStandaloneDeriving
StarIsType
NoStarIsType
StaticPointers
NoStaticPointers
Strict
NoStrict
StrictData
NoStrictData
TemplateHaskell
NoTemplateHaskell
TemplateHaskellQuotes
NoTemplateHaskellQuotes
StandaloneKindSignatures
NoStandaloneKindSignatures
TraditionalRecordSyntax
NoTraditionalRecordSyntax
TransformListComp
NoTransformListComp
TupleSections
NoTupleSections
TypeApplications
NoTypeApplications
TypeInType
NoTypeInType
TypeFamilies
NoTypeFamilies
TypeOperators
NoTypeOperators
TypeSynonymInstances
NoTypeSynonymInstances
UnboxedTuples
NoUnboxedTuples
UnboxedSums
NoUnboxedSums
UndecidableInstances
NoUndecidableInstances
UndecidableSuperClasses
NoUndecidableSuperClasses
UnicodeSyntax
NoUnicodeSyntax
UnliftedFFITypes
NoUnliftedFFITypes
UnliftedNewtypes
NoUnliftedNewtypes
ViewPatterns
NoViewPatterns

View File

@ -0,0 +1 @@
The Glorious Glasgow Haskell Compilation System, version 8.10.7

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
GHC package manager version 8.10.7

View File

@ -0,0 +1,69 @@
[("Project name","The Glorious Glasgow Haskell Compilation System")
,("GCC extra via C opts","")
,("C compiler flags","")
,("C++ compiler flags","")
,("C compiler link flags","")
,("C compiler supports -no-pie","YES")
,("Haskell CPP flags","-E -undef -traditional")
,("ld flags","")
,("ld supports compact unwind","YES")
,("ld supports build-id","YES")
,("ld supports filelist","NO")
,("ld is GNU ld","YES")
,("Merge objects flags","-r")
,("ar flags","q")
,("ar supports at file","YES")
,("otool command","otool")
,("install_name_tool command","install_name_tool")
,("touch command","touch")
,("dllwrap command","/bin/false")
,("windres command","/bin/false")
,("libtool command","libtool")
,("cross compiling","NO")
,("target platform string","x86_64-unknown-linux")
,("target os","OSLinux")
,("target arch","ArchX86_64")
,("target word size","8")
,("target has GNU nonexec stack","YES")
,("target has .ident directive","YES")
,("target has subsections via symbols","NO")
,("target has RTS linker","YES")
,("Unregisterised","NO")
,("LLVM target","x86_64-unknown-linux")
,("LLVM llc command","llc")
,("LLVM opt command","opt")
,("LLVM clang command","clang")
,("integer library","integer-gmp")
,("Use interpreter","YES")
,("Use native code generator","YES")
,("Support SMP","YES")
,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn thr_debug_dyn l_dyn thr_l_dyn thr_debug_p debug_p")
,("Tables next to code","YES")
,("Leading underscore","NO")
,("Use LibFFI","NO")
,("Use Threads","YES")
,("Use Debugging","NO")
,("RTS expects libdw","NO")
,("Project version","8.10.7")
,("Project Git commit id","1f02b7430b2fbab403d7ffdde9cfd006e884678e")
,("Booter version","8.6.5")
,("Stage","2")
,("Build platform","x86_64-unknown-linux")
,("Host platform","x86_64-unknown-linux")
,("Target platform","x86_64-unknown-linux")
,("Have interpreter","YES")
,("Object splitting supported","NO")
,("Have native code generator","YES")
,("Support dynamic-too","YES")
,("Support parallel --make","YES")
,("Support reexported-modules","YES")
,("Support thinning and renaming package flags","YES")
,("Support Backpack","YES")
,("Requires unified installed package IDs","YES")
,("Uses package keys","YES")
,("Uses unit IDs","YES")
,("Dynamic by default","NO")
,("GHC Dynamic","YES")
,("GHC Profiled","NO")
,("Debug on","NO")
]

View File

@ -0,0 +1 @@
8.10.7

View File

@ -0,0 +1,255 @@
Haskell98
Haskell2010
Unsafe
Trustworthy
Safe
AllowAmbiguousTypes
NoAllowAmbiguousTypes
AlternativeLayoutRule
NoAlternativeLayoutRule
AlternativeLayoutRuleTransitional
NoAlternativeLayoutRuleTransitional
Arrows
NoArrows
AutoDeriveTypeable
NoAutoDeriveTypeable
BangPatterns
NoBangPatterns
BinaryLiterals
NoBinaryLiterals
CApiFFI
NoCApiFFI
CPP
NoCPP
CUSKs
NoCUSKs
ConstrainedClassMethods
NoConstrainedClassMethods
ConstraintKinds
NoConstraintKinds
DataKinds
NoDataKinds
DatatypeContexts
NoDatatypeContexts
DefaultSignatures
NoDefaultSignatures
DeriveAnyClass
NoDeriveAnyClass
DeriveDataTypeable
NoDeriveDataTypeable
DeriveFoldable
NoDeriveFoldable
DeriveFunctor
NoDeriveFunctor
DeriveGeneric
NoDeriveGeneric
DeriveLift
NoDeriveLift
DeriveTraversable
NoDeriveTraversable
DerivingStrategies
NoDerivingStrategies
DerivingVia
NoDerivingVia
DisambiguateRecordFields
NoDisambiguateRecordFields
DoAndIfThenElse
NoDoAndIfThenElse
BlockArguments
NoBlockArguments
DoRec
NoDoRec
DuplicateRecordFields
NoDuplicateRecordFields
EmptyCase
NoEmptyCase
EmptyDataDecls
NoEmptyDataDecls
EmptyDataDeriving
NoEmptyDataDeriving
ExistentialQuantification
NoExistentialQuantification
ExplicitForAll
NoExplicitForAll
ExplicitNamespaces
NoExplicitNamespaces
ExtendedDefaultRules
NoExtendedDefaultRules
FlexibleContexts
NoFlexibleContexts
FlexibleInstances
NoFlexibleInstances
ForeignFunctionInterface
NoForeignFunctionInterface
FunctionalDependencies
NoFunctionalDependencies
GADTSyntax
NoGADTSyntax
GADTs
NoGADTs
GHCForeignImportPrim
NoGHCForeignImportPrim
GeneralizedNewtypeDeriving
NoGeneralizedNewtypeDeriving
GeneralisedNewtypeDeriving
NoGeneralisedNewtypeDeriving
ImplicitParams
NoImplicitParams
ImplicitPrelude
NoImplicitPrelude
ImportQualifiedPost
NoImportQualifiedPost
ImpredicativeTypes
NoImpredicativeTypes
IncoherentInstances
NoIncoherentInstances
TypeFamilyDependencies
NoTypeFamilyDependencies
InstanceSigs
NoInstanceSigs
ApplicativeDo
NoApplicativeDo
InterruptibleFFI
NoInterruptibleFFI
JavaScriptFFI
NoJavaScriptFFI
KindSignatures
NoKindSignatures
LambdaCase
NoLambdaCase
LiberalTypeSynonyms
NoLiberalTypeSynonyms
MagicHash
NoMagicHash
MonadComprehensions
NoMonadComprehensions
MonadFailDesugaring
NoMonadFailDesugaring
MonoLocalBinds
NoMonoLocalBinds
MonoPatBinds
NoMonoPatBinds
MonomorphismRestriction
NoMonomorphismRestriction
MultiParamTypeClasses
NoMultiParamTypeClasses
MultiWayIf
NoMultiWayIf
NumericUnderscores
NoNumericUnderscores
NPlusKPatterns
NoNPlusKPatterns
NamedFieldPuns
NoNamedFieldPuns
NamedWildCards
NoNamedWildCards
NegativeLiterals
NoNegativeLiterals
HexFloatLiterals
NoHexFloatLiterals
NondecreasingIndentation
NoNondecreasingIndentation
NullaryTypeClasses
NoNullaryTypeClasses
NumDecimals
NoNumDecimals
OverlappingInstances
NoOverlappingInstances
OverloadedLabels
NoOverloadedLabels
OverloadedLists
NoOverloadedLists
OverloadedStrings
NoOverloadedStrings
PackageImports
NoPackageImports
ParallelArrays
NoParallelArrays
ParallelListComp
NoParallelListComp
PartialTypeSignatures
NoPartialTypeSignatures
PatternGuards
NoPatternGuards
PatternSignatures
NoPatternSignatures
PatternSynonyms
NoPatternSynonyms
PolyKinds
NoPolyKinds
PolymorphicComponents
NoPolymorphicComponents
QuantifiedConstraints
NoQuantifiedConstraints
PostfixOperators
NoPostfixOperators
QuasiQuotes
NoQuasiQuotes
Rank2Types
NoRank2Types
RankNTypes
NoRankNTypes
RebindableSyntax
NoRebindableSyntax
RecordPuns
NoRecordPuns
RecordWildCards
NoRecordWildCards
RecursiveDo
NoRecursiveDo
RelaxedLayout
NoRelaxedLayout
RelaxedPolyRec
NoRelaxedPolyRec
RoleAnnotations
NoRoleAnnotations
ScopedTypeVariables
NoScopedTypeVariables
StandaloneDeriving
NoStandaloneDeriving
StarIsType
NoStarIsType
StaticPointers
NoStaticPointers
Strict
NoStrict
StrictData
NoStrictData
TemplateHaskell
NoTemplateHaskell
TemplateHaskellQuotes
NoTemplateHaskellQuotes
StandaloneKindSignatures
NoStandaloneKindSignatures
TraditionalRecordSyntax
NoTraditionalRecordSyntax
TransformListComp
NoTransformListComp
TupleSections
NoTupleSections
TypeApplications
NoTypeApplications
TypeInType
NoTypeInType
TypeFamilies
NoTypeFamilies
TypeOperators
NoTypeOperators
TypeSynonymInstances
NoTypeSynonymInstances
UnboxedTuples
NoUnboxedTuples
UnboxedSums
NoUnboxedSums
UndecidableInstances
NoUndecidableInstances
UndecidableSuperClasses
NoUndecidableSuperClasses
UnicodeSyntax
NoUnicodeSyntax
UnliftedFFITypes
NoUnliftedFFITypes
UnliftedNewtypes
NoUnliftedNewtypes
ViewPatterns
NoViewPatterns

View File

@ -0,0 +1 @@
The Glorious Glasgow Haskell Compilation System, version 8.10.7

View File

@ -0,0 +1 @@
GHCJS package manager version 8.10.7

View File

@ -0,0 +1,71 @@
[("Project name","The Glorious Glasgow Haskell Compilation System for JavaScript")
,("Project version","8.10.7")
,("GCC extra via C opts"," -fwrapv -fno-builtin")
,("C compiler flags","")
,("C++ compiler flags","")
,("C compiler link flags"," ")
,("C compiler supports -no-pie","NO")
,("Haskell CPP flags","-E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs")
,("ld command","ld")
,("ld flags","")
,("ld supports compact unwind","YES")
,("ld supports build-id","NO")
,("ld supports filelist","YES")
,("ld is GNU ld","NO")
,("Merge objects command","ld.gold")
,("Merge objects flags","-r")
,("ar flags","qcls")
,("ar supports at file","NO")
,("otool command","otool")
,("install_name_tool command","install_name_tool")
,("touch command","touch")
,("dllwrap command","/bin/false")
,("windres command","/bin/false")
,("libtool command","libtool")
,("cross compiling","YES")
,("target os","OSUnknown")
,("target arch","ArchJavaScript")
,("target platform string","js-unknown-ghcjs")
,("Target platform","js-unknown-ghcjs")
,("target word size","4")
,("target has GNU nonexec stack","NO")
,("target has .ident directive","YES")
,("target has subsections via symbols","YES")
,("target has RTS linker","YES")
,("integer library","integer-gmp")
,("Unregisterised","YES")
,("LLVM target","js-unknown-ghcjs")
,("LLVM llc command","llc")
,("LLVM opt command","opt")
,("LLVM clang command","clang")
,("Tables next to code","YES")
,("Use interpreter","YES")
,("Use native code generator","YES")
,("Support SMP","NO")
,("RTS ways","l debug debug_p")
,("Leading underscore","NO")
,("Use LibFFI","NO")
,("Use Threads","YES")
,("Use Debugging","NO")
,("RTS expects libdw","NO")
,("Support parallel --make","YES")
,("Support reexported-modules","YES")
,("Support thinning and renaming package flags","YES")
,("Support Backpack","YES")
,("Requires unified installed package IDs","YES")
,("Uses package keys","YES")
,("Uses unit IDs","YES")
,("Project Git commit id","1f02b7430b2fbab403d7ffdde9cfd006e884678e")
,("Booter version","8.10.1")
,("Stage","2")
,("Build platform","x86_64-unknown-linux")
,("Host platform","wasm32-unknown-emscripten")
,("Have interpreter","YES")
,("Object splitting supported","NO")
,("Have native code generator","YES")
,("Support dynamic-too","YES")
,("Dynamic by default","NO")
,("GHC Dynamic","NO")
,("GHC Profiled","NO")
,("Debug on","NO")
]

View File

@ -0,0 +1,255 @@
Haskell98
Haskell2010
Unsafe
Trustworthy
Safe
AllowAmbiguousTypes
NoAllowAmbiguousTypes
AlternativeLayoutRule
NoAlternativeLayoutRule
AlternativeLayoutRuleTransitional
NoAlternativeLayoutRuleTransitional
Arrows
NoArrows
AutoDeriveTypeable
NoAutoDeriveTypeable
BangPatterns
NoBangPatterns
BinaryLiterals
NoBinaryLiterals
CApiFFI
NoCApiFFI
CPP
NoCPP
CUSKs
NoCUSKs
ConstrainedClassMethods
NoConstrainedClassMethods
ConstraintKinds
NoConstraintKinds
DataKinds
NoDataKinds
DatatypeContexts
NoDatatypeContexts
DefaultSignatures
NoDefaultSignatures
DeriveAnyClass
NoDeriveAnyClass
DeriveDataTypeable
NoDeriveDataTypeable
DeriveFoldable
NoDeriveFoldable
DeriveFunctor
NoDeriveFunctor
DeriveGeneric
NoDeriveGeneric
DeriveLift
NoDeriveLift
DeriveTraversable
NoDeriveTraversable
DerivingStrategies
NoDerivingStrategies
DerivingVia
NoDerivingVia
DisambiguateRecordFields
NoDisambiguateRecordFields
DoAndIfThenElse
NoDoAndIfThenElse
BlockArguments
NoBlockArguments
DoRec
NoDoRec
DuplicateRecordFields
NoDuplicateRecordFields
EmptyCase
NoEmptyCase
EmptyDataDecls
NoEmptyDataDecls
EmptyDataDeriving
NoEmptyDataDeriving
ExistentialQuantification
NoExistentialQuantification
ExplicitForAll
NoExplicitForAll
ExplicitNamespaces
NoExplicitNamespaces
ExtendedDefaultRules
NoExtendedDefaultRules
FlexibleContexts
NoFlexibleContexts
FlexibleInstances
NoFlexibleInstances
ForeignFunctionInterface
NoForeignFunctionInterface
FunctionalDependencies
NoFunctionalDependencies
GADTSyntax
NoGADTSyntax
GADTs
NoGADTs
GHCForeignImportPrim
NoGHCForeignImportPrim
GeneralizedNewtypeDeriving
NoGeneralizedNewtypeDeriving
GeneralisedNewtypeDeriving
NoGeneralisedNewtypeDeriving
ImplicitParams
NoImplicitParams
ImplicitPrelude
NoImplicitPrelude
ImportQualifiedPost
NoImportQualifiedPost
ImpredicativeTypes
NoImpredicativeTypes
IncoherentInstances
NoIncoherentInstances
TypeFamilyDependencies
NoTypeFamilyDependencies
InstanceSigs
NoInstanceSigs
ApplicativeDo
NoApplicativeDo
InterruptibleFFI
NoInterruptibleFFI
JavaScriptFFI
NoJavaScriptFFI
KindSignatures
NoKindSignatures
LambdaCase
NoLambdaCase
LiberalTypeSynonyms
NoLiberalTypeSynonyms
MagicHash
NoMagicHash
MonadComprehensions
NoMonadComprehensions
MonadFailDesugaring
NoMonadFailDesugaring
MonoLocalBinds
NoMonoLocalBinds
MonoPatBinds
NoMonoPatBinds
MonomorphismRestriction
NoMonomorphismRestriction
MultiParamTypeClasses
NoMultiParamTypeClasses
MultiWayIf
NoMultiWayIf
NumericUnderscores
NoNumericUnderscores
NPlusKPatterns
NoNPlusKPatterns
NamedFieldPuns
NoNamedFieldPuns
NamedWildCards
NoNamedWildCards
NegativeLiterals
NoNegativeLiterals
HexFloatLiterals
NoHexFloatLiterals
NondecreasingIndentation
NoNondecreasingIndentation
NullaryTypeClasses
NoNullaryTypeClasses
NumDecimals
NoNumDecimals
OverlappingInstances
NoOverlappingInstances
OverloadedLabels
NoOverloadedLabels
OverloadedLists
NoOverloadedLists
OverloadedStrings
NoOverloadedStrings
PackageImports
NoPackageImports
ParallelArrays
NoParallelArrays
ParallelListComp
NoParallelListComp
PartialTypeSignatures
NoPartialTypeSignatures
PatternGuards
NoPatternGuards
PatternSignatures
NoPatternSignatures
PatternSynonyms
NoPatternSynonyms
PolyKinds
NoPolyKinds
PolymorphicComponents
NoPolymorphicComponents
QuantifiedConstraints
NoQuantifiedConstraints
PostfixOperators
NoPostfixOperators
QuasiQuotes
NoQuasiQuotes
Rank2Types
NoRank2Types
RankNTypes
NoRankNTypes
RebindableSyntax
NoRebindableSyntax
RecordPuns
NoRecordPuns
RecordWildCards
NoRecordWildCards
RecursiveDo
NoRecursiveDo
RelaxedLayout
NoRelaxedLayout
RelaxedPolyRec
NoRelaxedPolyRec
RoleAnnotations
NoRoleAnnotations
ScopedTypeVariables
NoScopedTypeVariables
StandaloneDeriving
NoStandaloneDeriving
StarIsType
NoStarIsType
StaticPointers
NoStaticPointers
Strict
NoStrict
StrictData
NoStrictData
TemplateHaskell
NoTemplateHaskell
TemplateHaskellQuotes
NoTemplateHaskellQuotes
StandaloneKindSignatures
NoStandaloneKindSignatures
TraditionalRecordSyntax
NoTraditionalRecordSyntax
TransformListComp
NoTransformListComp
TupleSections
NoTupleSections
TypeApplications
NoTypeApplications
TypeInType
NoTypeInType
TypeFamilies
NoTypeFamilies
TypeOperators
NoTypeOperators
TypeSynonymInstances
NoTypeSynonymInstances
UnboxedTuples
NoUnboxedTuples
UnboxedSums
NoUnboxedSums
UndecidableInstances
NoUndecidableInstances
UndecidableSuperClasses
NoUndecidableSuperClasses
UnicodeSyntax
NoUnicodeSyntax
UnliftedFFITypes
NoUnliftedFFITypes
UnliftedNewtypes
NoUnliftedNewtypes
ViewPatterns
NoViewPatterns

View File

@ -0,0 +1 @@
The Glorious Glasgow Haskell Compilation System for JavaScript, version 8.10.7 (GHC 8.10.7)

View File

@ -0,0 +1 @@
GHCJS package manager version 8.10.7

View File

@ -0,0 +1,71 @@
[("Project name","The Glorious Glasgow Haskell Compilation System for JavaScript")
,("Project version","8.10.7")
,("GCC extra via C opts"," -fwrapv -fno-builtin")
,("C compiler flags","")
,("C++ compiler flags","")
,("C compiler link flags"," ")
,("C compiler supports -no-pie","NO")
,("Haskell CPP flags","-E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs")
,("ld command","ld")
,("ld flags","")
,("ld supports compact unwind","YES")
,("ld supports build-id","NO")
,("ld supports filelist","YES")
,("ld is GNU ld","NO")
,("Merge objects command","ld.gold")
,("Merge objects flags","-r")
,("ar flags","qcls")
,("ar supports at file","NO")
,("otool command","otool")
,("install_name_tool command","install_name_tool")
,("touch command","touch")
,("dllwrap command","/bin/false")
,("windres command","/bin/false")
,("libtool command","libtool")
,("cross compiling","YES")
,("target os","OSUnknown")
,("target arch","ArchJavaScript")
,("target platform string","js-unknown-ghcjs")
,("Target platform","js-unknown-ghcjs")
,("target word size","4")
,("target has GNU nonexec stack","NO")
,("target has .ident directive","YES")
,("target has subsections via symbols","YES")
,("target has RTS linker","YES")
,("integer library","integer-gmp")
,("Unregisterised","YES")
,("LLVM target","js-unknown-ghcjs")
,("LLVM llc command","llc")
,("LLVM opt command","opt")
,("LLVM clang command","clang")
,("Tables next to code","YES")
,("Use interpreter","YES")
,("Use native code generator","YES")
,("Support SMP","NO")
,("RTS ways","l debug debug_p")
,("Leading underscore","NO")
,("Use LibFFI","NO")
,("Use Threads","YES")
,("Use Debugging","NO")
,("RTS expects libdw","NO")
,("Support parallel --make","YES")
,("Support reexported-modules","YES")
,("Support thinning and renaming package flags","YES")
,("Support Backpack","YES")
,("Requires unified installed package IDs","YES")
,("Uses package keys","YES")
,("Uses unit IDs","YES")
,("Project Git commit id","1f02b7430b2fbab403d7ffdde9cfd006e884678e")
,("Booter version","8.10.1")
,("Stage","2")
,("Build platform","x86_64-unknown-linux")
,("Host platform","wasm32-unknown-emscripten")
,("Have interpreter","YES")
,("Object splitting supported","NO")
,("Have native code generator","YES")
,("Support dynamic-too","YES")
,("Dynamic by default","NO")
,("GHC Dynamic","NO")
,("GHC Profiled","NO")
,("Debug on","NO")
]

View File

@ -0,0 +1,255 @@
Haskell98
Haskell2010
Unsafe
Trustworthy
Safe
AllowAmbiguousTypes
NoAllowAmbiguousTypes
AlternativeLayoutRule
NoAlternativeLayoutRule
AlternativeLayoutRuleTransitional
NoAlternativeLayoutRuleTransitional
Arrows
NoArrows
AutoDeriveTypeable
NoAutoDeriveTypeable
BangPatterns
NoBangPatterns
BinaryLiterals
NoBinaryLiterals
CApiFFI
NoCApiFFI
CPP
NoCPP
CUSKs
NoCUSKs
ConstrainedClassMethods
NoConstrainedClassMethods
ConstraintKinds
NoConstraintKinds
DataKinds
NoDataKinds
DatatypeContexts
NoDatatypeContexts
DefaultSignatures
NoDefaultSignatures
DeriveAnyClass
NoDeriveAnyClass
DeriveDataTypeable
NoDeriveDataTypeable
DeriveFoldable
NoDeriveFoldable
DeriveFunctor
NoDeriveFunctor
DeriveGeneric
NoDeriveGeneric
DeriveLift
NoDeriveLift
DeriveTraversable
NoDeriveTraversable
DerivingStrategies
NoDerivingStrategies
DerivingVia
NoDerivingVia
DisambiguateRecordFields
NoDisambiguateRecordFields
DoAndIfThenElse
NoDoAndIfThenElse
BlockArguments
NoBlockArguments
DoRec
NoDoRec
DuplicateRecordFields
NoDuplicateRecordFields
EmptyCase
NoEmptyCase
EmptyDataDecls
NoEmptyDataDecls
EmptyDataDeriving
NoEmptyDataDeriving
ExistentialQuantification
NoExistentialQuantification
ExplicitForAll
NoExplicitForAll
ExplicitNamespaces
NoExplicitNamespaces
ExtendedDefaultRules
NoExtendedDefaultRules
FlexibleContexts
NoFlexibleContexts
FlexibleInstances
NoFlexibleInstances
ForeignFunctionInterface
NoForeignFunctionInterface
FunctionalDependencies
NoFunctionalDependencies
GADTSyntax
NoGADTSyntax
GADTs
NoGADTs
GHCForeignImportPrim
NoGHCForeignImportPrim
GeneralizedNewtypeDeriving
NoGeneralizedNewtypeDeriving
GeneralisedNewtypeDeriving
NoGeneralisedNewtypeDeriving
ImplicitParams
NoImplicitParams
ImplicitPrelude
NoImplicitPrelude
ImportQualifiedPost
NoImportQualifiedPost
ImpredicativeTypes
NoImpredicativeTypes
IncoherentInstances
NoIncoherentInstances
TypeFamilyDependencies
NoTypeFamilyDependencies
InstanceSigs
NoInstanceSigs
ApplicativeDo
NoApplicativeDo
InterruptibleFFI
NoInterruptibleFFI
JavaScriptFFI
NoJavaScriptFFI
KindSignatures
NoKindSignatures
LambdaCase
NoLambdaCase
LiberalTypeSynonyms
NoLiberalTypeSynonyms
MagicHash
NoMagicHash
MonadComprehensions
NoMonadComprehensions
MonadFailDesugaring
NoMonadFailDesugaring
MonoLocalBinds
NoMonoLocalBinds
MonoPatBinds
NoMonoPatBinds
MonomorphismRestriction
NoMonomorphismRestriction
MultiParamTypeClasses
NoMultiParamTypeClasses
MultiWayIf
NoMultiWayIf
NumericUnderscores
NoNumericUnderscores
NPlusKPatterns
NoNPlusKPatterns
NamedFieldPuns
NoNamedFieldPuns
NamedWildCards
NoNamedWildCards
NegativeLiterals
NoNegativeLiterals
HexFloatLiterals
NoHexFloatLiterals
NondecreasingIndentation
NoNondecreasingIndentation
NullaryTypeClasses
NoNullaryTypeClasses
NumDecimals
NoNumDecimals
OverlappingInstances
NoOverlappingInstances
OverloadedLabels
NoOverloadedLabels
OverloadedLists
NoOverloadedLists
OverloadedStrings
NoOverloadedStrings
PackageImports
NoPackageImports
ParallelArrays
NoParallelArrays
ParallelListComp
NoParallelListComp
PartialTypeSignatures
NoPartialTypeSignatures
PatternGuards
NoPatternGuards
PatternSignatures
NoPatternSignatures
PatternSynonyms
NoPatternSynonyms
PolyKinds
NoPolyKinds
PolymorphicComponents
NoPolymorphicComponents
QuantifiedConstraints
NoQuantifiedConstraints
PostfixOperators
NoPostfixOperators
QuasiQuotes
NoQuasiQuotes
Rank2Types
NoRank2Types
RankNTypes
NoRankNTypes
RebindableSyntax
NoRebindableSyntax
RecordPuns
NoRecordPuns
RecordWildCards
NoRecordWildCards
RecursiveDo
NoRecursiveDo
RelaxedLayout
NoRelaxedLayout
RelaxedPolyRec
NoRelaxedPolyRec
RoleAnnotations
NoRoleAnnotations
ScopedTypeVariables
NoScopedTypeVariables
StandaloneDeriving
NoStandaloneDeriving
StarIsType
NoStarIsType
StaticPointers
NoStaticPointers
Strict
NoStrict
StrictData
NoStrictData
TemplateHaskell
NoTemplateHaskell
TemplateHaskellQuotes
NoTemplateHaskellQuotes
StandaloneKindSignatures
NoStandaloneKindSignatures
TraditionalRecordSyntax
NoTraditionalRecordSyntax
TransformListComp
NoTransformListComp
TupleSections
NoTupleSections
TypeApplications
NoTypeApplications
TypeInType
NoTypeInType
TypeFamilies
NoTypeFamilies
TypeOperators
NoTypeOperators
TypeSynonymInstances
NoTypeSynonymInstances
UnboxedTuples
NoUnboxedTuples
UnboxedSums
NoUnboxedSums
UndecidableInstances
NoUndecidableInstances
UndecidableSuperClasses
NoUndecidableSuperClasses
UnicodeSyntax
NoUnicodeSyntax
UnliftedFFITypes
NoUnliftedFFITypes
UnliftedNewtypes
NoUnliftedNewtypes
ViewPatterns
NoViewPatterns

View File

@ -0,0 +1 @@
The Glorious Glasgow Haskell Compilation System for JavaScript, version 8.10.7 (GHC 8.10.7)

View File

@ -0,0 +1 @@
GHC package manager version 8.10.7

View File

@ -0,0 +1,69 @@
[("Project name","The Glorious Glasgow Haskell Compilation System")
,("GCC extra via C opts","")
,("C compiler flags","")
,("C++ compiler flags","")
,("C compiler link flags","")
,("C compiler supports -no-pie","YES")
,("Haskell CPP flags","-E -undef -traditional")
,("ld flags","")
,("ld supports compact unwind","YES")
,("ld supports build-id","YES")
,("ld supports filelist","NO")
,("ld is GNU ld","YES")
,("Merge objects flags","-r")
,("ar flags","q")
,("ar supports at file","YES")
,("otool command","otool")
,("install_name_tool command","install_name_tool")
,("touch command","touch")
,("dllwrap command","/bin/false")
,("windres command","/bin/false")
,("libtool command","libtool")
,("cross compiling","NO")
,("target platform string","x86_64-unknown-linux")
,("target os","OSLinux")
,("target arch","ArchX86_64")
,("target word size","8")
,("target has GNU nonexec stack","YES")
,("target has .ident directive","YES")
,("target has subsections via symbols","NO")
,("target has RTS linker","YES")
,("Unregisterised","NO")
,("LLVM target","x86_64-unknown-linux")
,("LLVM llc command","llc")
,("LLVM opt command","opt")
,("LLVM clang command","clang")
,("integer library","integer-gmp")
,("Use interpreter","YES")
,("Use native code generator","YES")
,("Support SMP","YES")
,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn thr_debug_dyn l_dyn thr_l_dyn thr_debug_p debug_p")
,("Tables next to code","YES")
,("Leading underscore","NO")
,("Use LibFFI","NO")
,("Use Threads","YES")
,("Use Debugging","NO")
,("RTS expects libdw","NO")
,("Project version","8.10.7")
,("Project Git commit id","1f02b7430b2fbab403d7ffdde9cfd006e884678e")
,("Booter version","8.6.5")
,("Stage","2")
,("Build platform","x86_64-unknown-linux")
,("Host platform","x86_64-unknown-linux")
,("Target platform","x86_64-unknown-linux")
,("Have interpreter","YES")
,("Object splitting supported","NO")
,("Have native code generator","YES")
,("Support dynamic-too","YES")
,("Support parallel --make","YES")
,("Support reexported-modules","YES")
,("Support thinning and renaming package flags","YES")
,("Support Backpack","YES")
,("Requires unified installed package IDs","YES")
,("Uses package keys","YES")
,("Uses unit IDs","YES")
,("Dynamic by default","NO")
,("GHC Dynamic","YES")
,("GHC Profiled","NO")
,("Debug on","NO")
]

View File

@ -0,0 +1,255 @@
Haskell98
Haskell2010
Unsafe
Trustworthy
Safe
AllowAmbiguousTypes
NoAllowAmbiguousTypes
AlternativeLayoutRule
NoAlternativeLayoutRule
AlternativeLayoutRuleTransitional
NoAlternativeLayoutRuleTransitional
Arrows
NoArrows
AutoDeriveTypeable
NoAutoDeriveTypeable
BangPatterns
NoBangPatterns
BinaryLiterals
NoBinaryLiterals
CApiFFI
NoCApiFFI
CPP
NoCPP
CUSKs
NoCUSKs
ConstrainedClassMethods
NoConstrainedClassMethods
ConstraintKinds
NoConstraintKinds
DataKinds
NoDataKinds
DatatypeContexts
NoDatatypeContexts
DefaultSignatures
NoDefaultSignatures
DeriveAnyClass
NoDeriveAnyClass
DeriveDataTypeable
NoDeriveDataTypeable
DeriveFoldable
NoDeriveFoldable
DeriveFunctor
NoDeriveFunctor
DeriveGeneric
NoDeriveGeneric
DeriveLift
NoDeriveLift
DeriveTraversable
NoDeriveTraversable
DerivingStrategies
NoDerivingStrategies
DerivingVia
NoDerivingVia
DisambiguateRecordFields
NoDisambiguateRecordFields
DoAndIfThenElse
NoDoAndIfThenElse
BlockArguments
NoBlockArguments
DoRec
NoDoRec
DuplicateRecordFields
NoDuplicateRecordFields
EmptyCase
NoEmptyCase
EmptyDataDecls
NoEmptyDataDecls
EmptyDataDeriving
NoEmptyDataDeriving
ExistentialQuantification
NoExistentialQuantification
ExplicitForAll
NoExplicitForAll
ExplicitNamespaces
NoExplicitNamespaces
ExtendedDefaultRules
NoExtendedDefaultRules
FlexibleContexts
NoFlexibleContexts
FlexibleInstances
NoFlexibleInstances
ForeignFunctionInterface
NoForeignFunctionInterface
FunctionalDependencies
NoFunctionalDependencies
GADTSyntax
NoGADTSyntax
GADTs
NoGADTs
GHCForeignImportPrim
NoGHCForeignImportPrim
GeneralizedNewtypeDeriving
NoGeneralizedNewtypeDeriving
GeneralisedNewtypeDeriving
NoGeneralisedNewtypeDeriving
ImplicitParams
NoImplicitParams
ImplicitPrelude
NoImplicitPrelude
ImportQualifiedPost
NoImportQualifiedPost
ImpredicativeTypes
NoImpredicativeTypes
IncoherentInstances
NoIncoherentInstances
TypeFamilyDependencies
NoTypeFamilyDependencies
InstanceSigs
NoInstanceSigs
ApplicativeDo
NoApplicativeDo
InterruptibleFFI
NoInterruptibleFFI
JavaScriptFFI
NoJavaScriptFFI
KindSignatures
NoKindSignatures
LambdaCase
NoLambdaCase
LiberalTypeSynonyms
NoLiberalTypeSynonyms
MagicHash
NoMagicHash
MonadComprehensions
NoMonadComprehensions
MonadFailDesugaring
NoMonadFailDesugaring
MonoLocalBinds
NoMonoLocalBinds
MonoPatBinds
NoMonoPatBinds
MonomorphismRestriction
NoMonomorphismRestriction
MultiParamTypeClasses
NoMultiParamTypeClasses
MultiWayIf
NoMultiWayIf
NumericUnderscores
NoNumericUnderscores
NPlusKPatterns
NoNPlusKPatterns
NamedFieldPuns
NoNamedFieldPuns
NamedWildCards
NoNamedWildCards
NegativeLiterals
NoNegativeLiterals
HexFloatLiterals
NoHexFloatLiterals
NondecreasingIndentation
NoNondecreasingIndentation
NullaryTypeClasses
NoNullaryTypeClasses
NumDecimals
NoNumDecimals
OverlappingInstances
NoOverlappingInstances
OverloadedLabels
NoOverloadedLabels
OverloadedLists
NoOverloadedLists
OverloadedStrings
NoOverloadedStrings
PackageImports
NoPackageImports
ParallelArrays
NoParallelArrays
ParallelListComp
NoParallelListComp
PartialTypeSignatures
NoPartialTypeSignatures
PatternGuards
NoPatternGuards
PatternSignatures
NoPatternSignatures
PatternSynonyms
NoPatternSynonyms
PolyKinds
NoPolyKinds
PolymorphicComponents
NoPolymorphicComponents
QuantifiedConstraints
NoQuantifiedConstraints
PostfixOperators
NoPostfixOperators
QuasiQuotes
NoQuasiQuotes
Rank2Types
NoRank2Types
RankNTypes
NoRankNTypes
RebindableSyntax
NoRebindableSyntax
RecordPuns
NoRecordPuns
RecordWildCards
NoRecordWildCards
RecursiveDo
NoRecursiveDo
RelaxedLayout
NoRelaxedLayout
RelaxedPolyRec
NoRelaxedPolyRec
RoleAnnotations
NoRoleAnnotations
ScopedTypeVariables
NoScopedTypeVariables
StandaloneDeriving
NoStandaloneDeriving
StarIsType
NoStarIsType
StaticPointers
NoStaticPointers
Strict
NoStrict
StrictData
NoStrictData
TemplateHaskell
NoTemplateHaskell
TemplateHaskellQuotes
NoTemplateHaskellQuotes
StandaloneKindSignatures
NoStandaloneKindSignatures
TraditionalRecordSyntax
NoTraditionalRecordSyntax
TransformListComp
NoTransformListComp
TupleSections
NoTupleSections
TypeApplications
NoTypeApplications
TypeInType
NoTypeInType
TypeFamilies
NoTypeFamilies
TypeOperators
NoTypeOperators
TypeSynonymInstances
NoTypeSynonymInstances
UnboxedTuples
NoUnboxedTuples
UnboxedSums
NoUnboxedSums
UndecidableInstances
NoUndecidableInstances
UndecidableSuperClasses
NoUndecidableSuperClasses
UnicodeSyntax
NoUnicodeSyntax
UnliftedFFITypes
NoUnliftedFFITypes
UnliftedNewtypes
NoUnliftedNewtypes
ViewPatterns
NoViewPatterns

View File

@ -0,0 +1 @@
The Glorious Glasgow Haskell Compilation System, version 8.10.7

View File

@ -0,0 +1 @@
GHC package manager version 8.10.7

View File

@ -0,0 +1,69 @@
[("Project name","The Glorious Glasgow Haskell Compilation System")
,("GCC extra via C opts","")
,("C compiler flags","")
,("C++ compiler flags","")
,("C compiler link flags","")
,("C compiler supports -no-pie","YES")
,("Haskell CPP flags","-E -undef -traditional")
,("ld flags","")
,("ld supports compact unwind","YES")
,("ld supports build-id","YES")
,("ld supports filelist","NO")
,("ld is GNU ld","YES")
,("Merge objects flags","-r")
,("ar flags","q")
,("ar supports at file","YES")
,("otool command","otool")
,("install_name_tool command","install_name_tool")
,("touch command","touch")
,("dllwrap command","x86_64-w64-mingw32-dllwrap")
,("windres command","x86_64-w64-mingw32-windres")
,("libtool command","libtool")
,("cross compiling","YES")
,("target platform string","x86_64-unknown-mingw32")
,("target os","OSMinGW32")
,("target arch","ArchX86_64")
,("target word size","8")
,("target has GNU nonexec stack","NO")
,("target has .ident directive","YES")
,("target has subsections via symbols","NO")
,("target has RTS linker","YES")
,("Unregisterised","NO")
,("LLVM target","x86_64-unknown-windows")
,("LLVM llc command","llc")
,("LLVM opt command","opt")
,("LLVM clang command","clang")
,("integer library","integer-gmp")
,("Use interpreter","YES")
,("Use native code generator","YES")
,("Support SMP","YES")
,("RTS ways","l debug thr thr_debug thr_l thr_p thr_debug_p debug_p")
,("Tables next to code","YES")
,("Leading underscore","NO")
,("Use LibFFI","NO")
,("Use Threads","YES")
,("Use Debugging","NO")
,("RTS expects libdw","NO")
,("Project version","8.10.7")
,("Project Git commit id","1f02b7430b2fbab403d7ffdde9cfd006e884678e")
,("Booter version","8.6.5")
,("Stage","1")
,("Build platform","x86_64-unknown-linux")
,("Host platform","x86_64-unknown-linux")
,("Target platform","x86_64-unknown-mingw32")
,("Have interpreter","YES")
,("Object splitting supported","NO")
,("Have native code generator","YES")
,("Support dynamic-too","NO")
,("Support parallel --make","YES")
,("Support reexported-modules","YES")
,("Support thinning and renaming package flags","YES")
,("Support Backpack","YES")
,("Requires unified installed package IDs","YES")
,("Uses package keys","YES")
,("Uses unit IDs","YES")
,("Dynamic by default","NO")
,("GHC Dynamic","NO")
,("GHC Profiled","NO")
,("Debug on","NO")
]

View File

@ -0,0 +1,255 @@
Haskell98
Haskell2010
Unsafe
Trustworthy
Safe
AllowAmbiguousTypes
NoAllowAmbiguousTypes
AlternativeLayoutRule
NoAlternativeLayoutRule
AlternativeLayoutRuleTransitional
NoAlternativeLayoutRuleTransitional
Arrows
NoArrows
AutoDeriveTypeable
NoAutoDeriveTypeable
BangPatterns
NoBangPatterns
BinaryLiterals
NoBinaryLiterals
CApiFFI
NoCApiFFI
CPP
NoCPP
CUSKs
NoCUSKs
ConstrainedClassMethods
NoConstrainedClassMethods
ConstraintKinds
NoConstraintKinds
DataKinds
NoDataKinds
DatatypeContexts
NoDatatypeContexts
DefaultSignatures
NoDefaultSignatures
DeriveAnyClass
NoDeriveAnyClass
DeriveDataTypeable
NoDeriveDataTypeable
DeriveFoldable
NoDeriveFoldable
DeriveFunctor
NoDeriveFunctor
DeriveGeneric
NoDeriveGeneric
DeriveLift
NoDeriveLift
DeriveTraversable
NoDeriveTraversable
DerivingStrategies
NoDerivingStrategies
DerivingVia
NoDerivingVia
DisambiguateRecordFields
NoDisambiguateRecordFields
DoAndIfThenElse
NoDoAndIfThenElse
BlockArguments
NoBlockArguments
DoRec
NoDoRec
DuplicateRecordFields
NoDuplicateRecordFields
EmptyCase
NoEmptyCase
EmptyDataDecls
NoEmptyDataDecls
EmptyDataDeriving
NoEmptyDataDeriving
ExistentialQuantification
NoExistentialQuantification
ExplicitForAll
NoExplicitForAll
ExplicitNamespaces
NoExplicitNamespaces
ExtendedDefaultRules
NoExtendedDefaultRules
FlexibleContexts
NoFlexibleContexts
FlexibleInstances
NoFlexibleInstances
ForeignFunctionInterface
NoForeignFunctionInterface
FunctionalDependencies
NoFunctionalDependencies
GADTSyntax
NoGADTSyntax
GADTs
NoGADTs
GHCForeignImportPrim
NoGHCForeignImportPrim
GeneralizedNewtypeDeriving
NoGeneralizedNewtypeDeriving
GeneralisedNewtypeDeriving
NoGeneralisedNewtypeDeriving
ImplicitParams
NoImplicitParams
ImplicitPrelude
NoImplicitPrelude
ImportQualifiedPost
NoImportQualifiedPost
ImpredicativeTypes
NoImpredicativeTypes
IncoherentInstances
NoIncoherentInstances
TypeFamilyDependencies
NoTypeFamilyDependencies
InstanceSigs
NoInstanceSigs
ApplicativeDo
NoApplicativeDo
InterruptibleFFI
NoInterruptibleFFI
JavaScriptFFI
NoJavaScriptFFI
KindSignatures
NoKindSignatures
LambdaCase
NoLambdaCase
LiberalTypeSynonyms
NoLiberalTypeSynonyms
MagicHash
NoMagicHash
MonadComprehensions
NoMonadComprehensions
MonadFailDesugaring
NoMonadFailDesugaring
MonoLocalBinds
NoMonoLocalBinds
MonoPatBinds
NoMonoPatBinds
MonomorphismRestriction
NoMonomorphismRestriction
MultiParamTypeClasses
NoMultiParamTypeClasses
MultiWayIf
NoMultiWayIf
NumericUnderscores
NoNumericUnderscores
NPlusKPatterns
NoNPlusKPatterns
NamedFieldPuns
NoNamedFieldPuns
NamedWildCards
NoNamedWildCards
NegativeLiterals
NoNegativeLiterals
HexFloatLiterals
NoHexFloatLiterals
NondecreasingIndentation
NoNondecreasingIndentation
NullaryTypeClasses
NoNullaryTypeClasses
NumDecimals
NoNumDecimals
OverlappingInstances
NoOverlappingInstances
OverloadedLabels
NoOverloadedLabels
OverloadedLists
NoOverloadedLists
OverloadedStrings
NoOverloadedStrings
PackageImports
NoPackageImports
ParallelArrays
NoParallelArrays
ParallelListComp
NoParallelListComp
PartialTypeSignatures
NoPartialTypeSignatures
PatternGuards
NoPatternGuards
PatternSignatures
NoPatternSignatures
PatternSynonyms
NoPatternSynonyms
PolyKinds
NoPolyKinds
PolymorphicComponents
NoPolymorphicComponents
QuantifiedConstraints
NoQuantifiedConstraints
PostfixOperators
NoPostfixOperators
QuasiQuotes
NoQuasiQuotes
Rank2Types
NoRank2Types
RankNTypes
NoRankNTypes
RebindableSyntax
NoRebindableSyntax
RecordPuns
NoRecordPuns
RecordWildCards
NoRecordWildCards
RecursiveDo
NoRecursiveDo
RelaxedLayout
NoRelaxedLayout
RelaxedPolyRec
NoRelaxedPolyRec
RoleAnnotations
NoRoleAnnotations
ScopedTypeVariables
NoScopedTypeVariables
StandaloneDeriving
NoStandaloneDeriving
StarIsType
NoStarIsType
StaticPointers
NoStaticPointers
Strict
NoStrict
StrictData
NoStrictData
TemplateHaskell
NoTemplateHaskell
TemplateHaskellQuotes
NoTemplateHaskellQuotes
StandaloneKindSignatures
NoStandaloneKindSignatures
TraditionalRecordSyntax
NoTraditionalRecordSyntax
TransformListComp
NoTransformListComp
TupleSections
NoTupleSections
TypeApplications
NoTypeApplications
TypeInType
NoTypeInType
TypeFamilies
NoTypeFamilies
TypeOperators
NoTypeOperators
TypeSynonymInstances
NoTypeSynonymInstances
UnboxedTuples
NoUnboxedTuples
UnboxedSums
NoUnboxedSums
UndecidableInstances
NoUndecidableInstances
UndecidableSuperClasses
NoUndecidableSuperClasses
UnicodeSyntax
NoUnicodeSyntax
UnliftedFFITypes
NoUnliftedFFITypes
UnliftedNewtypes
NoUnliftedNewtypes
ViewPatterns
NoViewPatterns

View File

@ -0,0 +1 @@
The Glorious Glasgow Haskell Compilation System, version 8.10.7

View File

@ -0,0 +1,46 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "Win32"; version = "2.6.2.1"; };
license = "BSD-3-Clause";
copyright = "Alastair Reid, 1999-2003; shelarcy, 2012-2013; Tamar Christina, 2016-2018";
maintainer = "Haskell Libraries <libraries@haskell.org>";
author = "Alastair Reid, shelarcy, Tamar Christina";
homepage = "https://github.com/haskell/win32";
url = "";
synopsis = "A binding to Windows Win32 API.";
description = "This library contains direct bindings to the Windows Win32 APIs for Haskell.";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable"));
libs = [
(pkgs."user32" or (errorHandler.sysDepError "user32"))
(pkgs."gdi32" or (errorHandler.sysDepError "gdi32"))
(pkgs."winmm" or (errorHandler.sysDepError "winmm"))
(pkgs."advapi32" or (errorHandler.sysDepError "advapi32"))
(pkgs."shell32" or (errorHandler.sysDepError "shell32"))
(pkgs."shfolder" or (errorHandler.sysDepError "shfolder"))
(pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi"))
(pkgs."msimg32" or (errorHandler.sysDepError "msimg32"))
(pkgs."imm32" or (errorHandler.sysDepError "imm32"))
];
buildable = if !system.isWindows then false else true;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,43 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { integer-simple = false; integer-gmp = false; };
package = {
specVersion = "3.0";
identifier = { name = "base"; version = "4.14.3.0"; };
license = "BSD-3-Clause";
copyright = "";
maintainer = "libraries@haskell.org";
author = "";
homepage = "";
url = "";
synopsis = "Basic libraries";
description = "This package contains the Standard Haskell \"Prelude\" and its support libraries,\nand a large collection of useful libraries ranging from data\nstructures to parsing combinators and debugging utilities.";
buildType = "Configure";
};
components = {
"library" = {
depends = (([
(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 (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"))
(pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi"))
];
buildable = true;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,35 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { integer-simple = false; };
package = {
specVersion = "1.10";
identifier = { name = "bytestring"; version = "0.10.12.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 <duncan@community.haskell.org>";
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 (errorHandler.buildDepError "base"))
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
] ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "8.11") (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum"))) ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11" && (compiler.isGhc && (compiler.version).lt "8.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;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,39 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.22";
identifier = { name = "ghc-boot"; version = "8.10.7"; };
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 (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;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,35 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "3.0";
identifier = { name = "ghc-heap"; version = "8.10.7"; };
license = "BSD-3-Clause";
copyright = "";
maintainer = "libraries@haskell.org";
author = "";
homepage = "";
url = "";
synopsis = "Functions for walking GHC's heap";
description = "This package provides functions for walking the GHC heap data structures\nand retrieving information about those data structures.";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
(hsPkgs."rts" or (errorHandler.buildDepError "rts"))
];
buildable = true;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,43 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "2.2";
identifier = { name = "ghc-prim"; version = "0.6.1"; };
license = "BSD-3-Clause";
copyright = "";
maintainer = "libraries@haskell.org";
author = "";
homepage = "";
url = "";
synopsis = "GHC primitives";
description = "This package contains the primitive types and operations supplied by GHC.";
buildType = "Custom";
setup-depends = [
(hsPkgs.buildPackages.base or (pkgs.buildPackages.base or (errorHandler.setupDepError "base")))
(hsPkgs.buildPackages.Cabal or (pkgs.buildPackages.Cabal or (errorHandler.setupDepError "Cabal")))
];
};
components = {
"library" = {
depends = [ (hsPkgs."rts" or (errorHandler.buildDepError "rts")) ];
libs = (pkgs.lib).optionals (system.isWindows) [
(pkgs."user32" or (errorHandler.sysDepError "user32"))
(pkgs."mingw32" or (errorHandler.sysDepError "mingw32"))
(pkgs."mingwex" or (errorHandler.sysDepError "mingwex"))
] ++ (pkgs.lib).optionals (system.isLinux) [
(pkgs."c" or (errorHandler.sysDepError "c"))
(pkgs."m" or (errorHandler.sysDepError "m"))
];
buildable = true;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,62 @@
{ 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.7"; };
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 (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;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,45 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { ghci = false; };
package = {
specVersion = "1.10";
identifier = { name = "ghci"; version = "8.10.7"; };
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."rts" or (errorHandler.buildDepError "rts"))
(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;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,38 @@
{ 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 <http://www.haskell.org/haskellwiki/Haskell_program_coverage> for more\ninformation.";
buildType = "Simple";
};
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;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,33 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "2.0";
identifier = { name = "integer-gmp"; version = "1.0.3.0"; };
license = "BSD-3-Clause";
copyright = "";
maintainer = "hvr@gnu.org";
author = "Herbert Valerio Riedel";
homepage = "";
url = "";
synopsis = "Integer library based on GMP";
description = "This package provides the low-level implementation of the standard\n'Integer' type based on the\n<http://gmplib.org/ GNU Multiple Precision Arithmetic Library (GMP)>.\n\nThis package provides access to the internal representation of\n'Integer' as well as primitive operations with no proper error\nhandling, and should only be used directly with the utmost care.";
buildType = "Configure";
};
components = {
"library" = {
depends = [
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
];
buildable = true;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,45 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "iserv-proxy"; version = "8.10.7"; };
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\\<ip address\\> -opti\\<port\\>@\nwill cause it to compile Template Haskell via the remote at \\<ip address\\>.\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 (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;
};
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,42 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "iserv"; version = "8.10.7"; };
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 (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;
};
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,42 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { network = false; };
package = {
specVersion = "1.10";
identifier = { name = "libiserv"; version = "8.10.7"; };
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 (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;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,36 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "remote-iserv"; version = "8.10.7"; };
license = "BSD-3-Clause";
copyright = "XXX";
maintainer = "Moritz Angermann <moritz.angermann@gmail.com>";
author = "Moritz Angermann <moritz.angermann@gmail.com>";
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 (errorHandler.buildDepError "base"))
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
];
buildable = true;
};
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,36 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "template-haskell"; version = "2.16.0.0"; };
license = "BSD-3-Clause";
copyright = "";
maintainer = "libraries@haskell.org";
author = "";
homepage = "";
url = "";
synopsis = "Support library for Template Haskell";
description = "This package provides modules containing facilities for manipulating\nHaskell source code using Template Haskell.\n\nSee <http://www.haskell.org/haskellwiki/Template_Haskell> for more\ninformation.";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
(hsPkgs."pretty" or (errorHandler.buildDepError "pretty"))
];
buildable = true;
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }

View File

@ -0,0 +1,155 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "Win32"; version = "2.6.2.1"; };
license = "BSD-3-Clause";
copyright = "Alastair Reid, 1999-2003; shelarcy, 2012-2013; Tamar Christina, 2016-2018";
maintainer = "Haskell Libraries <libraries@haskell.org>";
author = "Alastair Reid, shelarcy, Tamar Christina";
homepage = "https://github.com/haskell/win32";
url = "";
synopsis = "A binding to Windows Win32 API.";
description = "This library contains direct bindings to the Windows Win32 APIs for Haskell.";
buildType = "Simple";
isLocal = true;
detailLevel = "FullDetails";
licenseFiles = [ "LICENSE" ];
dataDir = ".";
dataFiles = [];
extraSrcFiles = [
"include/diatemp.h"
"include/dumpBMP.h"
"include/ellipse.h"
"include/errors.h"
"include/Win32Aux.h"
"include/win32debug.h"
"include/alignment.h"
"changelog.md"
];
extraTmpFiles = [];
extraDocFiles = [];
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable"));
libs = [
(pkgs."user32" or (errorHandler.sysDepError "user32"))
(pkgs."gdi32" or (errorHandler.sysDepError "gdi32"))
(pkgs."winmm" or (errorHandler.sysDepError "winmm"))
(pkgs."advapi32" or (errorHandler.sysDepError "advapi32"))
(pkgs."shell32" or (errorHandler.sysDepError "shell32"))
(pkgs."shfolder" or (errorHandler.sysDepError "shfolder"))
(pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi"))
(pkgs."msimg32" or (errorHandler.sysDepError "msimg32"))
(pkgs."imm32" or (errorHandler.sysDepError "imm32"))
];
buildable = if !system.isWindows then false else true;
modules = [
"Graphics/Win32/GDI"
"Graphics/Win32/GDI/Bitmap"
"Graphics/Win32/GDI/Brush"
"Graphics/Win32/GDI/Clip"
"Graphics/Win32/GDI/Font"
"Graphics/Win32/GDI/Graphics2D"
"Graphics/Win32/GDI/HDC"
"Graphics/Win32/GDI/Palette"
"Graphics/Win32/GDI/Path"
"Graphics/Win32/GDI/Pen"
"Graphics/Win32/GDI/Region"
"Graphics/Win32/GDI/Types"
"Graphics/Win32"
"Graphics/Win32/Control"
"Graphics/Win32/Dialogue"
"Graphics/Win32/Icon"
"Graphics/Win32/Key"
"Graphics/Win32/Menu"
"Graphics/Win32/Message"
"Graphics/Win32/Misc"
"Graphics/Win32/Resource"
"Graphics/Win32/Window"
"Graphics/Win32/LayeredWindow"
"Graphics/Win32/GDI/AlphaBlend"
"Graphics/Win32/Window/AnimateWindow"
"Graphics/Win32/Window/HotKey"
"Graphics/Win32/Window/IMM"
"Graphics/Win32/Window/ForegroundWindow"
"Graphics/Win32/Window/PostMessage"
"Media/Win32"
"System/Win32"
"System/Win32/DebugApi"
"System/Win32/DLL"
"System/Win32/File"
"System/Win32/FileMapping"
"System/Win32/Info"
"System/Win32/Path"
"System/Win32/Mem"
"System/Win32/MinTTY"
"System/Win32/NLS"
"System/Win32/Process"
"System/Win32/Registry"
"System/Win32/SimpleMAPI"
"System/Win32/Time"
"System/Win32/Console"
"System/Win32/Security"
"System/Win32/Types"
"System/Win32/Shell"
"System/Win32/Automation"
"System/Win32/Automation/Input"
"System/Win32/Automation/Input/Key"
"System/Win32/Automation/Input/Mouse"
"System/Win32/Console/CtrlHandler"
"System/Win32/Console/HWND"
"System/Win32/Console/Title"
"System/Win32/Encoding"
"System/Win32/Exception/Unsupported"
"System/Win32/HardLink"
"System/Win32/Info/Computer"
"System/Win32/Info/Version"
"System/Win32/String"
"System/Win32/SymbolicLink"
"System/Win32/Thread"
"System/Win32/Utils"
"System/Win32/Word"
];
cSources = [
"cbits/HsGDI.c"
"cbits/HsWin32.c"
"cbits/WndProc.c"
"cbits/diatemp.c"
"cbits/dumpBMP.c"
"cbits/ellipse.c"
"cbits/errors.c"
"cbits/alphablend.c"
];
includeDirs = [ "include" ];
includes = [
"alphablend.h"
"diatemp.h"
"dumpBMP.h"
"ellipse.h"
"errors.h"
"HsGDI.h"
"HsWin32.h"
"Win32Aux.h"
"win32debug.h"
"windows_cconv.h"
"WndProc.h"
"alignment.h"
];
};
};
} // rec { src = (pkgs.lib).mkDefault ../libraries/Win32; }

View File

@ -0,0 +1,71 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { integer-simple = false; };
package = {
specVersion = "1.10";
identifier = { name = "bytestring"; version = "0.10.12.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 <duncan@community.haskell.org>";
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).optional (compiler.isGhc && (compiler.version).ge "8.11") (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum"))) ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11" && (compiler.isGhc && (compiler.version).lt "8.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" ];
};
};
} // rec { src = (pkgs.lib).mkDefault ../libraries/bytestring; }

View File

@ -0,0 +1,60 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.22";
identifier = { name = "ghc-boot"; version = "8.10.7"; };
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; }

View File

@ -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.7"; };
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/AArch64"
"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; }

View File

@ -0,0 +1,71 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { ghci = false; };
package = {
specVersion = "1.10";
identifier = { name = "ghci"; version = "8.10.7"; };
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."rts" or (errorHandler.buildDepError "rts"))
(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; }

View File

@ -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 <http://www.haskell.org/haskellwiki/Haskell_program_coverage> 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; }

View File

@ -0,0 +1,55 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "iserv-proxy"; version = "8.10.7"; };
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\\<ip address\\> -opti\\<port\\>@\nwill cause it to compile Template Haskell via the remote at \\<ip address\\>.\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; }

View File

@ -0,0 +1,54 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "iserv"; version = "8.10.7"; };
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; }

View File

@ -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.7"; };
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; }

View File

@ -0,0 +1,46 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "remote-iserv"; version = "8.10.7"; };
license = "BSD-3-Clause";
copyright = "XXX";
maintainer = "Moritz Angermann <moritz.angermann@gmail.com>";
author = "Moritz Angermann <moritz.angermann@gmail.com>";
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; }

View File

@ -0,0 +1,126 @@
{
pkgs = hackage:
{
packages = {
"binary".revision = (((hackage."binary")."0.8.8.0").revisions).default;
"ghc-prim".revision = (((hackage."ghc-prim")."0.6.1").revisions).default;
"array".revision = (((hackage."array")."0.5.4.0").revisions).default;
"integer-gmp".revision = (((hackage."integer-gmp")."1.0.3.0").revisions).default;
"template-haskell".revision = (((hackage."template-haskell")."2.16.0.0").revisions).default;
"network".revision = (((hackage."network")."2.8.0.1").revisions).default;
"pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default;
"process".revision = (((hackage."process")."1.6.11.0").revisions).default;
"base".revision = (((hackage."base")."4.14.3.0").revisions).default;
"rts".revision = (((hackage."rts")."1.0.1").revisions).default;
"time".revision = (((hackage."time")."1.9.3").revisions).default;
"unix".revision = (((hackage."unix")."2.7.2.2").revisions).default;
"containers".revision = (((hackage."containers")."0.6.5.1").revisions).default;
"directory".revision = (((hackage."directory")."1.3.6.2").revisions).default;
"ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.10.7").revisions).default;
"filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default;
"deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default;
"transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default;
"terminfo".revision = (((hackage."terminfo")."0.4.1.4").revisions).default;
"ghc-heap".revision = (((hackage."ghc-heap")."8.10.7").revisions).default;
};
compiler = {
version = "8.10.7";
nix-name = "ghc8107";
packages = {
"ghc-prim" = "0.6.1";
"array" = "0.5.4.0";
"integer-gmp" = "1.0.3.0";
"template-haskell" = "2.16.0.0";
"pretty" = "1.1.3.6";
"base" = "4.14.3.0";
"rts" = "1.0.1";
"time" = "1.9.3";
"containers" = "0.6.5.1";
"ghc-boot-th" = "8.10.7";
"filepath" = "1.4.2.1";
"deepseq" = "1.4.4.0";
"transformers" = "0.5.6.2";
"ghc-heap" = "8.10.7";
};
};
};
extras = hackage:
{
packages = {
bytestring = ./.plan.nix/bytestring.nix;
iserv = ./.plan.nix/iserv.nix;
ghci = ./.plan.nix/ghci.nix;
remote-iserv = ./.plan.nix/remote-iserv.nix;
ghc-boot = ./.plan.nix/ghc-boot.nix;
ghc = ./.plan.nix/ghc.nix;
libiserv = ./.plan.nix/libiserv.nix;
Win32 = ./.plan.nix/Win32.nix;
hpc = ./.plan.nix/hpc.nix;
iserv-proxy = ./.plan.nix/iserv-proxy.nix;
};
};
modules = [
({ lib, ... }:
{
packages = {
"bytestring" = {
flags = { "integer-simple" = lib.mkOverride 900 false; };
};
"iserv" = { flags = {}; };
"ghci" = { flags = { "ghci" = lib.mkOverride 900 true; }; };
"remote-iserv" = { flags = {}; };
"ghc-boot" = { flags = {}; };
"ghc" = {
flags = {
"dynamic-system-linker" = lib.mkOverride 900 true;
"ghci" = lib.mkOverride 900 true;
"integer-simple" = lib.mkOverride 900 false;
"stage3" = lib.mkOverride 900 false;
"integer-gmp" = lib.mkOverride 900 false;
"stage2" = lib.mkOverride 900 false;
"terminfo" = lib.mkOverride 900 true;
"stage1" = lib.mkOverride 900 false;
};
};
"libiserv" = { flags = { "network" = lib.mkOverride 900 true; }; };
"Win32" = { flags = {}; };
"hpc" = { flags = {}; };
"iserv-proxy" = { flags = {}; };
};
})
({ lib, ... }:
{
packages = {
"libiserv".components.library.planned = lib.mkOverride 900 true;
"ghc".components.library.planned = lib.mkOverride 900 true;
"containers".components.library.planned = lib.mkOverride 900 true;
"ghc-boot".components.library.planned = lib.mkOverride 900 true;
"binary".components.library.planned = lib.mkOverride 900 true;
"ghc-prim".components.library.planned = lib.mkOverride 900 true;
"iserv".components.exes."iserv".planned = lib.mkOverride 900 true;
"iserv-proxy".components.exes."iserv-proxy".planned = lib.mkOverride 900 true;
"ghc-heap".components.library.planned = lib.mkOverride 900 true;
"ghci".components.library.planned = lib.mkOverride 900 true;
"terminfo".components.library.planned = lib.mkOverride 900 true;
"transformers".components.library.planned = lib.mkOverride 900 true;
"process".components.library.planned = lib.mkOverride 900 true;
"hpc".components.library.planned = lib.mkOverride 900 true;
"network".components.library.planned = lib.mkOverride 900 true;
"pretty".components.library.planned = lib.mkOverride 900 true;
"template-haskell".components.library.planned = lib.mkOverride 900 true;
"integer-gmp".components.library.planned = lib.mkOverride 900 true;
"array".components.library.planned = lib.mkOverride 900 true;
"bytestring".components.library.planned = lib.mkOverride 900 true;
"remote-iserv".components.exes."remote-iserv".planned = lib.mkOverride 900 true;
"unix".components.library.planned = lib.mkOverride 900 true;
"base".components.library.planned = lib.mkOverride 900 true;
"rts".components.library.planned = lib.mkOverride 900 true;
"time".components.library.planned = lib.mkOverride 900 true;
"deepseq".components.library.planned = lib.mkOverride 900 true;
"filepath".components.library.planned = lib.mkOverride 900 true;
"ghc-boot-th".components.library.planned = lib.mkOverride 900 true;
"directory".components.library.planned = lib.mkOverride 900 true;
};
})
];
}

View File

@ -0,0 +1,155 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "Win32"; version = "2.6.2.1"; };
license = "BSD-3-Clause";
copyright = "Alastair Reid, 1999-2003; shelarcy, 2012-2013; Tamar Christina, 2016-2018";
maintainer = "Haskell Libraries <libraries@haskell.org>";
author = "Alastair Reid, shelarcy, Tamar Christina";
homepage = "https://github.com/haskell/win32";
url = "";
synopsis = "A binding to Windows Win32 API.";
description = "This library contains direct bindings to the Windows Win32 APIs for Haskell.";
buildType = "Simple";
isLocal = true;
detailLevel = "FullDetails";
licenseFiles = [ "LICENSE" ];
dataDir = ".";
dataFiles = [];
extraSrcFiles = [
"include/diatemp.h"
"include/dumpBMP.h"
"include/ellipse.h"
"include/errors.h"
"include/Win32Aux.h"
"include/win32debug.h"
"include/alignment.h"
"changelog.md"
];
extraTmpFiles = [];
extraDocFiles = [];
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable"));
libs = [
(pkgs."user32" or (errorHandler.sysDepError "user32"))
(pkgs."gdi32" or (errorHandler.sysDepError "gdi32"))
(pkgs."winmm" or (errorHandler.sysDepError "winmm"))
(pkgs."advapi32" or (errorHandler.sysDepError "advapi32"))
(pkgs."shell32" or (errorHandler.sysDepError "shell32"))
(pkgs."shfolder" or (errorHandler.sysDepError "shfolder"))
(pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi"))
(pkgs."msimg32" or (errorHandler.sysDepError "msimg32"))
(pkgs."imm32" or (errorHandler.sysDepError "imm32"))
];
buildable = if !system.isWindows then false else true;
modules = [
"Graphics/Win32/GDI"
"Graphics/Win32/GDI/Bitmap"
"Graphics/Win32/GDI/Brush"
"Graphics/Win32/GDI/Clip"
"Graphics/Win32/GDI/Font"
"Graphics/Win32/GDI/Graphics2D"
"Graphics/Win32/GDI/HDC"
"Graphics/Win32/GDI/Palette"
"Graphics/Win32/GDI/Path"
"Graphics/Win32/GDI/Pen"
"Graphics/Win32/GDI/Region"
"Graphics/Win32/GDI/Types"
"Graphics/Win32"
"Graphics/Win32/Control"
"Graphics/Win32/Dialogue"
"Graphics/Win32/Icon"
"Graphics/Win32/Key"
"Graphics/Win32/Menu"
"Graphics/Win32/Message"
"Graphics/Win32/Misc"
"Graphics/Win32/Resource"
"Graphics/Win32/Window"
"Graphics/Win32/LayeredWindow"
"Graphics/Win32/GDI/AlphaBlend"
"Graphics/Win32/Window/AnimateWindow"
"Graphics/Win32/Window/HotKey"
"Graphics/Win32/Window/IMM"
"Graphics/Win32/Window/ForegroundWindow"
"Graphics/Win32/Window/PostMessage"
"Media/Win32"
"System/Win32"
"System/Win32/DebugApi"
"System/Win32/DLL"
"System/Win32/File"
"System/Win32/FileMapping"
"System/Win32/Info"
"System/Win32/Path"
"System/Win32/Mem"
"System/Win32/MinTTY"
"System/Win32/NLS"
"System/Win32/Process"
"System/Win32/Registry"
"System/Win32/SimpleMAPI"
"System/Win32/Time"
"System/Win32/Console"
"System/Win32/Security"
"System/Win32/Types"
"System/Win32/Shell"
"System/Win32/Automation"
"System/Win32/Automation/Input"
"System/Win32/Automation/Input/Key"
"System/Win32/Automation/Input/Mouse"
"System/Win32/Console/CtrlHandler"
"System/Win32/Console/HWND"
"System/Win32/Console/Title"
"System/Win32/Encoding"
"System/Win32/Exception/Unsupported"
"System/Win32/HardLink"
"System/Win32/Info/Computer"
"System/Win32/Info/Version"
"System/Win32/String"
"System/Win32/SymbolicLink"
"System/Win32/Thread"
"System/Win32/Utils"
"System/Win32/Word"
];
cSources = [
"cbits/HsGDI.c"
"cbits/HsWin32.c"
"cbits/WndProc.c"
"cbits/diatemp.c"
"cbits/dumpBMP.c"
"cbits/ellipse.c"
"cbits/errors.c"
"cbits/alphablend.c"
];
includeDirs = [ "include" ];
includes = [
"alphablend.h"
"diatemp.h"
"dumpBMP.h"
"ellipse.h"
"errors.h"
"HsGDI.h"
"HsWin32.h"
"Win32Aux.h"
"win32debug.h"
"windows_cconv.h"
"WndProc.h"
"alignment.h"
];
};
};
} // rec { src = (pkgs.lib).mkDefault ../libraries/Win32; }

View File

@ -0,0 +1,71 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { integer-simple = false; };
package = {
specVersion = "1.10";
identifier = { name = "bytestring"; version = "0.10.12.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 <duncan@community.haskell.org>";
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).optional (compiler.isGhc && (compiler.version).ge "8.11") (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum"))) ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11" && (compiler.isGhc && (compiler.version).lt "8.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" ];
};
};
} // rec { src = (pkgs.lib).mkDefault ../libraries/bytestring; }

View File

@ -0,0 +1,60 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.22";
identifier = { name = "ghc-boot"; version = "8.10.7"; };
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; }

View File

@ -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.7"; };
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/AArch64"
"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; }

View File

@ -0,0 +1,71 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { ghci = false; };
package = {
specVersion = "1.10";
identifier = { name = "ghci"; version = "8.10.7"; };
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."rts" or (errorHandler.buildDepError "rts"))
(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; }

View File

@ -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 <http://www.haskell.org/haskellwiki/Haskell_program_coverage> 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; }

View File

@ -0,0 +1,55 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "iserv-proxy"; version = "8.10.7"; };
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\\<ip address\\> -opti\\<port\\>@\nwill cause it to compile Template Haskell via the remote at \\<ip address\\>.\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; }

View File

@ -0,0 +1,54 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "iserv"; version = "8.10.7"; };
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; }

View File

@ -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.7"; };
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; }

View File

@ -0,0 +1,46 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "remote-iserv"; version = "8.10.7"; };
license = "BSD-3-Clause";
copyright = "XXX";
maintainer = "Moritz Angermann <moritz.angermann@gmail.com>";
author = "Moritz Angermann <moritz.angermann@gmail.com>";
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; }

View File

@ -0,0 +1,127 @@
{
pkgs = hackage:
{
packages = {
"binary".revision = (((hackage."binary")."0.8.8.0").revisions).default;
"ghc-prim".revision = (((hackage."ghc-prim")."0.6.1").revisions).default;
"array".revision = (((hackage."array")."0.5.4.0").revisions).default;
"integer-gmp".revision = (((hackage."integer-gmp")."1.0.3.0").revisions).default;
"template-haskell".revision = (((hackage."template-haskell")."2.16.0.0").revisions).default;
"network".revision = (((hackage."network")."2.8.0.1").revisions).default;
"pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default;
"process".revision = (((hackage."process")."1.6.11.0").revisions).default;
"base".revision = (((hackage."base")."4.14.3.0").revisions).default;
"rts".revision = (((hackage."rts")."1.0.1").revisions).default;
"time".revision = (((hackage."time")."1.9.3").revisions).default;
"unix".revision = (((hackage."unix")."2.7.2.2").revisions).default;
"containers".revision = (((hackage."containers")."0.6.5.1").revisions).default;
"directory".revision = (((hackage."directory")."1.3.6.2").revisions).default;
"ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.10.7").revisions).default;
"filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default;
"deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default;
"transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default;
"terminfo".revision = (((hackage."terminfo")."0.4.1.4").revisions).default;
"ghc-heap".revision = (((hackage."ghc-heap")."8.10.7").revisions).default;
};
compiler = {
version = "8.10.7";
nix-name = "ghc8107";
packages = {
"ghc-prim" = "0.6.1";
"array" = "0.5.4.0";
"integer-gmp" = "1.0.3.0";
"template-haskell" = "2.16.0.0";
"pretty" = "1.1.3.6";
"base" = "4.14.3.0";
"rts" = "1.0.1";
"time" = "1.9.3";
"containers" = "0.6.5.1";
"ghc-boot-th" = "8.10.7";
"filepath" = "1.4.2.1";
"deepseq" = "1.4.4.0";
"transformers" = "0.5.6.2";
"terminfo" = "0.4.1.4";
"ghc-heap" = "8.10.7";
};
};
};
extras = hackage:
{
packages = {
bytestring = ./.plan.nix/bytestring.nix;
iserv = ./.plan.nix/iserv.nix;
ghci = ./.plan.nix/ghci.nix;
remote-iserv = ./.plan.nix/remote-iserv.nix;
ghc-boot = ./.plan.nix/ghc-boot.nix;
ghc = ./.plan.nix/ghc.nix;
libiserv = ./.plan.nix/libiserv.nix;
Win32 = ./.plan.nix/Win32.nix;
hpc = ./.plan.nix/hpc.nix;
iserv-proxy = ./.plan.nix/iserv-proxy.nix;
};
};
modules = [
({ lib, ... }:
{
packages = {
"bytestring" = {
flags = { "integer-simple" = lib.mkOverride 900 false; };
};
"iserv" = { flags = {}; };
"ghci" = { flags = { "ghci" = lib.mkOverride 900 true; }; };
"remote-iserv" = { flags = {}; };
"ghc-boot" = { flags = {}; };
"ghc" = {
flags = {
"dynamic-system-linker" = lib.mkOverride 900 true;
"ghci" = lib.mkOverride 900 true;
"integer-simple" = lib.mkOverride 900 false;
"stage3" = lib.mkOverride 900 false;
"integer-gmp" = lib.mkOverride 900 false;
"stage2" = lib.mkOverride 900 false;
"terminfo" = lib.mkOverride 900 true;
"stage1" = lib.mkOverride 900 false;
};
};
"libiserv" = { flags = { "network" = lib.mkOverride 900 true; }; };
"Win32" = { flags = {}; };
"hpc" = { flags = {}; };
"iserv-proxy" = { flags = {}; };
};
})
({ lib, ... }:
{
packages = {
"libiserv".components.library.planned = lib.mkOverride 900 true;
"ghc".components.library.planned = lib.mkOverride 900 true;
"containers".components.library.planned = lib.mkOverride 900 true;
"ghc-boot".components.library.planned = lib.mkOverride 900 true;
"binary".components.library.planned = lib.mkOverride 900 true;
"ghc-prim".components.library.planned = lib.mkOverride 900 true;
"iserv".components.exes."iserv".planned = lib.mkOverride 900 true;
"iserv-proxy".components.exes."iserv-proxy".planned = lib.mkOverride 900 true;
"ghc-heap".components.library.planned = lib.mkOverride 900 true;
"ghci".components.library.planned = lib.mkOverride 900 true;
"terminfo".components.library.planned = lib.mkOverride 900 true;
"transformers".components.library.planned = lib.mkOverride 900 true;
"process".components.library.planned = lib.mkOverride 900 true;
"hpc".components.library.planned = lib.mkOverride 900 true;
"network".components.library.planned = lib.mkOverride 900 true;
"pretty".components.library.planned = lib.mkOverride 900 true;
"template-haskell".components.library.planned = lib.mkOverride 900 true;
"integer-gmp".components.library.planned = lib.mkOverride 900 true;
"array".components.library.planned = lib.mkOverride 900 true;
"bytestring".components.library.planned = lib.mkOverride 900 true;
"remote-iserv".components.exes."remote-iserv".planned = lib.mkOverride 900 true;
"unix".components.library.planned = lib.mkOverride 900 true;
"base".components.library.planned = lib.mkOverride 900 true;
"rts".components.library.planned = lib.mkOverride 900 true;
"time".components.library.planned = lib.mkOverride 900 true;
"deepseq".components.library.planned = lib.mkOverride 900 true;
"filepath".components.library.planned = lib.mkOverride 900 true;
"ghc-boot-th".components.library.planned = lib.mkOverride 900 true;
"directory".components.library.planned = lib.mkOverride 900 true;
};
})
];
}

View File

@ -0,0 +1,155 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "Win32"; version = "2.6.1.0"; };
license = "BSD-3-Clause";
copyright = "Alastair Reid, 1999-2003; shelarcy, 2012-2013; Tamar Christina, 2016-2017";
maintainer = "Haskell Libraries <libraries@haskell.org>";
author = "Alastair Reid, shelarcy, Tamar Christina";
homepage = "https://github.com/haskell/win32";
url = "";
synopsis = "A binding to part of the Win32 library";
description = "A binding to part of the Win32 library.";
buildType = "Simple";
isLocal = true;
detailLevel = "FullDetails";
licenseFiles = [ "LICENSE" ];
dataDir = ".";
dataFiles = [];
extraSrcFiles = [
"include/diatemp.h"
"include/dumpBMP.h"
"include/ellipse.h"
"include/errors.h"
"include/Win32Aux.h"
"include/win32debug.h"
"include/alignment.h"
"changelog.md"
];
extraTmpFiles = [];
extraDocFiles = [];
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unbuildable" or (errorHandler.buildDepError "unbuildable"));
libs = [
(pkgs."user32" or (errorHandler.sysDepError "user32"))
(pkgs."gdi32" or (errorHandler.sysDepError "gdi32"))
(pkgs."winmm" or (errorHandler.sysDepError "winmm"))
(pkgs."advapi32" or (errorHandler.sysDepError "advapi32"))
(pkgs."shell32" or (errorHandler.sysDepError "shell32"))
(pkgs."shfolder" or (errorHandler.sysDepError "shfolder"))
(pkgs."shlwapi" or (errorHandler.sysDepError "shlwapi"))
(pkgs."msimg32" or (errorHandler.sysDepError "msimg32"))
(pkgs."imm32" or (errorHandler.sysDepError "imm32"))
];
buildable = if !system.isWindows then false else true;
modules = [
"Graphics/Win32/GDI"
"Graphics/Win32/GDI/Bitmap"
"Graphics/Win32/GDI/Brush"
"Graphics/Win32/GDI/Clip"
"Graphics/Win32/GDI/Font"
"Graphics/Win32/GDI/Graphics2D"
"Graphics/Win32/GDI/HDC"
"Graphics/Win32/GDI/Palette"
"Graphics/Win32/GDI/Path"
"Graphics/Win32/GDI/Pen"
"Graphics/Win32/GDI/Region"
"Graphics/Win32/GDI/Types"
"Graphics/Win32"
"Graphics/Win32/Control"
"Graphics/Win32/Dialogue"
"Graphics/Win32/Icon"
"Graphics/Win32/Key"
"Graphics/Win32/Menu"
"Graphics/Win32/Message"
"Graphics/Win32/Misc"
"Graphics/Win32/Resource"
"Graphics/Win32/Window"
"Graphics/Win32/LayeredWindow"
"Graphics/Win32/GDI/AlphaBlend"
"Graphics/Win32/Window/AnimateWindow"
"Graphics/Win32/Window/HotKey"
"Graphics/Win32/Window/IMM"
"Graphics/Win32/Window/ForegroundWindow"
"Graphics/Win32/Window/PostMessage"
"Media/Win32"
"System/Win32"
"System/Win32/DebugApi"
"System/Win32/DLL"
"System/Win32/File"
"System/Win32/FileMapping"
"System/Win32/Info"
"System/Win32/Path"
"System/Win32/Mem"
"System/Win32/MinTTY"
"System/Win32/NLS"
"System/Win32/Process"
"System/Win32/Registry"
"System/Win32/SimpleMAPI"
"System/Win32/Time"
"System/Win32/Console"
"System/Win32/Security"
"System/Win32/Types"
"System/Win32/Shell"
"System/Win32/Automation"
"System/Win32/Automation/Input"
"System/Win32/Automation/Input/Key"
"System/Win32/Automation/Input/Mouse"
"System/Win32/Console/CtrlHandler"
"System/Win32/Console/HWND"
"System/Win32/Console/Title"
"System/Win32/Encoding"
"System/Win32/Exception/Unsupported"
"System/Win32/HardLink"
"System/Win32/Info/Computer"
"System/Win32/Info/Version"
"System/Win32/String"
"System/Win32/SymbolicLink"
"System/Win32/Thread"
"System/Win32/Utils"
"System/Win32/Word"
];
cSources = [
"cbits/HsGDI.c"
"cbits/HsWin32.c"
"cbits/WndProc.c"
"cbits/diatemp.c"
"cbits/dumpBMP.c"
"cbits/ellipse.c"
"cbits/errors.c"
"cbits/alphablend.c"
];
includeDirs = [ "include" ];
includes = [
"alphablend.h"
"diatemp.h"
"dumpBMP.h"
"ellipse.h"
"errors.h"
"HsGDI.h"
"HsWin32.h"
"Win32Aux.h"
"win32debug.h"
"windows_cconv.h"
"WndProc.h"
"alignment.h"
];
};
};
} // rec { src = (pkgs.lib).mkDefault ../libraries/Win32; }

View File

@ -0,0 +1,71 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { integer-simple = false; };
package = {
specVersion = "1.10";
identifier = { name = "bytestring"; version = "0.10.12.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 <duncan@community.haskell.org>";
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).optional (compiler.isGhc && (compiler.version).ge "8.11") (hsPkgs."ghc-bignum" or (errorHandler.buildDepError "ghc-bignum"))) ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11" && (compiler.isGhc && (compiler.version).lt "8.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" ];
};
};
} // rec { src = (pkgs.lib).mkDefault ../libraries/bytestring; }

View File

@ -0,0 +1,60 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.22";
identifier = { name = "ghc-boot"; version = "8.10.5"; };
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; }

View File

@ -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.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";
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/AArch64"
"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; }

View File

@ -0,0 +1,71 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { ghci = false; };
package = {
specVersion = "1.10";
identifier = { name = "ghci"; version = "8.10.5"; };
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."rts" or (errorHandler.buildDepError "rts"))
(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; }

View File

@ -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 <http://www.haskell.org/haskellwiki/Haskell_program_coverage> 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; }

View File

@ -0,0 +1,55 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "iserv-proxy"; version = "8.10.5"; };
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\\<ip address\\> -opti\\<port\\>@\nwill cause it to compile Template Haskell via the remote at \\<ip address\\>.\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; }

View File

@ -0,0 +1,54 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "iserv"; version = "8.10.5"; };
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; }

View File

@ -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.5"; };
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; }

View File

@ -0,0 +1,46 @@
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = {};
package = {
specVersion = "1.10";
identifier = { name = "remote-iserv"; version = "8.10.5"; };
license = "BSD-3-Clause";
copyright = "XXX";
maintainer = "Moritz Angermann <moritz.angermann@gmail.com>";
author = "Moritz Angermann <moritz.angermann@gmail.com>";
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; }

Some files were not shown because too many files have changed in this diff Show More