Commit Graph

67 Commits

Author SHA1 Message Date
Rodney Lorrimar 2e49d28de0 Reduce closure size of nix-tools (#178)
* Buildkite: Add a test for nix-tools closure size

The limit is a rather generous 500MB.

* nix-tools: Reduce closure size

1. Run justStackExecutables on hpack to remove dependency on ghc and
   libraries.

   Ideally we would be using the component builder on hpack.

2. Replace nix-prefetch-scripts with nix-prefetch-git. stack.yaml
   supports mercurial repositories but I've never seen it used.
2019-06-15 07:18:06 +02:00
Rodney Lorrimar 097852792d Fix daily Hackage update (#177)
Hackage hasn't been updated for a week because of a build error.
2019-06-15 07:16:52 +02:00
Rodney Lorrimar e15f235319 More documentation (#179)
* docs: Fix notes about .nix-tools.cache

Relates to #57

* docs: Add note about Cabal 2.4 requirement

Fixes #164

* docs: Autogenerate module option reference

* docs: Update library reference

* Buildkite: enable docs build on branches
2019-06-15 07:11:52 +02:00
Moritz Angermann 03fd50f0b7 Run the nightly scripts to also update the index-state-hashes (#146)
* Run the nightly scripts to also update the index-state-hashes

This moves the index-state-hashes to `hackage.nix` as well.  Thus
we need to have a least one hackage.nix update in.

* fix import

* Update update-index-state-hashes.nix

Add comments.
2019-06-08 15:21:02 +08:00
Rodney Lorrimar 554b504a52 Buildkite: really fix dependencies of check-hydra script
Fix for #163 was missing something.

Failure was random because the repo is often already unpacked due to
the daily Hackage and Stackage update process.
2019-06-06 12:45:35 +10:00
Rodney Lorrimar db92702fc5 Buildkite: fix dependencies of check-hydra script (#163) 2019-06-06 08:50:38 +08:00
Rodney Lorrimar caf1f61267 Use release-lib.nix for Hydra (#161)
* Use release-lib.nix for Hydra jobset

* Buildkite: Add a script to check Hydra evaluation
2019-06-03 11:26:28 +08:00
Rodney Lorrimar 83dba934ee Fix docs build 2019-06-03 08:36:20 +10:00
Rodney Lorrimar 8e141af10a Automatically update gh-pages branch when docs change (#159) 2019-06-03 07:41:46 +10:00
Rodney Lorrimar 940d119fe0 Buildkite: Final fixes for hackage.nix/stackage.nix updates 2019-04-04 12:43:48 +10:00
Rodney Lorrimar ad7c7ab4ef Buildkite: Fix daily update git push 2019-04-03 12:35:49 +10:00
Rodney Lorrimar 8d902b091b Fix updater script for json pins 2019-04-02 12:18:04 +10:00
Rodney Lorrimar b12e3b304e Nightly: Also update hackage-src.json and stackage-src.json 2019-04-02 11:30:32 +10:00
Jean-Baptiste Giraudeau 2a88d56aa4 update-stackage: update submodules on fresh checkout
otherwise we are missing out on new lts/nightlies.

 Also:
 - skip re-generation for existing resolver
 - better lts ordering in ltss.nix
2019-03-21 23:44:41 +01:00
Rodney Lorrimar dd51446974 Add Buildkite pipeline for updating hackage.nix and stackage.nix 2019-03-20 09:33:21 +10:00
Rodney Lorrimar a6d28bacb2 Add a script for updating the Stackage rev 2019-02-13 14:51:10 +10:00
Rodney Lorrimar 12076ea8f0 Add a script for updating the Hackage rev 2019-02-13 14:51:10 +10:00