-
Notifications
You must be signed in to change notification settings - Fork 48
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
Fixes #94: do not include config file in nix database. #96
Conversation
d485a67
to
75a5c52
Compare
I noticed the the
|
5fa286e
to
d554a88
Compare
`closureGraph` is extended to ignore all paths passed in the new ignore arguement. The resulting graph is both passed to nix2container-bin and makeNixDatabase -- ensuring that both contain the same paths. makeNixDatabase is rewritten, such that it always expects a closureGraphJson as arguement but does not include it in the database. The `--ignore` flag of the nix2container-bin is not used anymore. nlewo#94
6ecbcc7
to
3e3bb62
Compare
Sorting inputs, redumping DB
3e3bb62
to
6661b56
Compare
6661b56
to
60ce8c1
Compare
Hi @nlewo, I extended this quite a lot:
Question: Not sure if I need to handle Now my test case works reliably with If that isn't ironic! |
Thanks @kolloch This LGTM (but i'm not 100% confident since these parts are not really we tested...).
It means there are still some data that are not reproducible. BTW, these changes improve the current state. So, even if they are not perfect yet, we can merge them. |
Hi @nlewo, thanks for the merge! I tested so many things, I am also confused ;) I am not at my work machine right now where I reproduced the error last. I tried to reproduce it on an Ubuntu WM and couldn't anymore. Maybe it is good now? According to my notes, this should have reproduced the error:
in https://gitlab.com/nexxiot-labs/nix2container-checksum But for me it just works now. Did we fix it completely by accident? Or was there some weird store path thing on my work machine? I don't know... |
closureGraph
is extended with an ignore argument which will filter out the config file when needed.The resulting graph is both passed to nix2container-bin and makeNixDatabase -- ensuring that both contain the same paths.
The
--ignore
flag of the nix2container-bin is not used anymore.#94