Commit Graph

2145 Commits

Author SHA1 Message Date
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
Richard Marko 24c74f26c3 hnix.cabal: add tests/files to extra-source-files
Better add all of them so we don't accidentally hit
this again when we add tests using other than findFile.nix.

Closes #612.
2020-06-03 14:41:30 +03:00
Anton Latukha a3ba906d8f
Merge pull request #609 from Anton-Latukha/upd-defaultNix-04
default.nix: expose additional part of Nixpkgs haskell.lib API
2020-06-03 05:13:52 +03:00
Anton Latukha 0bcb7133de
Merge branch 'master' into upd-defaultNix-04 2020-06-03 04:57:17 +03:00
Anton Latukha d1ff97dd1e
Merge pull request #611 from Anton-Latukha/rm-warn-01
clean-up GHC 8.{4,6} warnings, working towards `buildStrictly`
2020-06-03 04:56:58 +03:00
Anton-Latukha 8ebb26f371
src/Nix/Type/Infer.hs: clean-up imports
M  src/Nix/Type/Infer.hs
2020-06-03 02:37:39 +03:00
Anton-Latukha b72bfe86c9
src/Nix/Builtins.hs: clean-up imports
M  src/Nix/Builtins.hs
2020-06-03 02:37:39 +03:00
Anton-Latukha 20667e55c6
src/Nix/Parser.hs: clean-up imports
M  src/Nix/Parser.hs
2020-06-03 02:37:39 +03:00
Anton-Latukha 48f1dbb13a
clean-up Monad.Trans imports
M  src/Nix/Exec.hs
M  src/Nix/Reduce.hs
2020-06-03 02:37:39 +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 76ab909958
clean-up Monoid imports
M  main/Repl.hs
M  src/Nix/Expr/Strings.hs
M  src/Nix/Utils.hs
2020-06-02 02:11:50 +03:00
Anton-Latukha 83c483d160
src/Nix/Value.hs: clean-up imports, clen-up GHC warning
M  src/Nix/Value.hs
2020-06-02 01:38:39 +03:00
Anton Latukha c090af1a6e
Merge pull request #607 from Anton-Latukha/upd-defaultNix-03
default.nix: follow local default <nixpkgs> by default, allow {optional,rolling} `rev`
2020-06-01 22:18:40 +03:00
Anton-Latukha f9f38563c4
CI: build.sh: MAIN: add the channel update
M  build.sh
2020-06-01 19:30:14 +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 ad99540ff5
CI: build.sh: update Nix after its installation
Nix that installs through Nix installer is 2.0.4.
Current Nix release is 2.3.5.

To to have a less of old bugs, and more of new bugs - Nix after installation
needs an update right away.

Old Nix literally prevented importing Nix channels on Linux Nix installations.

M  build.sh
2020-06-01 18:43:26 +03:00
Anton-Latukha a214c74e02
CI: build.sh: rm empty args from nix-build
M  build.sh
2020-06-01 18:38:57 +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 834d4cf567 CI: Travis: build.sh: init CACHIX_SIGNING_KEY with default empty value
Due to new strict `set` rules `if` statement check agains empty variable was
failing the build, this fixes builds in PRs.

...sigh.

M  build.sh
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
Anton Latukha 4f17d9664b
Fix CI builds on internal branches (#604)
* CI: Travis: rm cache | Builds 2X times faster without Travis cache

M  .travis.yml

* CI: Travis: build.sh: mv `set` declaration | fx master CI statuses

M  .travis.yml
M  build.sh
2020-05-31 18:34:39 +02:00
Simon Jakobi 8700706d57
Travis: Add CI job with linux and GHC-8.4.4 (#603)
GHC 8.4 is still widely used, so it's good to check compatibility
with it.
2020-05-30 17:12:34 +03:00
Simon Jakobi 9c6003ae8b
Use haskeline-0.8 (#540)
The `MonadException` class was removed in favor of `MonadCatch`, so we
can remove its instances, enabling us to remove the library dependency
on haskeline.

To simplify dependency resolution with GHC < 8.10, this also disables
the executable in that configuration.
2020-05-30 03:32:20 +02:00
Simon Jakobi 707060260a
Clean up hashing-related dependencies (#597)
Background: https://github.com/haskell-nix/hnix/issues/588#issuecomment-634692400
2020-05-30 02:28:50 +02:00
Anton Latukha fc4a9b9fca
Merge pull request #583 from Anton-Latukha/upd-travis-01
CI: Travis: upd: maybe this would be able to help

Let's go!
2020-05-30 02:32:11 +03:00
Anton Latukha 63b0625bf7
Merge branch 'master' into upd-travis-01 2020-05-30 01:29:48 +03:00
John Wiegley 05aaec56b5
Bump version to 0.8.0 2020-05-29 11:26:16 -07:00
Anton-Latukha 145fff41cf
CI: Travis: build.sh: BUILD_PROJECT: *Optparse*Completion: upd: directional note
M  build.sh
2020-05-29 00:55:15 +03:00
Anton-Latukha c6ad7b374b
CI: Travis: env: global: rev: upd: note for haskell-update branch
M  .travis.yml
2020-05-29 00:55:08 +03:00
Anton Latukha 2729cfeb49
CI: Travis: build.sh: BUILD+PROJECT: *Optparse*Completion: upd: phrasing
Co-authored-by: Simon Jakobi <simon.jakobi@gmail.com>
2020-05-28 22:31:07 +03:00
Anton Latukha bdb27658a1
CI: Travis: build.sh: BUILD+PROJECT: *Optparse*Completion: upd: phrasing
Co-authored-by: Simon Jakobi <simon.jakobi@gmail.com>
2020-05-28 22:30:10 +03:00
Anton Latukha 7c53b1bef0
CI: Travis: build.sh: BUILD_PROJECT: GHCJS: upd phrasing
Thanks to @sjakobi

Co-authored-by: Simon Jakobi <simon.jakobi@gmail.com>
2020-05-28 22:30:09 +03:00
Anton Latukha 09c5464941
CI: Travis: build.sh: SILENT: upd phrasing
Thanks to @sjakobi

Co-authored-by: Simon Jakobi <simon.jakobi@gmail.com>
2020-05-28 22:30:09 +03:00
Anton Latukha 24b728bd07
CI: Travis: sudo: upd: rewording from sjakobi
Thanks to @sjakobi

Co-authored-by: Simon Jakobi <simon.jakobi@gmail.com>
2020-05-28 22:30:09 +03:00