| 17 Apr 2025 |
hexa | can't reproduce with nix-shell -p cargo python3.pkgs.build --run "python3 -m buiild py" | 04:22:07 |
hexa | * can't reproduce with nix-shell -p cargo python3.pkgs.build --run "python3 -m build py" | 04:23:18 |
hexa |
cargo-deps-vendor-staging> Fetching https://crates.io/api/v1/crates/tokio/1.42.0/download -> tarballs/tokio-1.42.0.tar.gz
| 04:25:07 |
hexa | same version of tokio | 04:25:23 |
hexa | because of course it is locked | 04:29:40 |
hexa | a fun bit is that the tag on the repo is not the version of the python package in the repo 🤪 | 04:30:01 |
hexa | https://github.com/getsentry/relay/blob/master/py/setup.py#L23 | 04:30:43 |
hexa | and instead of 25.4.0 we get 0.9.8 | 04:30:49 |
hexa | reminds me of good ol' openssl | 04:30:54 |
hexa | * reminds me of good ol' openssl | 04:30:59 |
hexa | latest version pushed to https://github.com/mweinelt/nixpkgs/blob/sentry/pkgs/development/python-modules/sentry-relay/default.nix | 04:33:05 |
K900 | We don't have a prefetch-cargo-vendor or anything, right? | 09:56:47 |
emily | nix-update can do it | 10:06:47 |
emily | if you tell it not to bump the version | 10:06:52 |
K900 | Hm OK this helps | 10:09:49 |
Gaétan Lepage | How can I pass --target wasm32-wasip1 to buildRustPackage? Is it really falling in the scope of cross-compiling? | 11:07:55 |
Gaétan Lepage | Source: https://github.com/bytecodealliance/wasmtime-py/blob/main/ci/build-rust.py#L22 | 11:08:24 |
Alyssa Ross | You should be able to do it without cross compiling | 11:17:34 |
Alyssa Ross | (in the Nixpkgs sense) | 11:17:39 |
Gaétan Lepage | Ok great! How though? If I add --target wasm32-wasip1 to cargoBuildFlags, it just appends it and I have two --target flags in the final command. | 11:41:31 |
Gaétan Lepage | Is there a way to simply "override" the --target flag? | 11:41:47 |
@aloisw:julia0815.de | There does not appear to, but you can work around by calling cargo with the right flags in stdenv.mkDerivation. | 12:39:16 |
Gaétan Lepage | Ok I see, thanks :) | 13:26:14 |
Gaétan Lepage | Not that easy...
error[E0463]: can't find crate for `core`
|
= note: the `wasm32-wasip1` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-wasip1`
| 14:07:36 |
@aloisw:julia0815.de | Ah shit, wasi may be harder. | 15:58:21 |
Alyssa Ross | yeah wasi will be actual cross | 16:06:29 |
| Sam changed their display name from Sam to Sam (away → 5/5). | 17:17:07 |
| 19 Apr 2025 |
| @hauler:exarius.org joined the room. | 20:24:56 |
| @hauler:exarius.org | 20:26:23 |
@hauler:exarius.org | Redacted or Malformed Event | 20:27:15 |