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

Fix crateOverrides #97

Closed
wants to merge 1 commit into from
Closed

Conversation

alyssais
Copy link
Member

This seems to have been implemented at some time in the past, but got
lost, since the documentation talks about crateOverrides, and the
crateOverrides variable is passed around only for nothing to happen
with it.

This seems to have been implemented at some time in the past, but got
lost, since the documentation talks about crateOverrides, and the
crateOverrides variable is passed around only for nothing to happen
with it.
@kolloch
Copy link
Collaborator

kolloch commented Feb 10, 2020

Funny, I just created #94 :)

@kolloch
Copy link
Collaborator

kolloch commented Feb 10, 2020

The intention was to pass it to buildRustCrate which accepts a crateOverrides. Also see https://github.com/kolloch/crate2nix#patching-crate-derivations-with-crateoverride and https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/rust/default-crate-overrides.nix.

I think that is still a good idea. And this time, we should definitely add an integration test for that.

@kolloch
Copy link
Collaborator

kolloch commented Feb 10, 2020

Oh, I am obviously also happy about README.md corrections and/or issues if something is unclear or wrong.

@kolloch
Copy link
Collaborator

kolloch commented Feb 12, 2020

I'll probably have a go at fixing this. Let me know if you'd rather do it! @alyssais

@kolloch
Copy link
Collaborator

kolloch commented Feb 12, 2020

I looked into it and came up with a fix.

b567d8c
#94

@kolloch kolloch closed 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

Successfully merging this pull request may close these issues.

2 participants