!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

709 Members
Rust162 Servers

Load older messages


SenderMessageTime
19 Oct 2022
@charles:computer.surgeryCharles ⚡️but i don't know if that makes a difference16:35:53
@charles:computer.surgeryCharles ⚡️i would expect stdenv to be provided by buildRustPackage16:36:03
@aktaboot:tchncs.deaktabootclipboard.png
Download clipboard.png
16:37:22
@aktaboot:tchncs.deaktaboot🤔16:37:23
@aktaboot:tchncs.deaktabootmaybe it's because i dont have fenix installed16:38:25
@aktaboot:tchncs.deaktabootbut i doubt it16:38:28
@charles:computer.surgeryCharles ⚡️https://or.computer.surgery/charles/nix-rust-quickstart/-/blob/243b1e28921eab818ae288274a4f58e6ce167899/flake.gen.nix this is what i've been using for buildRustPackage16:38:36
@charles:computer.surgeryCharles ⚡️i just recently switched to naersk because it's more ergonomic if you have git dependencies16:38:54
@charles:computer.surgeryCharles ⚡️
In reply to @aktaboot:tchncs.de
maybe it's because i dont have fenix installed
i don't think this is a question that makes any sense; you're just supposed to have it as a flake input
16:39:32
@aktaboot:tchncs.deaktabootyeah I mean this is not my system's flake16:39:52
@aktaboot:tchncs.deaktabootit's just this build's flake16:41:38
@aktaboot:tchncs.deaktabootwhich shouldn't make any difference16:42:06
@charles:computer.surgeryCharles ⚡️ Also unrelated, but instead of fetchfromgithub you can use it as a flake input and set flake = false 16:42:39
@charles:computer.surgeryCharles ⚡️ Then src = "${upstream}"; assuming that's what you named the input 16:43:24
@aktaboot:tchncs.deaktabootI'm very new to flaking, just trying to make things work :D16:44:06
@aktaboot:tchncs.deaktabootokay I see what you mean16:44:33
@charles:computer.surgeryCharles ⚡️
In reply to @charles:computer.surgery
i don't think that trailing .toolchain is supposed to be there
Did you try this adjustment?
16:44:36
@aktaboot:tchncs.deaktabootyes it gave me the error above16:45:12
@charles:computer.surgeryCharles ⚡️Oh hmm16:45:19
@aktaboot:tchncs.deaktabootI tried stable.toolchain which seemed to be working16:45:22
@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

Show newer messages


Back to Room ListRoom Version: 6