Greg Hale
7ecef6616f
Merge pull request #13 from sorki/remote
...
WIP: Remote store
2018-08-04 18:36:02 -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
be8311f4b9
add cabal.project
2018-07-16 09:12:34 +02:00
Richard Marko
d8828913ec
hnix-store-remote prototype
2018-07-16 09:12:23 +02:00
Richard Marko
c37c3017e5
Extend core types
2018-07-16 09:09:23 +02:00
Greg Hale
2075aae5ac
Merge pull request #7 from imalsogreg/master
...
NAR parser/generator
2018-05-15 11:11:39 -04:00
Greg Hale
7f1928edcb
Add NAR parser-generator and tests
2018-05-15 11:09:20 -04:00
Shea Levy
262cdc7f58
README: Elaborate on project goals and layout.
...
Fixes #9 .
2018-05-13 21:18:49 -04:00
Greg Hale
9b673371a6
Merge branch 'master' of github.com:haskell-nix/hnix-store
2018-04-30 03:06:07 -07:00
Greg Hale
2ba0a4bea0
Add provisional NAR parser and generator
2018-04-30 03:01:14 -07:00
Shea Levy
da0f19a65f
Merge branch 'addFile' of git://github.com/rpglover64/hnix-store
2018-04-29 15:34:03 -07:00
Alex Rozenshteyn
2cde70f249
Make the bytestring lazy
2018-04-29 15:29:47 -07:00
Alex Rozenshteyn
cf214ad2c3
Add effect for adding file to store
2018-04-29 13:55:48 -07:00
Gabriel Gonzalez
e750f60609
Permit validPaths
to use effects
...
According to @shlevy, whether or not a rooted path is a valid path is
not an intrinsic property of the rooted path and requires a side effect
to determine, so this change modifies the `StoreEffects` record to
reflect that.
2018-04-29 13:44:35 -07:00
Shea Levy
972e2c706f
StoreEffects: Add pathFromHashPart.
2018-04-28 03:44:26 -07:00
Shea Levy
49c1017f0e
StoreEffects: Add derivationOutputNames.
2018-04-28 03:41:48 -07:00
Shea Levy
c7d367f54c
StoreEffects: Add derivationOutputs
2018-04-28 03:39:51 -07:00
Shea Levy
ad6f613c6c
Add validDerivers
2018-04-28 03:37:31 -07:00
Shea Levy
12a75f5c47
validPath -> validPaths.
...
We don't need both.
2018-04-27 19:50:03 -07:00
Shea Levy
3c23fed2ac
ReadonlyStoreEffects -> StoreEffects.
...
We can break out into readonly or binary cache or whatever later if need be.
2018-04-27 19:49:38 -07:00
Shea Levy
561fda594b
ReadonlyStoreEffects: Add subtistutable path info query
2018-04-27 05:49:42 -07:00
Shea Levy
ead433277e
ReadonlyStoreEffects: Add rootedPath operation.
2018-04-27 05:37:49 -07:00
Shea Levy
f21f036d7e
ReadonlyStoreEffects: Add a referrers query.
2018-04-27 05:12:41 -07:00
Shea Levy
f086a5c5a9
isValidPath -> validPath
2018-04-27 04:51:35 -07:00
Shea Levy
02e1adf263
ReadonlyStoreEffects: Operate over rooted and valid paths.
2018-04-27 04:48:29 -07:00
Shea Levy
f26c6edd26
Truncated hash: Remove bogus Coercible constraint.
...
We can never satisfy it because Digest's constructor isn't exported.
2018-04-27 04:37:02 -07:00
Shea Levy
5629a13b1e
Add isValidPath effect.
2018-04-26 21:42:56 -07:00
Shea Levy
8b7a367021
Add store path type.
2018-04-26 21:33:06 -07:00
Shea Levy
d0fd35ba81
Formatting tweak
2018-04-26 08:37:20 -07:00
Shea Levy
d1e08a7a48
Truncated cryptographic hashes implementation.
2018-04-26 08:17:03 -07:00
Shea Levy
bd22576323
Copyright
2018-04-24 09:34:16 -04:00