Rodney Lorrimar
0e02f1fb68
Regenerate nix for test/stack-simple
2019-05-07 15:31:35 +08:00
Moritz Angermann
1eebaa0095
Update stack.yaml
2019-05-07 15:31:35 +08:00
Rodney Lorrimar
6e41c11489
Fix eval of hydra jobset
2019-04-02 13:08:25 +10:00
Rodney Lorrimar
ebb979fa07
Pin nixpkgs to latest nixos-19.03
2019-04-02 12:30:23 +10:00
Rodney Lorrimar
286db94d02
Add Hydra jobset and Buildkite pipeline
2019-03-20 12:47:43 +10:00
Moritz Angermann
8ee6fcfba7
Rename pkg-def-overlays to pkg-def-extras ( #79 )
...
* Rename pkg-def-overlays to pkg-def-extras
Fixes #75
2019-03-15 11:10:57 +08:00
Moritz Angermann
8ffa7cd939
Adds sublib support ( #63 )
2019-03-13 15:43:48 +08:00
Rodney Lorrimar
cf8d73321c
tests: Add stack-simple
2019-02-13 14:51:10 +10:00
Rodney Lorrimar
bd603e0b51
Provide hackage and stackage from haskell.nix
...
Providing hackage and stackage here simplifies usage of the new
Haskell Infrastructure.
With this change, the user doesn't need to specify revisions of the
external repos, or update them.
Basically, with hackage.nix and stackage.nix, the latest version is
always best, because snapshots and package versions are added on
top. So there is no need for users to choose a revision.
Also add mkStackPkgSet which is a shortcut for building stack
projects.
2019-02-13 14:51:10 +10:00
Rodney Lorrimar
8ad8731e29
tests: Add test for haddock generation
2019-02-12 12:45:32 +10:00
Rodney Lorrimar
d1457606ed
builder: Add haddock and hoogle to components.library.doc
2019-02-12 12:44:10 +10:00
Rodney Lorrimar
2d2aacf4e8
tests: Clean build directories, etc, before running
2019-02-12 09:38:14 +10:00
Rodney Lorrimar
33e8d115f7
tests: Add more tests for "all" component merging
...
- Make the cabal-simple executable depend on the library component --
a better exercise for the merged all component build.
- Test building cabal-simple with "cabal new-build" in nix-shell.
- Check the contents of components.all.depends for the with-packages test.
2019-02-07 09:39:12 +08:00
Will Fancher
70f01c2029
Use mkForce in with-package test, and add a comment about the quirk.
2019-02-04 16:23:29 +08:00
Rodney Lorrimar
57049091b3
Fix dependency merging of "all" component
2019-01-31 13:17:45 +10:00
Rodney Lorrimar
78629caa98
tests: add more dependencies to the cabal-simple project
2019-01-31 13:14:41 +10:00
Rodney Lorrimar
1a86a645e7
tests: update hackage.nix revision
2019-01-31 12:39:56 +10:00
Rodney Lorrimar
a8adc34e27
tests: add shell script which runs all tests
2019-01-30 15:38:38 +10:00
Rodney Lorrimar
ce0f5e0393
tests: Add test cases for dev environments
2019-01-30 15:38:38 +10:00
Rodney Lorrimar
8642facf1e
tests: Add unit tests for library functions
2019-01-30 15:38:38 +10:00
Rodney Lorrimar
97a9034d4f
tests: add build test of "all" component
2019-01-30 15:25:33 +10:00
Moritz Angermann
4375a9620f
Fix test on macOS
...
We can't check for HSbase because on macOS we will remove transitive
dependencies if we can.
2019-01-27 11:31:49 +08:00
Rodney Lorrimar
a384c9a8a5
Add some test cases for the component builder
2018-12-20 11:22:06 +08:00