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

Reproducibility broken by store-path-pre-build #36

Closed
ryantm opened this issue Apr 5, 2020 · 2 comments
Closed

Reproducibility broken by store-path-pre-build #36

ryantm opened this issue Apr 5, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ryantm
Copy link

ryantm commented Apr 5, 2020

When the cachix-action does

sh -c nix path-info --all | grep -v '.drv$' > store-path-pre-build

It adds the file store-path-pre-build to the build directory, which affects reproducibility if the file isn't ignored.

Workaround for now: Add store-path-pre-build to filter sources or .gitignore if you are using gitignore.nix.

cc @domenkozar

@ryantm ryantm changed the title Reproducibility Reproducibility broken by store-path-pre-build Apr 5, 2020
@domenkozar domenkozar added the bug Something isn't working label Apr 6, 2020
@domenkozar domenkozar self-assigned this Apr 6, 2020
@domenkozar
Copy link
Member

domenkozar commented Apr 6, 2020

Ouch :) Nice catch, thank you!

@domenkozar
Copy link
Member

Fixed via https://github.com/cachix/cachix-action/releases/tag/v6

WARNING: it's a breaking release, make sure to read changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants