!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

710 Members
Rust162 Servers

Load older messages


SenderMessageTime
19 Oct 2022
@aktaboot:tchncs.deaktabootbut I got a download error16:45:30
@charles:computer.surgeryCharles ⚡️https://or.computer.surgery/charles/nur/-/blob/main/flakes/conduit/flake.nix here's an example of a remote repo flake build I have that works16:45:50
@charles:computer.surgeryCharles ⚡️I'm seriously confused why what you have isn't working16:46:16
@aktaboot:tchncs.deaktabootclipboard.png
Download clipboard.png
16:46:36
@charles:computer.surgeryCharles ⚡️Hmm what if you try that request manually16:47:13
@aktaboot:tchncs.deaktaboot I think with toolchain = fenix.packages.${system}.stable.toolchain; it should work but I got this unfortunate 16:47:17
@aktaboot:tchncs.deaktabootyeah the request works16:47:44
@charles:computer.surgeryCharles ⚡️Bizarre16:47:52
@aktaboot:tchncs.deaktabootseems to be going through a proxy ??16:47:55
@aktaboot:tchncs.deaktabootmaybe just bad connectoin16:50:05
@aktaboot:tchncs.deaktaboot* maybe just bad connection16:50:07
@aktaboot:tchncs.deaktabootyeah it seems to be working better now16:53:09
@aktaboot:tchncs.deaktabootmy pc is frying which is a good sign :D16:53:18
@charles:computer.surgeryCharles ⚡️
In reply to @aktaboot:tchncs.de
my pc is frying which is a good sign :D
Nice lol
16:55:25
@aktaboot:tchncs.deaktabootseems to be working,17:38:42
@aktaboot:tchncs.deaktabootwhole reason I was using fenix is to get access to rustc nightly builds, which I ain't sure how to do17:38:50
@aktaboot:tchncs.deaktabootdo I build rustc from source as a flake input or somthing ? It has to be more cursed than that, no ?17:40:00
@a-kenji:matrix.orga-kenji
In reply to @aktaboot:tchncs.de
do I build rustc from source as a flake input or somthing ? It has to be more cursed than that, no ?
I haven't used fenix in forever, but I think you would specify it once you fetched the overlay, either through the overlay or through the packages. For example in the oxalica/rust-overlay you would do something like this: (pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default)) ]}
17:44:24
@aktaboot:tchncs.deaktabootso with oxalica I don't need fenix to use the nightly binary, right ?17:47:01
@a-kenji:matrix.orga-kenji Yes, they would be independent. 17:47:14
@aktaboot:tchncs.deaktabootoh you mean I have to do the same/equivalent overlay but with fenix17:47:38
@a-kenji:matrix.orga-kenji It also seems that fenix either doesn't have nightly toolchains, or forgot to add it to the documentation: https://github.com/nix-community/fenix#usage 17:47:41
@aktaboot:tchncs.deaktabootI don't know I asked about how to use the nightly toolchain, and I got suggested to use fenix17:48:20
@aktaboot:tchncs.deaktabootso I blindly followed :D17:48:30
@a-kenji:matrix.orga-kenjiMaybe it's just not in the documentation then :D.17:49:00
@charles:computer.surgeryCharles ⚡️Uh what, Fenix has nightly17:53:30
@a-kenji:matrix.orga-kenji This is how I usually use the oxalica overlay: overlays = [ (import rust-overlay) ];, then you can use the snippet I copied earlier directly. 17:49:52
@aktaboot:tchncs.deaktabootyeah17:53:45
@aktaboot:tchncs.deaktabootI'm figuring out17:53:51
@charles:computer.surgeryCharles ⚡️It just calls it "latest", "complete", and "minimal"17:53:55

Show newer messages


Back to Room ListRoom Version: 6