Commit Graph

359 Commits

Author SHA1 Message Date
Richard Marko
0ab60a0d6b Release 0.4.1
Closes #111.
2021-01-16 09:57:26 +01:00
Richard Marko
58814771b1
Merge pull request #126 from haskell-nix/2021-01-16-upd-changelogs
Forming release: updating changelogs, updating cabal versions
2021-01-16 09:35:32 +01:00
Anton-Latukha
6d75088835
Remote: prepare 0.4.1.0: cabal ver, ChangeLog 2021-01-16 09:39:26 +02:00
Anton-Latukha
9c58218c28
Core: prepare 0.4.1.0: cabal version, ChangeLog
M  hnix-store-core/hnix-store-core.cabal
2021-01-16 09:35:10 +02:00
Anton-Latukha
ef51f8b3ee CI: tmp add hack to freeze upstream
Until https://github.com/haskell-nix/hnix-store/issues/122
2021-01-16 07:01:59 +02:00
Anton-Latukha
f325cdb7ca Core, Remote: tasty-discover dep: rm from Cabal desc, add to Nix drv
`tasty-discover` is a run-time executable dependency, it does not belong in the
package description.
2021-01-15 02:43:27 +02:00
Anton-Latukha
c5a929f273 overlay.nix: rm cryptohash-sha512 override 2021-01-15 02:43:27 +02:00
Anton Latukha
64453c5195
Remote: deps: use directory (#120)
`which` is excessive, it depends on TH & `shelly` which depends on a lot of things and also `directory`.
2021-01-15 02:31:33 +02:00
Anton Latukha
35b8e2c4b8
Core, Remote: deps clean-up (#117)
Closing: #116
#115 allowed to reduce some deps in descriptions.
2021-01-14 22:20:00 +02:00
Anton Latukha
a336a09650
Merge #115: Clean-up & treating warnings 2021-01-14 21:57:11 +02:00
Richard Marko
4920668265 remote: re-export System.Nix.Store.Remote.Types from Remote 2021-01-14 14:47:17 +01:00
Richard Marko
779844eeb8 remote: fix all warnings 2021-01-14 14:47:17 +01:00
Richard Marko
637cf0a938 core: fix all warnings 2021-01-14 11:08:42 +01:00
Anton Latukha
851bb2e390
CI: Cabal: upd (#113)
- update the Cabal repo before build
- chache the results
  - the hack for GitHub expressions was invented
- name the steps
- add SDist check
- Cabal build checks now required

Added the info to the: https://markkarpov.com/post/github-actions-for-haskell-ci.html

I'd maybe wished to switch to `haskell-ci`, but currently it lacks caching for example, idk if it has any monorepo support.
2021-01-12 20:16:50 +02:00
Anton Latukha
012713dae9
Merge #110 cabal: rm cryptohash-sha512 override 2021-01-09 21:23:47 +02:00
Anton-Latukha
5eac46f6d5
cabal: rm cryptohash-sha512 override
https://github.com/haskell-hvr/cryptohash-sha512/pull/5#issuecomment-757068529
2021-01-09 21:14:15 +02:00
Anton Latukha
9e42e7eab6
Merge #107: Cleanup Cabal files and dependencies; switch to Cabal 2.2 2021-01-07 21:56:15 +02:00
Anton Latukha
18265de317
CI: Nix-dev-env-main: use Cachix & rm GitHub cache (#105) 2021-01-07 21:43:47 +02:00
Richard Marko
9c5a54f604 remote: drop redundant deps 2021-01-06 13:26:58 +01:00
Richard Marko
22a3f367d2 core: drop unused io-streams and process-extras deps
Closes #106.
2021-01-06 13:26:32 +01:00
Richard Marko
2779bf9705 treewide: switch to cabal 2.2, add commons stanza with Wall & Wunused-packages 2021-01-06 13:26:32 +01:00
Richard Marko
660cb2f190 treewide: fix cabal file indentation 2021-01-06 13:26:32 +01:00
Anton Latukha
fd09d29b8b
Merge #103: Release 0.4
Rendered core ChangeLog https://github.com/sorki/hnix-store/blob/release0.4/ChangeLog.md
2020-12-30 19:36:38 +02:00
Richard Marko
862e01b0c3 Next changelog sections 2020-12-30 14:46:26 +01:00
Richard Marko
3e043dc99d README tweaks and pruning 2020-12-30 14:46:26 +01:00
Richard Marko
e7c1aa7a7b remote: add bounds for hnix-store-core 2020-12-30 14:15:21 +01:00
Richard Marko
3d6487d0e3 Release 0.4 2020-12-30 14:14:57 +01:00
Richard Marko
cb164907da overlay.nix: add nix and which pkgs to remote buildInputs 2020-12-30 14:12:17 +01:00
Anton Latukha
9826ddbce3
Merge #102: allowBroken cryptohash; base16-bytestring dep epochs support 2020-12-30 13:53:05 +02:00
Anton-Latukha
ffeaabbd30
overlay.nix: allow broken cryptohash-sha512 for nix-build 2020-12-30 13:47:28 +02:00
Anton-Latukha
3ece3b4e50
hnix-store-{core,remote}: support both base16-bytestring epochs 2020-12-30 13:47:28 +02:00
Anton Latukha
43313d0870
hnix-store-{core,remote}: allow also base16-bytestring < 1.0 (#100) 2020-12-30 01:54:31 +02:00
Anton Latukha
61e963d102
CI: GitHub: nix-build: fx target closure (#98)
Nix builds were building Nixpkgs packages, and in the case of the Remote - the Nixpkgs that used local Core override.

Now they use the local build, and fall because of the `cryptohash-sha512` state, which already treated for Cabal with `cabal.project`, but looks like `cabal2Nix does not support those, so the builds fall.
2020-12-22 21:58:58 +02:00
Anton Latukha
40a54cd6d0
CI: GitHub: Tmp allow broken/try to build broken Nix closures (#97)
SInce projects are broken quite frequently - introducing tmp `allowBroken` fix.
Works towards #67.
2020-12-22 21:32:42 +02:00
Anton Latukha
b61f40ad2e
Merge #94: Tmp override fix of cryptohash-sha512
`cryptohash-sha512` unmaintained, PR adds support of `base` 4.14 (GHC 8.10) through `cabal.project`

Remote fails because of wrong bounds on the Hackage HNix-Core, since it allows but does not support `base16-bytestring >= 1`.

Recently I migrated Core to `base16-bytestring >= 1` - but that is in `master` - Core release would fix the Remote Core dependency build.

Closes #90.
2020-12-22 21:21:07 +02:00
Anton-Latukha
ba91603cb0
remote: tmp-override-cryptohash-sha512
cryptohash-sha512 unmaintained, PR adds support of base 4.14 (GHC 8.10).

A  hnix-store-remote/cabal.project
2020-12-22 21:04:53 +02:00
Anton-Latukha
10bb0aefab
core: tmp-override-cryptohash-sha512
cryptohash-sha512 unmaintained, PR adds support of base 4.14 (GHC 8.10).

The fork got version restriction and several tests removed.

A  hnix-store-core/cabal.project
2020-12-22 21:04:53 +02:00
Anton Latukha
69174725ac
CI: GitHub: add Optional-Nix-dev-env-main: add mvp nix-build (#95)
Work towards having enough CI testing #67.

I currently can not create the Cachix binary cache current for the project, details in #96.

So for the time being added the simple GH cache to them.
2020-12-22 21:02:19 +02:00
Anton Latukha
72eaf6c01d
readme: sync doc links to source
Closes #49
2020-12-19 13:47:40 +02:00
Richard Marko
ba166a5abb
Merge pull request #87 from Anton-Latukha/2020-12-14-uni-encode-decode
Unify hash Base encoding/decoding funcitons
2020-12-17 12:11:00 +01:00
Anton Latukha
1a4aa98514
remote: cosmetic
Co-authored-by: Richard Marko <srk@48.io>
2020-12-17 13:06:26 +02:00
Anton Latukha
181f5fc0a8
remote: cosmetic
Co-authored-by: Richard Marko <srk@48.io>
2020-12-17 13:05:58 +02:00
Anton-Latukha
5d160cd5c5
core & remote: cosmetics 2020-12-17 00:58:07 +02:00
Richard Marko
ee42448154
core: qualified Base32 in Hash test
Related to #87.
2020-12-17 00:56:58 +02:00
Anton-Latukha
54ec4855ba
core & remote: refactor (Digest <-> BaseNN) encodeInBase & decodeBase
also rename functions `encodeIn` `decode` to `encodeInBase` `decodeBase`
2020-12-17 00:56:00 +02:00
Anton-Latukha
3e33dc2f5e
core:System/Nix/Internal/Hash: unify decodeBase* fun under decode 2020-12-17 00:42:31 +02:00
Anton-Latukha
24435f0b87
core:System/Nix/Internal/Hash: unify encodeBase* fun under encodeIn 2020-12-17 00:42:19 +02:00
Anton-Latukha
901f23ee88
core:System/Nix/Internal/Hash: sort encode*/decode* functions 2020-12-17 00:28:01 +02:00
Anton Latukha
d8db986a3e
Merge request #88 add CI Cabal build functionality 2020-12-15 14:02:31 +02:00
Anton-Latukha
ac92f1d44c
CI: GitHub: *Cabal-Linux: add Nix installation for Remote 2020-12-15 13:51:55 +02:00