Sender | Message | Time |
---|---|---|
24 Dec 2024 | ||
522 | it's literally just unsafeWindow.document.location.href = 'https://wiki.nixos.org' + unsafeWindow.document.location.href.replace(/^http?s:\/\/nixos\.wiki/, '') set to run on nixos.wiki pages | 23:29:59 |
25 Dec 2024 | ||
olivia left the room. | 00:22:16 | |
Tanja (she/her) changed their display name from Tanja (she/her) to Tanja (she/her) [DECT 6929]. | 14:47:56 | |
26 Dec 2024 | ||
@10leej:matrix.org joined the room. | 01:41:12 | |
@10leej:matrix.org left the room. | 01:41:57 | |
pim joined the room. | 09:48:09 | |
pim | Hi folks, I want to experiment with eBPF on NixOS and I noticed bpfman does what I want to do. The project is written in Rust but not yet packaged in Nix, so I am taking a stab at it. However, I am encountering an issue with a dependency:
| 11:19:29 |
pim | So I figure it's complaining about https://github.com/aya-rs/rustc-llvm-proxy/blob/main/Cargo.toml | 11:20:40 |
pim | Does anybody have any pointers? | 11:21:52 |
Icewind | Doing a basic buildRustPackage just seems to work: https://bin.icewind.me/p/6q7tK8.nix | 13:20:28 |
pim | I think you forgot to replace the repo in your pastebin with bpfman | 16:12:12 |
pim | I'm also using a basic buildRustPackage , I'll paste my definition in this thread | 16:13:36 |
pim |
| 16:13:47 |
pim | *
| 16:14:10 |
Icewind | In reply to @pim:envs.netyou're right, but I did prefetch the correct hash so the package is still correct | 16:31:43 |
Icewind | did you by any chance forget to update the hash? there is no reference to llvm-proxy in the projects cargo.lock | 16:33:26 |
pim | Omg you're right 😅 I was expecting it to complain about a hash clash but of course it doesn't. Thanks! | 17:16:33 |
Denis Natusch joined the room. | 22:20:54 | |
27 Dec 2024 | ||
rhelmot joined the room. | 00:55:15 | |
rhelmot | I opened https://github.com/rust-lang/rust/issues/134811 against rustc while trying to debug https://github.com/NixOS/nixpkgs/pull/356769 if anyone here wants to save the rust people some pain | 00:55:39 |
rhelmot | (x-post from the nix cross compiling channel) | 00:55:54 |
raitobezarius changed their display name from raitobezarius to raitobezarius (DECT: 3538 / EPVPN 2681). | 07:32:40 | |
tilpner changed their display name from tilpner to tilpner (38c3 3209). | 09:41:08 | |
28 Dec 2024 | ||
@dmoonfire:matrix.org left the room. | 06:13:52 | |
siraben left the room. | 06:19:59 | |
@ronnypfannschmidt:matrix.org left the room. | 17:57:41 | |
29 Dec 2024 | ||
Luke | This has probably been asked before, but what is the right way to use a nightly toolchain with crane? I don't see it from a cursory search | 01:31:24 |
Luke | Do I need to override the toolchain that crane.mkLib pkgs uses? | 01:35:06 |
Icewind | In reply to @luke:vuksta.com (crane.mkLib pkgs).overrideToolchain (pkgs: ...) should do it. | 02:53:04 |
Luke | Yeah, I did try this but hit a problem finding the rust-bin package, which is what I think needs to be overwritten? I haven't touched rust in a minute... | 06:31:13 |