-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Remote store #13
Conversation
I will also add |
Thanks! @imalsogreg are you able to give this a first-pass review? |
add missing Util
use ExceptT, concat logs, utility log functions
drop ExceptT todo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add some more style comments, but overall this is fantastic and I'd like to merge it sooner than later, since we would like to make use of the derivation type and the store functions in other active hnix tickets.
, network | ||
, mtl | ||
, cryptonite | ||
, unordered-containers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Ord a => Ord (HashSet a)
instance that you use later requires unordered-containers >= 0.2.9
Prototype of remote store access via worker protocol. Most of the API is implemented, tho I'm struggling a bit with path hash computation/extraction. Few methods are still left undefined as they require some special care.
I'm not quite sure how to fit this onto API in
System.Nix.Store
as well as it differentiates betweenrootedPath
andvalidPath
- not sure how are these related toPath
andValidPathInfo
(alsoValidPathInfo
needs separate file due to clashing record field names).Related to #12 and haskell-nix/hnix#173