solson / rust-nightly-nix

A Nix expression for nightly Rust versions
Apache License 2.0
40 stars 7 forks source link

WIP: Stable support #12

Closed ethanpailes closed 6 years ago

ethanpailes commented 7 years ago

This PR represents my first crack at #11 . At this point it is still in the what-do-you-think-of-this stage. I would like to get feedback on from someone with a higher nix comfort level.

I'm a little worried that running cargo --version returns a version string that says 1.13.0-nightly when I use the current changes to install stable. This also builds on my previous PR, so they should be merged in order (or we should at least be careful about not mangling the git history). If you want I can disentangle the changes.

Ericson2314 commented 7 years ago

Can you redo this with https://github.com/solson/rust-nightly-nix/tree/stable? I took the opportunity to do some refactors I wanted with that WIP.