Commit Graph

20 Commits

Author SHA1 Message Date
Hamish Mackenzie 53cf60c83c Use nixpkgs 22.05 for scripts (#1632)
This should daily updates which are failing with:

```
error: unrecognised flag '--accept-flake-config'
```

See https://buildkite.com/input-output-hk/haskell-dot-nix-nightly-updates/builds/1318#0182f20e-bd2b-4840-a930-af2815df793c

This change also updates to the newer mkdocs in nixpkgs 22.05 and updates the check-path-support to use a combination of nixpkgs and ghc that should be in the hydra cache.
2022-08-31 17:47:50 +12:00
Yvan Sraka 801ad6c29f Update doc summary with new pages
https://input-output-hk.github.io/haskell.nix/index.html
2022-08-30 08:08:39 +00:00
Peter Becich 3424f812e4 fix typo (#1213) 2021-08-25 11:51:47 +12:00
Jun Matsushita ffd1453ceb Publish the flaskes documentation in the TOC (#1066) 2021-03-18 19:50:29 +13:00
Michael Peyton Jones 738af22ce9 Move more CI to 20.09 (attempt 2) (#975)
* Update default nixpkgs to 20.09

* Move more CI to work on 20.09 by default

* IFD level 1

* Use nixpkgs 20.03 emscripten (needed for ghcjs)

* Add missing materialized files

* Add missing materialized files

* Fix for ghc 8.8 build on darwin

* Fix for ghcjs 8.8 build on darwin

* Fix hls stack test eval for ghc810220201118

* ifdLevel 2

* Oops: accidentally turned on tests for experimental GHC

* Revert "Fix hls stack test eval for ghc810220201118"

This reverts commit b405cd7ee8bd62214bd2d0a61e0317673b5bf1b5.

* ifdLevel 3

* Disable GHC 8.6.5 windows cross on nixpkgs 20.09

* Update supported GHC doc with a table

* Add emscripten comment

Co-authored-by: Hamish Mackenzie <Hamish.Mackenzie@iohk.io>
2020-12-17 15:57:09 +00:00
Samuel Evans-Powell 48b8674f5f Add support for coverage (#762)
- Added the ability to generate coverage reports for packages and
  projects.
  - Outputs mix and tix information, as well as a HTML report.
- Added the "doCoverage" module option that allows users to choose
  packages to enable coverage for.
- Added a "doCoverage" flag to the component builder that outputs HPC
  information when coverage is enabled.
- Added the "overrideModules" library function to make it more
  ergonomic fo users to enable coverage on existing projects.
- Modified the "check" builder to also output ".tix" files (if they
  exist). This information is required to generate the coverage
  report.
- Added a test for coverage.
2020-09-29 11:56:24 +08:00
Michael Peyton Jones bd45da822d Link 'supported GHC versions' and 'adding a new GHC version' into the doc structure (#841) 2020-09-10 14:03:03 +10:00
Michael Peyton Jones f590b792b5 Add troubleshooting section to docs (#733) 2020-07-01 00:43:01 +12:00
Domen Kožar a814a425f4 Expose handling of git repos in tutorial (#713) 2020-06-19 21:14:14 +12:00
Domen Kožar e56bbb39d1 Promote materialization and demote manual generation (#712) 2020-06-19 20:27:52 +12:00
Domen Kožar 2852a9521f Reorganize tutorials (#702)
* fix hackage and stackage to work

* user-guides -> tutorials

* Restructure tutorials

* getting-started: clarify on packages and components

* Update docs/tutorials/development.md

Co-authored-by: Rodney Lorrimar <dev@rodney.id.au>

* getting-started: bail out if cabal.project and stack.yaml are present

* hackage-stackage: delete duplicated content

Co-authored-by: Rodney Lorrimar <dev@rodney.id.au>
2020-06-19 13:37:02 +12:00
Michael Peyton Jones da9c5b93a9 Improve docs, mention pinning Hackage and Stackage (#668)
Fixes #536.
2020-06-10 18:31:54 +08:00
Domen Kožar 138695d0a2 Split out introdocution into motivation, add features, prepare getting started (#634) 2020-05-31 11:06:02 +08:00
Rodney Lorrimar ad640fa02d docs: Add note about shellFor and CABAL_CONFIG (#247) 2019-09-24 08:53:20 +10:00
Rodney Lorrimar 234e9e091d docs: Add some information about mapping non-Haskell dependencies (#200)
Relates to #198
2019-07-13 17:54:53 +10:00
Rodney Lorrimar 3bb58214f1 Add cross-compiled musl libc builds of tests (#157)
* Add cross-compiled musl libc builds of tests

* Bump nixpkgs to latest 19.03

* tests: Update stack-simple LTS

* docs: Add note about tests

* Regenerate tests

* haskellPackages: lts-13.18 -> lts-13.26

This contains GHC 8.6.5 which can successfully build under
pkgsCross.musl64, whereas GHC 8.6.4 could not.

* Bump nix-tools

* Regenerate nix-tools -- changed compiler from GHC 8.6.4 -> GHC 8.6.5.
2019-07-02 18:25:40 +10:00
Rodney Lorrimar b4b18edeec Docs improvements (#171)
- Dev note about nixpkgs pin
- More information about selecting a GHC version for cabal projects
- A little bit more information about cross compiling, but this is still incomplete.
2019-06-12 10:18:38 +10:00
Rodney Lorrimar 3747f54357 Update the docs (#165)
The docs are not complete yet, but we can start improving them from here.
2019-06-07 14:46:44 +10:00
Moritz Angermann cda3b85fc0 More docs (#64) 2019-02-26 23:54:57 +08:00
Moritz Angermann 79a704960e Adds documentation (#46)
* Adds documentation
2019-02-22 10:54:07 +08:00