hnix-store/hnix-store-core
Anton-Latukha 97146b41cc
treewide: migrate crypto(hash-* -> nite)
Reference:

Main cause:

https://github.com/haskell-hvr/cryptohash-sha512/issues/7

The whole `cryptohash-*` package family is abandoned, there is no
signs of maintainer activity there, so it stopped following Haskell ecosystem &
`base` releases. Knowing the human history & situation around it - it would not
be reviwed, which gives experience to not hardcode on the (specifically when
emotional) dependency.

Experience I drawn from this story is to keep things simplier when possible &
have more flexible systems as a result code.
It was "a bit too much" for what hashing is, for the code to have 2 hashing type
systems (external & internal) & reinventment of `HashAlgorithm` type duplicate.
The whole code was really rigid with a lot of type applicating the data kinds,
those are dependent type features & should be used cautiously, since interface
became rigid to changes, so afterwards it is easier & effective to dismantle
and recreate the subsystem then to evolve it.

Previous hashing history:
https://github.com/haskell-nix/hnix-store/issues/156
https://github.com/haskell-nix/hnix-store/issues/142
https://github.com/haskell-nix/hnix-store/pull/93
https://github.com/haskell-nix/hnix-store/issues/92
https://github.com/haskell-nix/hnix-store/issues/90
https://github.com/haskell-nix/hnix-store/issues/83
https://github.com/haskell-nix/hnix-store/pull/64
https://github.com/haskell-nix/hnix-store/pull/38
https://github.com/haskell-nix/hnix-store/pull/32
https://github.com/haskell-nix/hnix-store/pull/31
https://github.com/haskell-nix/hnix-store/pull/28
https://github.com/haskell-nix/hnix-store/pull/27
https://github.com/haskell-nix/hnix-store/pull/25
https://github.com/haskell-nix/hnix-store/issues/18
https://github.com/haskell-nix/hnix-store/pull/14
2021-06-10 15:17:40 +03:00
..
src/System/Nix treewide: migrate crypto(hash-* -> nite) 2021-06-10 15:17:40 +03:00
tests treewide: migrate crypto(hash-* -> nite) 2021-06-10 15:17:40 +03:00
.envrc Lorri + direnv. 2019-03-19 20:52:25 -04:00
.ghci Add NAR parser-generator and tests 2018-05-15 11:09:20 -04:00
cabal.project cabal: rm cryptohash-sha512 override 2021-01-09 21:14:15 +02:00
ChangeLog.md Release 0.4.3 (#153) 2021-05-30 18:55:50 +03:00
hnix-store-core.cabal treewide: migrate crypto(hash-* -> nite) 2021-06-10 15:17:40 +03:00
LICENSE Duplicate information to appease bad tooling 2018-08-05 10:58:17 -04:00
README.md README tweaks and pruning 2020-12-30 14:46:26 +01:00
shell.nix Local shell.nixes to make flycheck happy. 2019-03-09 19:04:11 -05:00

hnix-store-core

Core effects for interacting with the Nix store.

See NarEffects in System.Nix.Internal.Nar.Effects and the System.Nix.StorePath for the available operations on the store.

Tests

  • ghcid --command "cabal repl test-suite:format-tests" --test="Main.main"