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

[WIP] paths-from-graph.pl: generate the hash of the store path #29274

Closed
wants to merge 1 commit into from

Conversation

nlewo
Copy link
Member

@nlewo nlewo commented Sep 12, 2017

Try to fix #29264

Since I don't perl, I have written this poc to see if it solves my issue. And it does.
With the PR #28561 :

 nix-build ./ -A dockerTools.examples.nix && docker load -i result && docker run --rm nix nix-store --verify-path $(nix-build ./ -A glibc)

Note this also increase the compute time of the graph since we have to hash the whole content.

@nlewo nlewo changed the title paths-from-graph.pl: generate the hash of the store path [WIP] paths-from-graph.pl: generate the hash of the store path Sep 12, 2017
@nlewo
Copy link
Member Author

nlewo commented Sep 13, 2017

I finally use nix-store --verify --check-content to generate hash and size.

@nlewo nlewo closed this Sep 13, 2017
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

Successfully merging this pull request may close these issues.

Complete implementation of paths-from-graph.pl
1 participant