| 7 Nov 2022 |
Las | The 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.5 | 15:39:03 |
Icewind | putting the hash as an empty string should make it tell you the expected one | 17:30:33 |
| 8 Nov 2022 |
Las | I found out the issue was that I was using `overrideAttrs`... | 06:13:53 |
| steviej joined the room. | 09:58:41 |
steviej | hey folks, does anyone know if a derivation produced by crane somehow exposes the list of built binaires? | 09:59:33 |
steviej | * hey folks, does anyone know if a derivation produced by crane somehow exposes the list of built binaries? | 09:59:45 |
dpc | 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 | 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 set a profile picture. | 03:45:59 |
| figsoda changed their profile picture. | 03:47:52 |
| hexa joined the room. | 17:17:51 |
hexa | not sure if that came up here, but: https://octodon.social/@fasterthanlime/109314512918662882 | 17:18:06 |
Charles ⚡️ | this is quite the thread lol | 18:06:50 |
Charles ⚡️ | maybe i should set up a... an instance of whatever this is | 18:07:07 |
| EsperLily [she/her] joined the room. | 21:04:50 |
| 10 Nov 2022 |
figsoda | https://github.com/NixOS/nixpkgs/issues/200563 | 17:42:31 |
| fasterthanlime joined the room. | 17:57:07 |
fasterthanlime | 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 | my rust-toolchain.toml file was just that btw:
[toolchain]
channel = "nightly-2022-11-07"
components = [ "rustfmt", "clippy" ]
| 18:05:25 |
a-kenji | I 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 | yup, my current wip flake uses the oxalica rust-overlay in conjunction with crane | 18:07:58 |
a-kenji | https://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 ⚡️ | personally i'm a fan of fenix because it's really simple and overlays feel too magic-y for me | 18:13:40 |
Charles ⚡️ | * 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 me | 18:14:09 |
Charles ⚡️ | 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.nix | 18:14:44 |
| 11 Nov 2022 |
John Ericson | --emit=link,obj isn't doing anything for me with buildRustCrate | 16:22:54 |
John Ericson | Seems like that is a rustc bug? | 16:23:06 |
| Mark Schultz left the room. | 19:01:01 |
| 13 Nov 2022 |
Ralith | anyone have a shell setup that uses mold as the linker? | 02:23:46 |
a-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 |