Commit Graph

28 Commits

Author SHA1 Message Date
tv
3a24d3423b
hnix-store-remote README: fix example 2019-03-28 21:32:31 +01:00
Shea Levy
df43823868
hnix-store-remote: Remove erroneous path putting/getting.
mkPath's logic was completely wrong (tried to make a PathName out of
the entire path, made up a hash based on the whole path rather than
parsing base32) and putPath ignored the store directory and the hash
part.

Much of the code that depended on these functions was actually
correct, but ultimately did the wrong thing. We can resurrect those
from git once the primitives are correctly implemented.
2019-03-22 08:38:09 -04:00
Shea Levy
13e0724344
Remote: Remove unimplemented ops.
We can add implementations later.
2019-03-22 08:38:09 -04:00
Shea Levy
e63bcd61dd
Remove hnix-store-temporary-live-test.
We should use repl modules or proper test suites for things like
this.
2019-03-22 08:38:09 -04:00
Shea Levy
91105c05c6
Lorri + direnv. 2019-03-19 20:52:25 -04:00
Shea Levy
0f50f40ffb
Hackage-safe 2019-03-18 17:20:31 -04:00
Shea Levy
a8aaa9b534
Rename HasDigest to ValidAlgo. 2019-03-11 03:14:34 -04:00
Shea Levy
3ad41dc6f6
Remove value-level hash algorithms.
We can use NamedHashAlgorithm to get a name where relevant, and soon
the pair of (recursive, Proxy) :: (Bool, Proxy algo) will be replaced
with a separate type which will let us drop the proxies.

Also, we drop logic from addToStore in the remote impl that was copied
from C++ compatibility code for very old daemon versions.
2019-03-10 19:07:17 -04:00
John Ericson
3fde7c1580 Merge remote-tracking branch 'origin/master' into add-to-store 2019-03-10 13:21:18 -04:00
Greg Hale
cf9fbf06c8 Fix addToStore message encoding and do some cleanup 2019-03-10 10:29:17 -04:00
Shea Levy
0367156509
Local shell.nixes to make flycheck happy. 2019-03-09 19:04:11 -05:00
Shea Levy
440dfebc28
Build expressions. 2019-03-09 18:32:01 -05:00
Greg Hale
b8568a4549 Merge branch 'add-to-store' of github.com:haskell-nix/hnix-store into add-to-store 2019-03-09 11:39:59 -05:00
Greg Hale
547165d22e Add useful garbage 2019-03-09 11:32:23 -05:00
Greg Hale
759abd9f94 nareffetsio for addToStore in hnix-store-remote 2018-12-28 19:28:11 -05:00
Greg Hale
4c650ca750 WIP addToStore protocol implementation 2018-12-28 19:28:11 -05:00
Greg Hale
a7120f60cc Reflect type level hash algo to value 2018-12-28 19:28:11 -05:00
Greg Hale
7bd991a52e add nix expressions for building hnix-store-* 2018-12-28 11:00:31 -05:00
Greg Hale
34f2ad0287 nareffetsio for addToStore in hnix-store-remote 2018-11-18 14:29:10 -05:00
Greg Hale
7bd82c9ce9 WIP addToStore protocol implementation 2018-11-18 14:27:23 -05:00
Greg Hale
6f1626a0ef Reflect type level hash algo to value 2018-11-18 12:05:44 -05:00
Greg Hale
966aa4a782 Remove cryptonite, foundation, basement and memory from all packages 2018-09-30 19:05:10 -04:00
Greg Hale
d6fa9a1044 Update name of Derivation type to synchronize -core and -remote libraries 2018-09-11 23:33:11 -04:00
Richard Marko
d5eb32e5d9 squash! hnix-store-remote prototype
drop ExceptT todo
2018-07-17 11:21:50 +02:00
Richard Marko
cf51ba3b39 temp: add hnix-store-temporary-live-test 2018-07-17 11:15:21 +02:00
Richard Marko
b8354d8b42 squash! hnix-store-remote prototype
use ExceptT, concat logs, utility log functions
2018-07-17 10:05:17 +02:00
Richard Marko
a01bff9eb8 squash! hnix-store-remote prototype
add missing Util
2018-07-17 10:03:08 +02:00
Richard Marko
d8828913ec hnix-store-remote prototype 2018-07-16 09:12:23 +02:00