!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

635 Members
Rust147 Servers

Load older messages


SenderMessageTime
21 Oct 2025
@hexa:lossy.networkhexa and --offline is likely going to fail, because it can't fetch? 23:20:44
@hexa:lossy.networkhexa * and --offline is likely going to fail, because it can't fetch 23:20:45
@hexa:lossy.networkhexabut that would imply patching cargo_metadata23:21:22
@hexa:lossy.networkhexa * but that would imply patching cargo\_metadata 23:21:26
@hexa:lossy.networkhexa * but that would imply patching cargo_metadata 23:21:28
22 Oct 2025
@niklaskorz:matrix.orgniklaskorzSeeing what's it used for, i.e., determining the include path inside another crate, it seems easier to just replace the whole detection instead (so just the invocation of that function)06:56:07
@niklaskorz:matrix.orgniklaskorz* Seeing what it's used for, i.e., determining the include path inside another crate, it seems easier to just replace the whole detection instead (so just the invocation of that function)06:56:30
@niklaskorz:matrix.orgniklaskorztesting that now, let's see07:52:35
@niklaskorz:matrix.orgniklaskorzit's still building so I guess that's a good sign08:10:06
@qyliss:fairydust.spaceAlyssa Rossthanks for the ping. I'll look today. Catching up after having been sick.09:30:07
@niklaskorz:matrix.orgniklaskorz * let's give Alyssa Ross some more time to react but otherwise I'd merge it tomorrow 09:30:42
@niklaskorz:matrix.orgniklaskorz hexa: build passing 👀 09:34:58
@niklaskorz:matrix.orgniklaskorzgrafik.png
Download grafik.png
09:35:32
@niklaskorz:matrix.orgniklaskorzsending the diff as a PR review in a moment09:36:07
23 Oct 2025
@niklaskorz:matrix.orgniklaskorz https://nvd.nist.gov/vuln/detail/CVE-2025-62518 22:04:02
@niklaskorz:matrix.orgniklaskorz"tarmageddon"22:04:25
@niklaskorz:matrix.orgniklaskorzDoesn't really seem to be used outside uv fortunately (which was already bumped to the fixed release)22:08:43
@niklaskorz:matrix.orgniklaskorzOh nvm we do have some other affected Rust packages (that don't have a fixed release)22:10:06
@niklaskorz:matrix.orgniklaskorz ripgrep-all at least 22:11:37
@niklaskorz:matrix.orgniklaskorz

This security flaw affects not only projects using async-tar but also tokio-tar, an extremely popular fork with over 7 million downloads on crates.io that has also been abandoned.

22:13:27
@niklaskorz:matrix.orgniklaskorzoh no22:13:29
@benjaminsparks:chat.alugha.appBen Sparkscould this be made into a ZHF sidequest?22:56:17
@hexa:lossy.networkhexayou mean poking upstreams to relock? 😄 22:58:08
@hexa:lossy.networkhexathat's a very exciting idea for a "sidequest"22:58:25
@hexa:lossy.networkhexa* that's a very "exciting" idea for a "sidequest"22:58:40
24 Oct 2025
@benjaminsparks:chat.alugha.appBen Sparks
In reply to @hexa:lossy.network
that's a very exciting idea for a "sidequest"
Well it's that or Cmake 4 :P
11:10:16
@benjaminsparks:chat.alugha.appBen Sparks or we can start now, since niklaskorz was kind enough to make a tracking issue
https://github.com/NixOS/nixpkgs/issues/455265
18:59:31
26 Oct 2025
@sliedes:hacklab.fiSami Liedes

I'm confused. And a Rust (ecosystem) beginner. Is there a way to run cargo udeps on NixOS on a project that uses the stable toolchain? And should I use rustup or not use rustup?

I've been developing with a direnv+flake that does pkgs.rustPlatform.buildRustPackage and for devShells takes inputsFrom that derivation. And setting RUST_SRC_PATH and removing any $HOME/.cargo/bin entries from PATH in my shellHook—not sure if the latter is right or not, and I also don't 100% remember why I've done it, but I would assume any dynamically linked binaries there to rot when the store gets GCd.

For cargo udeps, I'm told I should use cargo +nightly udeps, which tells me to use rustup, so I try rustup run nightly cargo udeps. I suspect that fails because it invokes rustc, expecting it to be the nightly toolchain rustc, or something? It outputs several error: the option Z is only accepted on the nightly compiler.

I noticed there's also a cargo-udeps packaged in nixpkgs (how if it requires nightly??), but nix-shell -p cargo-udeps --command "cargo udeps" outputs the same errors.

15:33:09
@sliedes:hacklab.fiSami Liedes *

I'm confused. And a Rust (ecosystem) beginner. Is there a way to run cargo udeps on NixOS on a project that uses the stable toolchain? And should I use rustup or not use rustup?

I've been developing with a direnv+flake that does pkgs.rustPlatform.buildRustPackage and for devShells takes inputsFrom that derivation. And setting RUST_SRC_PATH and removing any $HOME/.cargo/bin entries from PATH in my shellHook—not sure if the latter is right or not, and I also don't 100% remember why I've done it, but I would assume any dynamically linked binaries there to rot when the store gets GCd.

For cargo udeps, I'm told I should use cargo +nightly udeps, which tells me to use rustup, so I try rustup run nightly cargo udeps. I suspect that fails because it invokes rustc, expecting it to be the nightly toolchain rustc, or something? It outputs several error: the option \Z` is only accepted on the nightly compiler`.

I noticed there's also a cargo-udeps packaged in nixpkgs (how if it requires nightly??), but nix-shell -p cargo-udeps --command "cargo udeps" outputs the same errors.

15:33:34
@sliedes:hacklab.fiSami Liedes *

I'm confused. And a Rust (ecosystem) beginner. Is there a way to run cargo udeps on NixOS on a project that uses the stable toolchain? And should I use rustup or not use rustup?

I've been developing with a direnv+flake that does pkgs.rustPlatform.buildRustPackage and for devShells takes inputsFrom that derivation. And setting RUST_SRC_PATH and removing any $HOME/.cargo/bin entries from PATH in my shellHook—not sure if the latter is right or not, and I also don't 100% remember why I've done it, but I would assume any dynamically linked binaries there to rot when the store gets GCd.

For cargo udeps, I'm told I should use cargo +nightly udeps, which tells me to use rustup, so I try rustup run nightly cargo udeps. I suspect that fails because it invokes rustc, expecting it to be the nightly toolchain rustc, or something? It outputs several error: the option `Z` is only accepted on the nightly compiler.

I noticed there's also a cargo-udeps packaged in nixpkgs (how if it requires nightly??), but nix-shell -p cargo-udeps --command "cargo udeps" outputs the same errors.

15:33:50

Show newer messages


Back to Room ListRoom Version: 6