Richard Marko
2497d37d35
Merge pull request #75 from layus/fix-build
...
[Quickfixes] Fix tests and build of hnix-store-remote
2020-11-13 23:36:12 +01:00
Guillaume Maudoux
272cc6f09d
Fix tests for queryPathInfoUncached
2020-11-11 23:29:06 +01:00
Guillaume Maudoux
b3cffef050
Propagate Nar streaming to the remote store
2020-11-11 23:29:06 +01:00
Guillaume Maudoux
ffc0cc4519
Fix text encoding to utf8
2020-11-11 22:57:49 +01:00
Guillaume Maudoux
f0d0d12f83
Add support for base64 and sha512
...
cryptohash-sha512 is not yet updated to work with ghc 8.10.
Some jailbreaking is required.
2020-11-03 22:40:56 +01:00
Guillaume Maudoux
5b91fcae07
Fix parsing of cas path adresses
2020-07-24 22:25:52 +02:00
Richard Marko
dff752750d
remote: Put tests behind io-testsuite flag
...
Disabled by default since it requires `nix-daemon` binary
and Linux namespaces support.
For development this can be enabled by
```
cabal configure --flag=io-testsuite
```
or by adding
```
flags: +io-testsuite
```
to `cabal.project.local`
Enabled by `callCabal2nixWithOptions` in `overlay.nix` so
it is tested by `nix-build` and `nix-shell` brings all
test dependencies.
This is fine on NixOS where `build-tool-depends: nix:nix-daemon` works
and we have namespaces supported.
2020-07-14 13:27:24 +02:00
Richard Marko
850bafdb84
remote: Add ChangeLog.md
2020-07-14 13:27:24 +02:00
Richard Marko
5f33d9755b
remote: add buildDerivation and test
...
Closes #20 .
2020-07-14 13:27:24 +02:00
Richard Marko
11277253c0
switch hackage category from System to Nix
2020-07-14 13:27:24 +02:00
Richard Marko
1f862114c6
simple store path root, remote store rework
...
Closes #15 , #16 , #21 , #22 , #62 .
2020-07-14 13:27:24 +02:00
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