-
Notifications
You must be signed in to change notification settings - Fork 19
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
Building library needs staged Cargo.lock #46
Comments
Yes, this is intended. I would recommend to just commit the I'm not aware of a workaround that would allow the If you don't want to / can't commit the |
I know one: It will make the file known by git but without staging or committing it |
What is this witchery? Works perfectly!
@bew's fix works quite well. I guess this can be closed now. Or should there be some documentation about this? |
Oh wow, TIL. From the man page:
Thanks for that!
Yes, this should be documented. I would appreciate a PR 🙂 We can probably create a "Tips and tricks" or similar section in MANUAL.md, and put it there. |
Contains the tip regarding handling `Cargo.lock` when building a library (see yusdacra#46)
When using this project in a Rust library with flakes, the following error occurs:
This is probably not a problem with nix-cargo-integration, but with the way purity is handled. Is there any workaround other than just staging
Cargo.lock
(and unstaging for every commit)?Thanks for the awesome work!
The text was updated successfully, but these errors were encountered: