!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

685 Members
Rust158 Servers

Load older messages


SenderMessageTime
18 Oct 2025
@dawnofmidnight:catgirl.cloud@dawnofmidnight:catgirl.cloud changed their display name from dawnofmidnight to whispers.05:34:39
@paparodeo:matrix.orgreno joined the room.23:00:44
19 Oct 2025
@cashmere:cashmere.rscashmere joined the room.05:22:56
20 Oct 2025
@anders:sorby.xyzAndersSo is anyone else interested in working with getting RedoxOS support and Relibc back into nixpkgs? I have started here, but I run into trouble trying to get nightly rust working (which is necessary atm). What is the recommended way of compiling with nightly rust in nixpkgs? https://github.com/NixOS/nixpkgs/pull/45378608:42:48
@marie:marie.cologneMarie RUSTC_BOOTSTRAP = 1 08:43:21
@marie:marie.cologneMarieyou can't use fenix in nixpkgs08:43:41
@anders:sorby.xyzAndersWhich nightly do you get specifically? I get some macro errors 08:47:09
@marie:marie.cologneMarie none 08:48:10
@marie:marie.cologneMariethere's only stable08:48:15
@marie:marie.cologneMariewhich is 1.89.0 right now08:48:23
@marie:marie.cologneMarieand there's this PR for 1.90.0: https://github.com/NixOS/nixpkgs/pull/45117908:48:56
@anders:sorby.xyzAndersI see. So I have to wait or maybe make a fork that does not need nightly stuff?08:50:12
@marie:marie.cologneMarieyes, ideally would be if it could compile on stable08:50:54
@hexa:lossy.networkhexaRedacted or Malformed Event11:48:51
@anders:sorby.xyzAndersTrying to see if it compiles with 1.90.012:15:57
@anders:sorby.xyzAndersI get the same macro errors as in 1.89.0 12:43:17
@let_rec:floss.uzrec joined the room.13:07:07
@vlmutolo:matrix.orgVince left the room.15:55:08
@anders:sorby.xyzAndersOk, they are still using nightly features. But we can still use my nix build using rust nightly.16:02:40
@k900:0upti.meK900No16:03:31
@k900:0upti.meK900We can't16:03:32
@k900:0upti.meK900We will not allow Rust nightlies in nixpkgs, as that's a maintenance nightmare long term16:03:46
@anders:sorby.xyzAnders I mean just to compile it outside nixpkgs. It is a flake. 16:05:29
@anders:sorby.xyzAndershttps://github.com/Anderssorby/relibc/blob/add-nix-build/flake.nix16:06:18
@k900:0upti.meK900Outside of nixpkgs you can do whatever you want yeah16:10:13
@hexa:lossy.networkhexa curious case of cargo metadata call of a libraries build.rs erroring out due to a missing optional dependency (libz-rs-sys) when libz-sys has been chosen instead by the lockfile of the application 20:01:24
@hexa:lossy.networkhexaugh, I'm rewriting that20:01:49
@hexa:lossy.networkhexa * I have a curious case where a library's build.rs calls cargo metadata and fails because an optional dependency (libz-rs-sys) is missing. 20:02:41
@hexa:lossy.networkhexa * Servo has locked libz-sys instead, which is an alternative to libz-rs-sys and that has been correctly vendored. 20:03:02
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/45395720:03:22

Show newer messages


Back to Room ListRoom Version: 6