Anton-Latukha
661afa5acb
CI: .travis.yml: properly name GHC 8.8.3 macOS as Strict
...
M .travis.yml
2020-06-20 23:53:11 +03:00
Anton-Latukha
9e68dede5e
CI: .travis.yml: rm Strict from GHC 8.6.5
...
M .travis.yml
2020-06-20 23:53:11 +03:00
Anton-Latukha
f84f17bdb0
default.nix: clean-up no longer relevant commented-out code
...
buildInputs populated automatically.
Environment overloads we can do any time, no need to keep trivial code
commented.
There is no AWS S3 use. If we would need we would write new deployment
implementation outside of `default.nix` using actual NixOps.
2020-06-20 21:55:42 +03:00
Simon Jakobi
f0532b86f6
Silence redundant import warnings for Control.Monad.Fail ( #633 )
...
Also address mysterious redundant import warnings in the testsuite
This allows us to enable `buildStrictly=true` for GHC 8.8.
Fixes #613 .
2020-06-19 02:21:06 +02:00
Simon Jakobi
0fa311301c
Remove some more unused dependencies ( #632 )
...
* Remove library dependencies on contravariant and semigroups
* Remove testsuite dependencies on generic-random and tasty-quickcheck
Context: #588
2020-06-19 00:26:40 +02:00
Anton Latukha
69ec0ad4a8
Merge pull request #630 from Anton-Latukha/upd-Travis-06
...
CI: Build options consolidation, tweaking builds
In this PR I consolidate and all options `{Nixpkgs pkgs.haskell.lib, default.nix, build.sh, .travis.yml}` share between them. So I deliver my promise of these features fully.
As also raising the bar for the default CI test - GHC 8.10 to include also {Optimize, Benchmark, Haddock, Shell Completions}.
PR relates to #581
2020-06-17 20:02:13 +03:00
Anton-Latukha
5120235ba3
build.sh: rm pkgName
(not used), return name
- used by Cachix
...
M build.sh
2020-06-17 19:46:01 +03:00
Anton-Latukha
23008422c0
CI: .travis.yml: GHC 8.10: add Haddock, optimize, Benchmark, Shell Complettions
...
M .travis.yml
2020-06-17 19:42:28 +03:00
Anton-Latukha
94002e3b1f
CI: .travis.yml: use linkWithGold in Linux builds, a bit faster builds
...
M .travis.yml
2020-06-17 19:42:28 +03:00
Anton-Latukha
19fbe4dea6
build.sh: add new options into the build commands
...
M build.sh
2020-06-17 19:42:24 +03:00
Anton-Latukha
6f320076f8
build.sh: add more options and their docs
...
M build.sh
2020-06-17 19:41:31 +03:00
Anton-Latukha
701600a19e
build.sh: add disclamer for options
...
M build.sh
2020-06-17 19:41:31 +03:00
Anton-Latukha
de057de8e1
build.sh: provide docs to options
...
M build.sh
2020-06-17 19:41:31 +03:00
Anton-Latukha
0ea19e4125
build.sh: sort the options into logical order
...
M build.sh
2020-06-17 19:41:31 +03:00
Anton-Latukha
61c9ae15be
build.sh: default to GHC 8.10
...
M build.sh
2020-06-17 19:41:31 +03:00
Anton-Latukha
c859eae013
default.nix: clean-up docs
...
M default.nix
2020-06-17 19:41:31 +03:00
Anton-Latukha
222489baf3
CI: rm buildStackProject, it does not work that way, and better to use real stack
...
M .travis.yml
M build.sh
2020-06-17 19:41:25 +03:00
Anton-Latukha
c580b4e837
CI: make generate*Complettions work and accept a list of executables
...
M .travis.yml
M build.sh
M default.nix
2020-06-17 19:40:21 +03:00
Simon Jakobi
d9518fdd5a
changelog: Clarify GHC support change in v0.9.0
...
v0.8.0 had already supported GHC 8.4 and 8.8, as the Hackage matrix
indicates:
https://matrix.hackage.haskell.org/#/package/hnix
2020-06-17 19:37:53 +03:00
Anton-Latukha
29cd92ba36
CI: .travis.tml: clean-up
...
Since conf no longer multiplies rows into matrix, but provides it explitly,
exclusions not needed.
M .travis.yml
2020-06-17 15:37:43 +03:00
Anton Latukha
2fdd31e599
Merge pull request #629 from Anton-Latukha/upd-Travis-add-GHC-8.10
...
CI: Travis: make GHC 8.10 mandatory, and move SDist check onto it
2020-06-16 03:31:13 +03:00
Anton-Latukha
2a517572a4
CI: Travis: move SDist check to GHC 8.10
...
M .travis.yml
2020-06-16 03:19:48 +03:00
Anton-Latukha
f03b5e906e
CI: Travis: make GHC 8.10 mandatory
...
M .travis.yml
2020-06-16 03:18:22 +03:00
Anton Latukha
c3833ec610
Merge pull request #627 from Anton-Latukha/add-release-0.8.1
...
Release: 0.9.0
2020-06-15 23:16:29 +03:00
Anton-Latukha
bfe9d11c24
hnix.cabal: version 0.9.0
...
M hnix.cabal
2020-06-15 03:44:49 +03:00
Anton-Latukha
9421b54153
hnix.cabal: set {lens-family{,-core},template-haskell} bounds
...
Set current upper bound of lenses
`template-haskell` bounds derived from the git commit date and current bound,
then lowered low bound to include GHC 8.4
M hnix.cabal
M hnix.cabal
2020-06-15 03:44:10 +03:00
Anton-Latukha
4846f87699
hnix.cabal: extra-source-files: add CHANGELOG.md
...
M hnix.cabal
2020-06-15 02:25:53 +03:00
Anton-Latukha
9ddbba595d
add CHANGELOG.md
...
A CHANGELOG.md
2020-06-15 02:25:47 +03:00
Anton Latukha
207b6e1e50
Merge pull request #623 from Anton-Latukha/upd-Travis-04
...
CI: Travis: enable testing sdist and strict build as high as possible
2020-06-12 18:45:24 +03:00
Anton-Latukha
e865d1c7ac
CI: Travis: upd explicit build names
...
M .travis.yml
2020-06-12 18:31:07 +03:00
Anton-Latukha
404f1698b6
CI: Travis: enable strict build in GHC 8.6.5
...
M .travis.yml
2020-06-12 18:16:26 +03:00
Anton-Latukha
7e68451623
CI: Travis: rm os:
and dist:
, since they are explicitly put below
...
M .travis.yml
2020-06-12 18:04:02 +03:00
Anton-Latukha
1dfd71a924
CI: Travis: env: rm jobs matrix
...
M .travis.yml
2020-06-12 18:03:34 +03:00
Anton-Latukha
50cd691845
CI: Travis: explicitly state the builds
...
M .travis.yml
2020-06-12 18:03:07 +03:00
Anton Latukha
c89199f8b6
Merge pull request #625 from Anton-Latukha/upd-Travis-05
...
CI: Travis: add update of Nix packages, fix Nix update, fix Cachix install on macOS
2020-06-12 16:41:58 +03:00
Anton-Latukha
ebdb4e827f
CI: Travis: add HACK to fix reload Nix-daemon after Nix update 2.0 -> 2.2
...
M .travis.yml
2020-06-12 16:26:38 +03:00
Anton-Latukha
361232ea5e
CI: Travis: rm sleep 2 - redundant
...
Anyway it takes 30s-1m to the nix-build.
M .travis.yml
2020-06-12 16:26:07 +03:00
Anton-Latukha
60bff08207
CI: Travis: fix Cachix nix-env install rights menegement
...
The Cachix suddenly started to fall with:
```
$ nix-env -iA cachix -f https://cachix.org/api/v1/install
error: creating directory '/Users/travis/.cache/nix/tarballs': Permission denied
The command "nix-env -iA cachix -f https://cachix.org/api/v1/install " exited with 1.
```
There are changes to macOS procedures, Nix updated to 2.2, and Cachix has big
upstream changes for macOS processes.
So fixing rights management in this way.
M .travis.yml
2020-06-12 16:22:55 +03:00
Anton-Latukha
22856b40a4
CI: Travis: add Nix packages upd
...
M .travis.yml
2020-06-12 16:22:14 +03:00
Anton Latukha
a3c09c15ad
Merge pull request #617 from Anton-Latukha/upd-defaultNix-05
...
default.nix: refactor, provide rest of the Nixpkgs Haskell.lib features, document
2020-06-12 04:24:42 +03:00
Anton-Latukha
e4d1666590
default.nix: doc: add beginning doc and link to lib for more info on options
...
M default.nix
2020-06-05 17:13:28 +03:00
Anton-Latukha
b2e724f558
default.nix: doc: add to body (functions fold and composePackage)
...
M default.nix
2020-06-05 17:13:28 +03:00
Anton-Latukha
24dc887658
default.nix: doc: add to header args
...
M default.nix
2020-06-05 17:13:28 +03:00
Anton-Latukha
387efa2a2e
default.nix: rm doOptimize (superceeded by disableOptimizations)
...
M default.nix
2020-06-05 17:13:28 +03:00
Anton-Latukha
c5dbaf9651
default.nix: rm doStrict (superceeded by failOnAllWarnings)
...
M default.nix
2020-06-05 17:13:28 +03:00
Anton-Latukha
58e9a85029
default.nix: expose functionality: doHyperlinkSource; provide doc
...
M default.nix
2020-06-05 17:13:28 +03:00
Anton-Latukha
0f3af99f0e
default.nix: expose functionality: gen*Optparse*Completion; provide doc
...
M default.nix
2020-06-05 17:13:22 +03:00
Anton-Latukha
11151294d2
default.nix: expose functionality: checkUnusedPackages; provide doc
...
M default.nix
2020-06-03 22:18:23 +03:00
Anton-Latukha
446372aaa5
default.nix: expose functionality: justStaticExecutables
...
Argument and doc was already provided in the header.
M default.nix
2020-06-03 22:18:23 +03:00
Anton-Latukha
5a3dafc77d
default.nix: expose functionality: doStrip
...
Argument and doc was already provided in the header
M default.nix
2020-06-03 22:18:23 +03:00