Commit graph

197 commits

Author SHA1 Message Date
Simon Jakobi 220209c090
Use neat-interpolation instead of interpolate (#635)
In addition to `interpolate`, this also removes the following
transitive dependencies:

 - `haskell-src-exts`
 - `haskell-src-meta`
 - `safe`
 - `th-expand-syns`
 - `th-lift`
 - `th-lift-instances`
 - `th-orphans`
 - `th-reify-many`

Since `neat-interpolation`'s `text` quasiquoter trims more whitespace
than `interpolate`'s `i`, the expected output of some tests for
`unsafeGetAttrPos` had to be updated.

This also improves the test failure output of the `constantEqual`
helper.

Fixes #634.
2020-06-27 10:43:50 +02:00
Anton-Latukha c60e875da2
CI: merge docs (build.sh->default.nix)
M  build.sh
M  default.nix
2020-06-24 03:19:43 +03:00
Anton-Latukha cbe22270b6
CI: mv rev doc (build.sh->default.nix)
M  build.sh
M  default.nix
2020-06-24 03:19:37 +03:00
Anton-Latukha b597748fa5
CI: {build.sh,default.nix}: upd settings structure, upd descriptions
M  build.sh
M  default.nix
2020-06-24 03:05:05 +03:00
Anton-Latukha 1871a91f94
CI: default.nix: add compiler explanation
M  default.nix
2020-06-23 21:06:50 +03:00
Richard Marko 59777e12b8 default.nix: filter package root with nix-gitignore
so we don't copy stuff like `dist-newstyle`.
2020-06-23 17:03:48 +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
Anton-Latukha c859eae013
default.nix: clean-up docs
M  default.nix
2020-06-17 19:41:31 +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
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
Anton-Latukha 6a80e3296c
default.nix: expose functionality: doJailbreak
Argument was already exposed in the header

M  default.nix
2020-06-03 22:18:23 +03:00
Anton-Latukha 1668607c13
default.nix: expose functionality: enableDWARFDebugging; add doc
M  default.nix
2020-06-03 22:18:23 +03:00
Anton-Latukha e4b75b2e74
default.nix: expose functionality: linkWithGold; add doc
M  default.nix
2020-06-03 22:18:18 +03:00
Anton-Latukha 6cdad869bc
default.nix: expose functionality: disableOptimization; add doc
M  default.nix
2020-06-03 22:13:21 +03:00
Anton-Latukha aec2b1c43b
default.nix: expose functionality: buildStrictly; add doc
M  default.nix
2020-06-03 22:13:21 +03:00
Anton-Latukha 0382a04436
default.nix: expose functionality: failOnAllWarnings; add doc
M  default.nix
2020-06-03 22:13:21 +03:00
Anton-Latukha 229a95ee14
default.nix: expose functionality: buildFromSdist; add doc
M  default.nix
2020-06-03 22:13:21 +03:00
Anton-Latukha 8f94a035c7
default.nix: expose functionality: sdistTarball; add doc
M  default.nix
2020-06-03 22:13:21 +03:00
Anton-Latukha c0ef4039b6
default.nix: allow apply composition over the package
M  default.nix
2020-06-03 22:13:02 +03:00
Anton-Latukha 6548659e77
default.nix: allow apply composition over the package
M  default.nix
2020-06-03 20:33:14 +03:00
Anton-Latukha 6ad93468ec
default.nix: add option enableSeparateBinOutput
M  default.nix
2020-06-03 20:32:44 +03:00
Anton-Latukha 57689fd9df
default.nix: package: sort inherited Haskell.lib args, provide doc
M  default.nix
2020-06-03 20:32:44 +03:00
Anton-Latukha 7e94eb94c6
default.nix: abstract the developPackage into value
M  default.nix
2020-06-03 20:32:35 +03:00
Anton-Latukha f1a4ccc31e
default.nix: upd docs for Header.lib args in headers, sort
Providing docs to them and sort them roughly in order of their application/stage

M  default.nix
2020-06-03 20:09:49 +03:00
Anton-Latukha cd6c601dcb
default.nix: m doc upd
M  default.nix
2020-06-03 19:45:49 +03:00
Anton-Latukha 8538d3a763
default.nix: expose additional part of Nixpkgs haskell.lib API
M  default.nix
2020-06-03 02:11:34 +03:00
Anton-Latukha e249cac73e
default.nix: off enableSharedExecutables | rare feature, not passes macOS tests
This feature seems to enable binaries as also a dynamic library, with is a rare
and largely unknown feature, and it not used. Since it is unexpected optional
rare not standard feature - turn it off by default.

M  default.nix
2020-06-03 02:11:33 +03:00
Anton-Latukha 44e159c7da
default.nix: default enableDeadCodeElimination to false | GHC macOS build bug
M  default.nix
2020-06-03 02:11:33 +03:00
Anton-Latukha f25a5034f0
default.nix: add if useRev - then use rev, else use <nixpkgs>
M  default.nix
2020-06-01 18:55:42 +03:00
Anton-Latukha 637f6641d4
default.nix: for import form separate explicit override set
M  default.nix
2020-06-01 18:48:31 +03:00
Anton-Latukha cf0007c09e
default.nix: set rev default to nixpkgs-unstable
M  default.nix
2020-06-01 18:47:42 +03:00
Anton-Latukha 5ae47df2c9
default.nix: to allow use of current channels remove hash guarding
M  default.nix
2020-06-01 18:47:13 +03:00
Anton-Latukha 82f9c9b7fe default.nix: add docs to the exposed haskell.lib options
M  default.nix
2020-05-31 23:24:00 +03:00
Anton-Latukha c642478f81 default.nix: expose more features of haskell.lib API
M  default.nix
2020-05-31 23:24:00 +03:00
Anton-Latukha 6890eccfe3 default.nix: add flags {doCheck,doHaddock,doCoverage}
M  default.nix
2020-05-31 23:24:00 +03:00
Anton-Latukha 5b36d8af5d default.nix: add haskell.lib profiling options explicitly
Integrates with CI.

M  default.nix
2020-05-31 23:24:00 +03:00
Anton-Latukha a23b18b705 default.nix: rm allowUnfree - there is none
M  default.nix
2020-05-31 23:24:00 +03:00
Anton-Latukha 13fc309d68 default.nix: make GHC 8.8.3 default
M  default.nix
2020-05-31 23:24:00 +03:00
hyperfekt acaa65c1df
get pinned nixpkgs with fetchTarball and guard with hash (#594)
Tarball is faster
2020-05-27 11:22:38 +03:00
Anton-Latukha c5d05d3003
default.nix: dep: upd hnix-store: use it from the repository
M  default.nix
2020-05-26 04:02:15 +03:00
Anton-Latukha 1c8f5822fd
default.nix: dep: upd hnix-store to 0.2
M  default.nix
2020-05-26 04:02:15 +03:00