Nix Rust | 700 Members | |
| Rust | 158 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 May 2025 | ||
In reply to @niklaskorz:matrix.orgI think I found that it wasn't actually applying the patch that broke it, but adding the ebpf target | 22:12:45 | |
In reply to @qyliss:fairydust.spaceYeah I have a suspicion, commented it on the issue | 23:30:21 | |
| Basically it's installing the docs once for each target | 23:30:31 | |
| And each time removes the previous targets docs | 23:30:44 | |
| So the last target to be installed (bpf) is whose docs end up in the output | 23:31:02 | |
| 11 May 2025 | ||
| Created an upstream issue: https://github.com/rust-lang/rust/issues/140922 | 11:11:29 | |
| Hey folks, can someone advise me how to use the openblas-static feature of ndarray-linalg with crane? It is pretty obvious that it is unable to download the tarball needed during build, due to network sandboxing... I don't understand how to fix this though? Do I need to add the tarball to the flake dependencies? How would I provide it to the rust crate if that is the case? | 19:52:48 | |
| For a bit more context, in my Cargo.toml I have
| 19:55:39 | |
| 12 May 2025 | ||
| https://github.com/blas-lapack-rs/openblas-src/blob/04e9b023423744d24693458dfd0bc37d377a6f18/openblas-src/build.rs#L183 don't know what mechanism crane has for editing source files, but you may need to look into the code above and figure out a way to make the code above use a FOD created by fetchurl or fetchFromGitHub. One idea would be to populate the directory where it would cache the download. | 00:10:48 | |
| * https://github.com/blas-lapack-rs/openblas-src/blob/04e9b023423744d24693458dfd0bc37d377a6f18/openblas-src/build.rs#L183 I don't know what mechanism crane has for editing vendored source files, but you may need to look into the code above and figure out a way to use a FOD created by fetchurl or fetchFromGitHub instead f trying to download the project during build time. One idea would be to populate the directory where it would cache the download. | 00:17:38 | |
| 15:04:40 | ||
| 15:08:18 | ||
| 15:09:36 | ||
| 18:19:07 | ||
| 13 May 2025 | ||
| 13:52:21 | ||
| 16:09:20 | ||
| 14 May 2025 | ||
| 04:09:59 | ||
| 05:01:40 | ||
| vcunat: are you familiar with pgrx? i see you made a commit on it in nixpkgs, and i'm having trouble with it | 05:09:15 | |
| No. I don't even recall what it is. | 05:09:56 | |
| ah, dang | 05:10:03 | |
| https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/rust/cargo-pgrx/buildPgrxExtension.nix is the file in question | 05:10:42 | |
| its some kind of framework for writing postgres extensions in rust | 05:10:57 | |
but its being dumb, and trying to copy files to the extensions/ subdir of the postgres derivation | 05:11:14 | |
| I don't think I really touched the file, at a quick glance in the git log. | 05:12:12 | |
| * I don't think I've really touched the file, at a quick glance in the git log. | 05:12:18 | |
| It shows just a merge of staging-next to master. | 05:12:32 | |
the git blame only shows you editing the line dealing with .pg_config output on postgres itself | 05:12:42 | |
| ah, maybe git blame is also blaming merge commits, rather then the commit your merging | 05:13:02 | |
aha, doCheck=false; fixes it | 05:36:11 | |