!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

701 Members
Rust157 Servers

Load older messages


SenderMessageTime
7 Nov 2022
@Las:matrix.orgLasThe derivation itself does include the correct `cargoHash`, but for some reason refers to `"cargoDeps": "/nix/store/vbsv2fqfraifyrr41jsp713ndax6kcq5-mullvad-2022.2-vendor.tar.gz"`. Context: I'm trying to use Mullvad 2022.515:39:03
@robin:icewind.nlIcewindputting the hash as an empty string should make it tell you the expected one17:30:33
8 Nov 2022
@Las:matrix.orgLasI found out the issue was that I was using `overrideAttrs`...06:13:53
@steveej0:matrix.orgsteviej joined the room.09:58:41
@steveej0:matrix.orgsteviejhey folks, does anyone know if a derivation produced by crane somehow exposes the list of built binaires?09:59:33
@steveej0:matrix.orgsteviej * hey folks, does anyone know if a derivation produced by crane somehow exposes the list of built binaries?09:59:45
@dpc:matrix.orgdpc
In reply to @steveej0:matrix.org
hey folks, does anyone know if a derivation produced by crane somehow exposes the list of built binaries?
I don't think so, but ask on github. It possibly could.
20:06:22
@dpc:matrix.orgdpc
In reply to @steveej0:matrix.org
hey folks, does anyone know if a derivation produced by crane somehow exposes the list of built binaries?
* I don't think so, but ask on github. It possibly could, as crane is doing some parsing of artifacts that are being built, AFAIR.
20:06:46
9 Nov 2022
@figsoda:matrix.orgfigsoda set a profile picture.03:45:59
@figsoda:matrix.orgfigsoda changed their profile picture.03:47:52
@hexa:lossy.networkhexa joined the room.17:17:51
@hexa:lossy.networkhexanot sure if that came up here, but: https://octodon.social/@fasterthanlime/10931451291866288217:18:06
@charles:computer.surgeryCharles ⚡️this is quite the thread lol18:06:50
@charles:computer.surgeryCharles ⚡️maybe i should set up a... an instance of whatever this is18:07:07
@esperlily:matrix.orgEsperLily [she/her] joined the room.21:04:50
10 Nov 2022
@figsoda:matrix.orgfigsodahttps://github.com/NixOS/nixpkgs/issues/20056317:42:31
@fasterthanlime:matrix.orgfasterthanlime joined the room.17:57:07
@fasterthanlime:matrix.orgfasterthanlime
In reply to @hexa:lossy.network
not sure if that came up here, but: https://octodon.social/@fasterthanlime/109314512918662882
thx for posting this here! I ended up using ipetkov/crane, and.. I guess I'm not using the same rust-toolchain right now, just a recent nightly, so my initial report might still be relevant
18:05:11
@fasterthanlime:matrix.orgfasterthanlime

my rust-toolchain.toml file was just that btw:

[toolchain]
channel = "nightly-2022-11-07"
components = [ "rustfmt", "clippy" ]
18:05:25
@a-kenji:matrix.orga-kenjiI usually use the oxalica overlay for that: https://github.com/oxalica/rust-overlay. But I haven't used crane in a while.18:06:20
@fasterthanlime:matrix.orgfasterthanlimeyup, my current wip flake uses the oxalica rust-overlay in conjunction with crane18:07:58
@a-kenji:matrix.orga-kenjihttps://github.com/zellij-org/zellij/blob/a71b2ae8902d6ec1693f00f136d6b43f4c49db4f/.nix/zellij.nix#L55 Maybe this helps. I provide an overlay for crate2nix and the default builder with the toolchain.18:08:16
@charles:computer.surgeryCharles ⚡️personally i'm a fan of fenix because it's really simple and overlays feel too magic-y for me18:13:40
@charles:computer.surgeryCharles ⚡️ * personally i'm a fan of fenix for the toolchain and naersk for the builder because they're really simple and overlays feel too magic-y for me18:14:09
@charles:computer.surgeryCharles ⚡️i have a cargo-generate project template with those things here: https://or.computer.surgery/charles/nix-rust-quickstart the generated flake is this file: https://or.computer.surgery/charles/nix-rust-quickstart/-/blob/main/flake.gen.nix18:14:44
11 Nov 2022
@Ericson2314:matrix.orgJohn Ericson --emit=link,obj isn't doing anything for me with buildRustCrate 16:22:54
@Ericson2314:matrix.orgJohn EricsonSeems like that is a rustc bug?16:23:06
@markschultz:matrix.orgMark Schultz left the room.19:01:01
13 Nov 2022
@ralith:ralith.comRalithanyone have a shell setup that uses mold as the linker?02:23:46
@a-kenji:matrix.orga-kenji
In reply to @ralith:ralith.com
anyone have a shell setup that uses mold as the linker?
You need https://github.com/NixOS/nixpkgs/pull/172452 for that.
02:28:51

There are no newer messages yet.


Back to Room ListRoom Version: 6