Skip to content
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

NAR serialization code #8

Closed
adnelson opened this issue May 2, 2018 · 2 comments
Closed

NAR serialization code #8

adnelson opened this issue May 2, 2018 · 2 comments

Comments

@adnelson
Copy link

adnelson commented May 2, 2018

(Originally posted on the hnix issues page)

I have code for serializing and deserializing NARs and "exported" NARs (including metadata) that I reverse engineered from the C++ implementation a while ago. It currently lives here: https://github.com/adnelson/nix-binary-cache/blob/master/src/Nix/Nar/Serialization.hs
I'm not sure if this already being worked on, or where it would fit into the code if we wanted it here, but I'd be happy to merge them into this one.

@shlevy
Copy link
Member

shlevy commented May 3, 2018

cc @imalsogreg

@imalsogreg
Copy link
Collaborator

@adnelson Thanks for pointing it out - I wish I'd know about your serialization code earlier :) I'm working on the same in this PR #7 - Do you have any ideas about laziness issues Shea mentioned in PR comments?

Anton-Latukha added a commit to Anton-Latukha/hnix-store that referenced this issue Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants