!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

474 Members
Rust115 Servers

Load older messages


SenderMessageTime
27 Sep 2024
@phanirithvij:matrix.orgloudgolem changed their profile picture.14:38:30
@diniamo:matrix.orgdiniamo
  1. fetchCargoDeps doesn't exist
  2. Assuming you meant fetchCargoTarball, that fails with an error saying it doesn't support git deps
  3. importCargoLock fails with the same error as if I didnt do anything (something about cargo not being able to create a directory in some random place)
17:42:16
@pederbs:pvv.ntnu.nopbsds joined the room.19:50:08
30 Sep 2024
@memoryfragmentation:matrix.orgzimward joined the room.00:54:03
@humaidq:matrix.orgHumaid changed their display name from Humaid Alqasimi to Humaid.02:56:34
@glepage:matrix.orgGaétan LepageRedacted or Malformed Event06:26:36
@ahamon:matrix.orgAndy HamonRedacted or Malformed Event20:11:26
1 Oct 2024
@-_o:matrix.org-_o joined the room.21:02:29
4 Oct 2024
@terrorjack:matrix.terrorjack.comterrorjack joined the room.17:41:14
@ryoschin:matrix.org@ryoschin:matrix.org left the room.22:04:22
6 Oct 2024
@nikolay:matrix.orgNikolay Kolev changed their profile picture.00:17:26
7 Oct 2024
@lehmanator:tchncs.deSam Lehman changed their profile picture.14:24:53
8 Oct 2024
@frederic:scs.ems.hostFrédéric Christ joined the room.07:50:23
@schuelermine:matrix.orgschuelermine changed their profile picture.16:33:40
@benjamin:computer.surgerybenjaminis there a preferred way to package rust binaries that are distribute as an example rather than an actual binary crate20:06:24
@benjamin:computer.surgerybenjamin I see one case in nixpkgs where they do cargoBuildFlags = "--example ..." and then copy it manually in postInstall 20:07:07
9 Oct 2024
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯

(formatjson5, I assume…)
Complain to upstream that they should make a separate bin package if the example is useful beyond people trying to understand the library.

00:01:05
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯(Patching Cargo.toml might also work, but meh.)00:01:44
@benjamin:computer.surgerybenjaminhaha yeah formatjson5 is the one I found01:11:16
@schuelermine:matrix.orgschuelermine changed their profile picture.23:47:16
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯ patching script interpreter paths in /nix/store/…-rustc-1.80.1-doc Why do you take like 3 minutes… :/ 23:50:49
10 Oct 2024
@dacid44:matrix.orgdacid44 joined the room.00:39:49
@dacid44:matrix.orgdacid44

I have a project that uses pipewire-rs. When I build it in my normal system, it works fine. However, when I build it inside a nix-shell, it says:

target/release/sonusmix: error while loading shared libraries: libpipewire-0.3.so.0: cannot open shared object file: No such file or directory

this happens whether I run the resulting binary inside or outside of the nix-shell. I'd really like to fix this so that I can do reproducible builds using nix. Any ideas?

00:41:12
@p4cmanus3r:matrix.orgp4cmanus3r joined the room.13:24:22
11 Oct 2024
@rosscomputerguy:matrix.orgTristan Rosshttps://github.com/NixOS/nixpkgs/issues/303796 combing through llvm issues, a rust one came up that having rust maintainers look into too would be good.01:47:59
12 Oct 2024
@abose:matrix.orgcatch22can someone share a flake for doing rust dev with rust-rover02:33:27
@artturin:matrix.orgArtturin
In reply to @abose:matrix.org
can someone share a flake for doing rust dev with rust-rover

Maybe you can find something in
https://github.com/search?q=Lang%3Anix+NOT+is%3Afork+rust-rover+path%3A%2Fflake.nix%2F&type=code

Or
https://github.com/search?q=Lang%3Anix+NOT+is%3Afork+rust-rover&type=code

02:36:14
@abose:matrix.orgcatch22neat trick, I'll go searching02:38:49
@artturin:matrix.orgArtturin
In reply to @abose:matrix.org
neat trick, I'll go searching
Yep, also supports regex.
03:01:16
@ralith:ralith.comRalith what's "my normal system"? what's ldd target/release/sonusmix say? 18:49:08

Show newer messages


Back to Room ListRoom Version: 6