pie_ changed the topic of #nixos-rust to: buildRustPackage is wrong. | the ops are those who op those who donut op themselves
drakonis- has joined #nixos-rust
drakonis has quit [Quit: WeeChat 2.9]
drakonis has joined #nixos-rust
drakonis- has quit [Client Quit]
drakonis- has joined #nixos-rust
drakonis has quit [Client Quit]
drakonis- is now known as drakonis
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-rust
evils has joined #nixos-rust
<evils> hi, i'm interested in learning Rust, can someone recommend a shell.nix that'll get me tools i'll need?
cole-h has quit [Quit: Goodbye]
<colemickens> it pulls in beta rust from mozilla's overlay, and it includes the stuff needed to make rust-analyzer work in vscodium (though I in fact use this shell.nix to then run `cargo xtask install` from a rust-analyzer checkout to install rust-analyzer)
<colemickens> evils: ^
<evils> colemickens: thanks, building now, i assume it's ok to replace that ../../nixpkgs/cmpkgs with <nixpkgs>
drakonis1 has joined #nixos-rust
<colemickens> you got it
<evils> ok, and that magically resolves the linking with 'cc failed' error i was getting
<evils> `linking with 'cc' failed`
<evils> colemickens: a few questions, how much of this do i actually need? (right now i'm trying to learn rust, eventual goal is writing keyboard firmware); is using the beta rust channel recommended?; how do i add a shell hook to that?
<colemickens> I don't know about shell hooks, sorry. You don't need the rust channel, you probably don't need the mozilla overlay even.
<colemickens> It's definitely not minimal, just something I knew works enough to get you started/unblocked.
<evils> ok, seems like you can just add a `shellHook` to mkDerivation and it'll work the same
<evils> ah darn, it's the shellHook messing things up...
<evils> this isn't even the first time that happened to me...
drakonis1 has quit [Quit: WeeChat 2.9]
evils has quit [Read error: Connection reset by peer]
evils has joined #nixos-rust