-
-
Notifications
You must be signed in to change notification settings - Fork 163
use crate2nix #499
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
use crate2nix #499
Conversation
It seems like the latest crate2nix depends on some changes to the rust infrastructure in nixpkgs. error: cannot coerce null to a string, at pkgs/build-support/rust/build-rust-crate/configure-crate.nix:33:4
Crate2nix hasn't been added to nixpkgs yet so it needs to be pulled in separately.
Yeah, but this is how it was before. Doesn't it make sense to ensure everything actually builds before updating? |
I would argue it is time to fix that nix-shell shebang to contain the build
dependencies.
…On Sun, May 24, 2020, 2:41 PM Daiderd Jordan ***@***.***> wrote:
Yeah, but this is how it was before. Doesn't it make sense to ensure
everything actually builds before updating?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#499 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE365FQF2CDCZAWTCVQ3PTRTEIWHANCNFSM4NI3EFKA>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+5,293 −7,724
Nice! LGTM. Hopefully this requires less patching than Carnix did ;)
This works with --pure now so it doesn't depend on having anything installed outside of the nix-shell shebang anymore.
We've run into various issues with carnix, some have been patched already but I'm not sure how to fix other issues like #498. Crate2nix seems to handle all of the cases we have ran into so far.