!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

697 Members
Rust156 Servers

Load older messages


SenderMessageTime
28 Feb 2025
@kranzes:matrix.orgIlan Joselevich (Kranzes)IFD is good Nix just doesn't do it correctly11:19:38
@glepage:matrix.orgGaétan Lepage

Hi,
I have a linker issue on ARM:

error: linker `aarch64-linux-gnu-gcc` not found
  |
  = note: No such file or directory (os error 2)
22:32:13
@glepage:matrix.orgGaétan Lepage It's ast-grep 22:32:40
@glepage:matrix.orgGaétan Lepage Looks like delting .cargo/config.toml looks like the encouraged solution. 22:41:54
@glepage:matrix.orgGaétan Lepage * Looks like deelting .cargo/config.toml looks like the encouraged solution. 22:42:06
@glepage:matrix.orgGaétan Lepage * Looks like deleting .cargo/config.toml looks like the encouraged solution. 22:42:19
1 Mar 2025
@melusine:wired.rehabMélusine joined the room.00:26:58
@achnazoor:matrix.org@achnazoor:matrix.org left the room.12:44:15
@fxomt:tchncs.de@fxomt:tchncs.de joined the room.17:10:00
@rosssmyth:matrix.orgrosssmythbuildRustPackage has finalAttrs now. I'm happy.22:59:22
2 Mar 2025
@antifuchs:asf.computerantifuchsHelllll yeah01:05:41
4 Mar 2025
@novedevo:matrix.orgDevon joined the room.00:01:50
6 Mar 2025
@alarsyo:alarsyo.netalarsyo joined the room.02:33:18
@thomasjm:matrix.orgthomasjm joined the room.02:48:16
@thomasjm:matrix.orgthomasjm hi all, does anyone know when Rust >= 1.85 will be available in Nixpkgs? i'd like to package something that uses edition2024... 02:50:50
@emilazy:matrix.orgemilya week or two03:45:46
@qyliss:fairydust.spaceAlyssa RossYou can already package whatever it is on staging-next08:36:37
@thomasjm:matrix.orgthomasjmthanks!10:01:52
7 Mar 2025
@adam_neverwas:matrix.orgAdam Neverwas joined the room.15:48:59
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to qyriad.16:46:04
@tomasajt:matrix.orgToma
In reply to @rosssmyth:matrix.org
buildRustPackage has finalAttrs now. I'm happy.
To clarify, currently buildRustPackage's attr construction function doesn't actually utilize the finalAttrs part yet, so e.g. if you override cargoHash it wont actually get changed inside the FOD.
So ATM it's just the plain old logic + support for usage of the finalAttrs pattern by consumers (which is still great)
19:19:18
@k900:0upti.meK900<bait>can we just disable fat lto globally</bait>19:28:37
@k900:0upti.meK900(this message is brought to you by uv taking 30 minutes and 10GB of RAM to build with fatlto)19:49:51
@charles:computer.surgeryCharles
In reply to @k900:0upti.me
can we just disable fat lto globally
think of the children
19:58:49
@antifuchs:asf.computerantifuchswho would want to put a 40-year-old file system on tapes...20:45:25
8 Mar 2025
@antrz:matrix.organtrz set a profile picture.19:06:45
@qyriad:katesiria.orgQyriad changed their display name from qyriad to Qyriad.21:41:03
9 Mar 2025
@andrew15_5:matrix.orgAndrew joined the room.15:32:07
@andrew15_5:matrix.orgAndrew

I have this:

  home-manager.users.${user} = {
    home.packages = with pkgs; [
      (fenix.stable.withComponents [
        "cargo"
        "clippy"
        "rust-src"
        "rustc"
        "rustfmt"
      ])
      fenix.targets.wasm32-wasip1.latest.rust-std
      fenix.targets.wasm32-wasip2.latest.rust-std
      fenix.targets.wasm32-unknown-unknown.latest.rust-std
      rust-analyzer-nightly
      cargo-expand
      pkg-config
    ];

But cargo build still doesn't see any of the wasm targets installed. I used the overlay usage approach.

15:34:08
@andrew15_5:matrix.orgAndrew *

I have this:

  nixpkgs.overlays = [inputs.fenix.overlays.default];
  home-manager.users.${user} = {
    home.packages = with pkgs; [
      (fenix.stable.withComponents [
        "cargo"
        "clippy"
        "rust-src"
        "rustc"
        "rustfmt"
      ])
      fenix.targets.wasm32-wasip1.latest.rust-std
      fenix.targets.wasm32-wasip2.latest.rust-std
      fenix.targets.wasm32-unknown-unknown.latest.rust-std
      rust-analyzer-nightly
      cargo-expand
      pkg-config
    ];

But cargo build still doesn't see any of the wasm targets installed. I used the overlay usage approach.

15:34:33

Show newer messages


Back to Room ListRoom Version: 6