pie_ changed the topic of #nixos-rust to: buildRustPackage is wrong. | the ops are those who op those who donut op themselves
cole-h has quit [Ping timeout: 252 seconds]
cole-h has joined #nixos-rust
cole-h has quit [Ping timeout: 240 seconds]
<evils> is there a way to get an embedded toolchain via nix? (currently using rustup for thumbv6m-none-eabi)
<pie_> i havent touched the stuff in a while but with the mozilla overlay i think you could specify the desired targets? the thing is i havent looked at it for a while and at the time i think xargo hadnt been integrated yet so you could only get the standard ttargets
<pie_> evils: anyway id like to know so tell me if you find anythig
<evils> trying the overlay, still building, but saw `https://static.rust-lang.org/dist/2021-05-06/rust-std-1.52.0-thumbv6m-none-eabi.tar.xz` in there
<evils> pie_: this seems to work, will commit and publish my shell.nix soon
<evils> sigh, i've got less and less excuse to tinker with the toolchain instead of actually learning Rust xD
<evils> pie_: for completeness, the overlay part of that shell.nix is based on the one shown here https://github.com/mozilla/nixpkgs-mozilla/issues/223
<evils> different Rust question, the nixpkgs manual says upstream should include the Cargo.lock file, and i get why we need one; but the cargo book chapter linked to explicitly recommends .gitignoring it for libraries
<evils> is manually generating a Cargo.lock and patching it in the recommended approach for libraries?
cole-h has joined #nixos-rust