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

Verify/Fix defaultCrateOverrides argument in the Cargo.nix build file #94

Closed
2 tasks
kolloch opened this issue Feb 10, 2020 · 0 comments
Closed
2 tasks
Assignees

Comments

@kolloch
Copy link
Collaborator

kolloch commented Feb 10, 2020

The README contains an example of how to override the defaultCrateOverrides which allows customizing the buildRustCrate parameters of individual crates: https://github.com/kolloch/crate2nix#patching-crate-derivations-with-crateoverride

There is also a build file argument defaultCrateOverrides which should set the default for the whole file.

  • Create a test case that it actually works. Probably by adding a sample_project and use in in ./tests.nix. You will need a test with a customBuild.
  • If it doesn't work, fix it.
@kolloch kolloch self-assigned this Feb 12, 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

1 participant