pie_ changed the topic of #nixos-rust to: buildRustPackage is wrong. | the ops are those who op those who donut op themselves
evanjs has quit [Ping timeout: 272 seconds]
evanjs has joined #nixos-rust
braunse has joined #nixos-rust
braunse_ has quit [Ping timeout: 272 seconds]
<ekleog> hmm… how do I get `nix-shell --pure --run 'cargo build'` to work? looks like it's failing something with SSL when downloading crates, and `--keep SSL_CERT_FILE --keep SSL_CERT_PATH` doesn't help :/
<pie_> ekleog: have you tried adding cacert
<pie_> that seems to be one of the typical nix related ssl problems solvers
<ekleog> Looks like it works indeed! Thank you, had been a long time since I last had that issue :)
<pie_> \o/
evanjs has quit [Ping timeout: 264 seconds]
drakonis has quit [Quit: WeeChat 2.8]
drakonis has joined #nixos-rust
drakonis has quit [Client Quit]
drakonis has joined #nixos-rust
drakonis has quit [Client Quit]
cole-h has quit [Quit: Goodbye]
<ekleog> hmm… looks like in CI in a nix-shell --pure --run, cargo fmt -- --version uses a -stable, while locally in the same pure nix-shell it uses a -nightly? (I'm using the nixpkgs mozilla overlay)
<ekleog> nix-instantiate on the shell.nix is the same in the two cases
<ekleog> (one strace later) looks like github actions have a rustup-installed rustfmt, and when one is present cargo will prefer it to the one in path
<ekleog> In case people are interested about it: https://github.com/rust-lang/cargo/issues/8225
evanjs has joined #nixos-rust
cole-h has joined #nixos-rust
drakonis has joined #nixos-rust