-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ghc-8.10.1 #18
Add ghc-8.10.1 #18
Conversation
servant-server was not actually compatible with base-4.14 yet. Instead to test it, I just tried installing some popular packages, e.g. `aeson`.
Usage: stack [--help] [--version] [--numeric-version] [--hpack-numeric-version] [--docker*] [--nix*] ([--verbosity VERBOSITY] | [-v|--verbose] | [--silent]) [--[no-]time-in-log] [--stack-root STACK-ROOT] [--work-dir WORK-DIR] [--[no-]system-ghc] [--[no-]install-ghc] [--arch ARCH] [--ghc-variant VARIANT] [--ghc-build BUILD] [-j|--jobs JOBS] [--extra-include-dirs DIR] [--extra-lib-dirs DIR] [--with-gcc PATH-TO-GCC] [--with-hpack HPACK] [--[no-]skip-ghc-check] [--[no-]skip-msys] [--local-bin-path DIR] [--[no-]modify-code-page] [--[no-]allow-different-user] [--[no-]dump-logs] [--color|--colour WHEN] [--resolver RESOLVER] [--compiler COMPILER] [--[no-]terminal] [--stack-colors|--stack-colours STYLES] [--terminal-width INT] [--stack-yaml STACK-YAML] [--lock-file ARG] COMMAND|FILE Available options: --help Show this help text --version Show version --numeric-version Show only version number --hpack-numeric-version Show only hpack's version number --docker* Run 'stack --docker-help' for details --nix* Run 'stack --nix-help' for details --verbosity VERBOSITY Verbosity: silent, error, warn, info, debug -v,--verbose Enable verbose mode: verbosity level "debug" --silent Enable silent mode: verbosity level "silent" --[no-]time-in-log Enable/disable inclusion of timings in logs, for the purposes of using diff with logs (default: enabled) --stack-root STACK-ROOT Absolute path to the global stack root directory (Overrides any STACK_ROOT environment variable) --work-dir WORK-DIR Relative path of work directory (Overrides any STACK_WORK environment variable, default is '.stack-work') --[no-]system-ghc Enable/disable using the system installed GHC (on the PATH) if it is available and its version matches. Disabled by default. --[no-]install-ghc Enable/disable downloading and installing GHC if necessary (can be done manually with stack setup) (default: enabled) --arch ARCH System architecture, e.g. i386, x86_64 --ghc-variant VARIANT Specialized GHC variant, e.g. integersimple (incompatible with --system-ghc) --ghc-build BUILD Specialized GHC build, e.g. 'gmp4' or 'standard' (usually auto-detected) -j,--jobs JOBS Number of concurrent jobs to run --extra-include-dirs DIR Extra directories to check for C header files --extra-lib-dirs DIR Extra directories to check for libraries --with-gcc PATH-TO-GCC Use gcc found at PATH-TO-GCC --with-hpack HPACK Use HPACK executable (overrides bundled Hpack) --[no-]skip-ghc-check Enable/disable skipping the GHC version and architecture check (default: disabled) --[no-]skip-msys Enable/disable skipping the local MSYS installation (Windows only) (default: disabled) --local-bin-path DIR Install binaries to DIR --[no-]modify-code-page Enable/disable setting the codepage to support UTF-8 (Windows only) (default: enabled) --[no-]allow-different-user Enable/disable permission for users other than the owner of the stack root directory to use a stack installation (POSIX only) (default: true inside Docker, otherwise false) --[no-]dump-logs Enable/disable dump the build output logs for local packages to the console (default: dump warning logs) --color,--colour WHEN Specify when to use color in output; WHEN is 'always', 'never', or 'auto'. On Windows versions before Windows 10, for terminals that do not support color codes, the default is 'never'; color may work on terminals that support color codes --resolver RESOLVER Override resolver in project file --compiler COMPILER Use the specified compiler --[no-]terminal Enable/disable overriding terminal detection in the case of running in a false terminal --stack-colors,--stack-colours STYLES Specify stack's output styles; STYLES is a colon-delimited sequence of key=value, where 'key' is a style name and 'value' is a semicolon-delimited list of 'ANSI' SGR (Select Graphic Rendition) control codes (in decimal). Use 'stack ls stack-colors --basic' to see the current sequence. In shells where a semicolon is a command separator, enclose STYLES in quotes. --terminal-width INT Specify the width of the terminal, used for pretty-print messages --stack-yaml STACK-YAML Override project stack.yaml file (overrides any STACK_YAML environment variable) --lock-file ARG Specify how to interact with lock files. Default: read/write. If resolver is overridden: read-only Available commands: build Build the package(s) in this directory/configuration install Shortcut for 'build --copy-bins' uninstall DEPRECATED: This command performs no actions, and is present for documentation only test Shortcut for 'build --test' bench Shortcut for 'build --bench' haddock Shortcut for 'build --haddock' new Create a new project from a template. Run `stack templates' to see available templates. Note: you can also specify a local file or a remote URL as a template. templates Show how to find templates available for `stack new'. `stack new' can accept a template from a remote repository (default: github), local file or remote URL. Note: this downloads the help file. init Create stack project config from cabal or hpack package specifications setup Get the appropriate GHC for your project path Print out handy path information ls List command. (Supports snapshots, dependencies and stack's styles) unpack Unpack one or more packages locally update Update the package index upgrade Upgrade to the latest stack upload Upload a package to Hackage sdist Create source distribution tarballs dot Visualize your project's dependency graph using Graphviz dot ghc Run ghc hoogle Run hoogle, the Haskell API search engine. Use 'stack exec' syntax to pass Hoogle arguments, e.g. stack hoogle -- --count=20 or stack hoogle -- server --local exec Execute a command run Build and run an executable. Defaults to the first available executable if none is provided as the first argument. ghci Run ghci in the context of package(s) (experimental) repl Run ghci in the context of package(s) (experimental) (alias for 'ghci') runghc Run runghc runhaskell Run runghc (alias for 'runghc') script Run a Stack Script freeze Show project or snapshot with pinned dependencies if there are any such (experimental, may be removed) eval Evaluate some haskell code inline. Shortcut for 'stack exec ghc -- -e CODE' clean Delete build artefacts for the project packages. purge Delete the project stack working directories (.stack-work by default). Shortcut for 'stack clean --full' query Query general build information (experimental) ide IDE-specific commands docker Subcommands specific to Docker use config Subcommands for accessing and modifying configuration values hpc Subcommands specific to Haskell Program Coverage stack's documentation is available at https://docs.haskellstack.org/ - it does not support ghc-8.10 yet
I removed the example because |
@hvr what do you think of the most recent commits? |
I'd love to see this merged if it's working. Also fwiw I think it would be a nice thing if in the future a release of the compiler were coordinated with compatible releases of |
FYI a new stack version officially supporting GHC 8.10 + cabal 3.2 has been released https://github.com/commercialhaskell/stack/releases/tag/v2.3.1 . I guess it should be added back then? |
I've created a new PR for GHC 8.10.1 + a number of other changes -- appreciate review if you have the time. @WillSewell -- thanks for jumping in, and sorry about the noise (re: abandoned example code #2, lack of CONTRIBUTING.md in this repo #20 ). |
Ok, no worries. Looks like this should be closed in favour of yours. |
Resolves #17.
I also made the equivalent changes as https://github.com/haskell/docker-haskell/pull/15/files#diff-6ef205b898b511431c727cb2f0ebb4de.