!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

474 Members
Rust115 Servers

Load older messages


SenderMessageTime
30 Aug 2024
@marijan:matrix.orgmarijan Do I understand correctly that cargoSetupPostUnpackHook will create a cargo-vendor-dir in the crates source directory?
I don't think your latter suggestion works as golem-wasm-ast is only used to find the package by name
14:22:48
@marijan:matrix.orgmarijan * Do I understand correctly that cargoSetupPostUnpackHook will create a cargo-vendor-dir in the crates source directory?
I don't think your latter suggestion works as the string "golem-wasm-ast" is only used to find the package by name
14:23:08
@marijan:matrix.orgmarijan When I use cntr I can also see that there is obviously no cargo-vendor-dir/cargo-vendor-dir 14:24:00
@geekio:sibnsk.netIlya Ovsyannikov joined the room.15:59:02
@zmitchell:matrix.orgzmitchell set a profile picture.22:09:29
31 Aug 2024
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯I think I know part of the cause: I have rust-analyzer on path twice, one because I have it in my user packages, and once from a devShell.04:54:47
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯ * I think I know part of the cause: I have rust-analyzer on path twice, one because I have it in my ~~user packages~~ home-manager.user.….programs.helix.extraPackages, and once from a devShell. 05:54:06
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯ * I think I know part of the cause: I have rust-analyzer on path twice, one because I have it in my user packages home-manager.user.….programs.helix.extraPackages, and once from a devShell. 05:54:20
@devurandom:matrix.orgDennis joined the room.08:09:13
@vedantmgoyal:beeper.comVedant joined the room.19:07:34
1 Sep 2024
@ultranix:matrix.orgultranix joined the room.15:28:31
@niklaskorz:korz.devNiklas Korz joined the room.18:24:13
@marijan:matrix.orgmarijan ghpzin: ? 18:53:24
@zzantares:matrix.org@zzantares:matrix.org removed their display name Hamlet'sPiedPlumber.19:19:24
@zzantares:matrix.org@zzantares:matrix.org left the room.19:19:41
2 Sep 2024
@9hp71n:matrix.orgghpzin marijan: threads are pretty buggy, so I can't see your mentions half the time.
I checked again and even that thing with referring to crates vendor dir probably won't work
At least it won't work referring to it as store path, because they are bundled in store as .tar
06:21:46
@9hp71n:matrix.orgghpzin * marijan: threads are pretty buggy, so I can't see your mentions half the time.
I checked again and even that thing with referring to crates vendor dir probably won't work
At least it won't work referring to it as store path, because they are bundled in store as .tar
I am out of ideas, unless somebody else knows how it can be done.
06:22:20
@kranzes:matrix.orgIlan Joselevich (Kranzes) Has anyone managed to get the wild linker working in a devshell? I am struggling with using it with clang, because our clang is wrapped with a bunch of flags cause conflicts, and the unwrapped one is missing some libraries. https://github.com/davidlattimore/wild/?tab=readme-ov-file#linking-rust-code 15:58:24
3 Sep 2024
@ultranix:matrix.orgultranixI guess crate2nix wont be able to build with something like this https://github.com/paritytech/polkadot-sdk/blob/master/substrate/utils/wasm-builder/src/builder.rs#L54 that reaches out to the root workspace manifest right? https://github.com/nix-community/crate2nix/commit/14d9c68123ae2d7ee94f91da28f3bf278c5cff0b13:42:59
@k900:0upti.meK900 @Alyssa Ross the warnings in https://github.com/NixOS/nixpkgs/pull/339072 are busted 14:02:05
@k900:0upti.meK900 error: cannot coerce a list to a string: [ "rustcTarget" ] 14:02:22
@qyliss:fairydust.spaceAlyssa Rossoh :(14:03:11
@k900:0upti.meK900OK I think it's an easy fix at least14:04:38
@k900:0upti.meK900 Just need to throw a showAttrPath on there 14:04:47
@qyliss:fairydust.spaceAlyssa RossYeah14:04:50
@qyliss:fairydust.spaceAlyssa RossCommented version must have predated them being nested14:05:02
@qyliss:fairydust.spaceAlyssa Ross

I didn't know showAttrPath

14:05:18
@qyliss:fairydust.spaceAlyssa RossAre you fixing it or should I?14:05:36
@k900:0upti.meK900Just did14:06:07
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/pull/33925314:06:07

Show newer messages


Back to Room ListRoom Version: 6