| 13 Jul 2025 |
QuadRadical (Ping) | its no longer in my history now | 21:34:40 |
QuadRadical (Ping) | vscode terminal history is too short :// | 21:34:46 |
QuadRadical (Ping) | really need to up that | 21:34:52 |
emily | well, you can check. nix build /nix/store/khdhxs9anfkdv8wn58gx04mmk0yk970d-thin-provisioning-tools-aarch64-unknown-linux-gnu-1.2.0.drv'^*' | 21:34:58 |
QuadRadical (Ping) | empty | 21:35:07 |
QuadRadical (Ping) | so does that mean it failed | 21:35:16 |
emily | no, means it worked | 21:35:46 |
QuadRadical (Ping) | oh | 21:35:48 |
emily | anyway, you can rearrange the dep lists until you get something that evaluates to /nix/store/khdhxs9anfkdv8wn58gx04mmk0yk970d-thin-provisioning-tools-aarch64-unknown-linux-gnu-1.2.0.drv, I suppose | 21:36:01 |
emily | or reverse-engineer it from the buildInputs/depsBuildBuild/etc. in this output | 21:36:11 |
QuadRadical (Ping) | ok thank you | 21:36:17 |
emily | I think it's fine to put up a draft PR for whatever you get to build though | 21:36:36 |
QuadRadical (Ping) | ty | 21:36:41 |
QuadRadical (Ping) | i appreciate the help a lot | 21:36:45 |
emily | hopefully someone who understand Rust cross weirdness better than me can have a look at it and figure out the right thing | 21:36:45 |
QuadRadical (Ping) | i never would have figured this out on my own | 21:36:50 |
emily | in the meantime it should unblock building your system up to the next cross bug :P | 21:36:56 |
QuadRadical (Ping) | yep | 21:37:17 |
QuadRadical (Ping) | wait a second | 21:37:22 |
QuadRadical (Ping) | i found it | 21:37:23 |
QuadRadical (Ping) | i think? | 21:37:28 |
QuadRadical (Ping) | lets see | 21:37:35 |
QuadRadical (Ping) | this works:
strictDeps = true;
depsBuildBuild = [
pkg-config
lvm2.dev
udev
];
nativeBuildInputs = [
rustPlatform.bindgenHook
];
buildInputs = [
lvm2.dev
udev
];
I was missing .dev from the buildInputs lvm2 when i tried to reproduce the success @emily | 21:38:07 |
emily | wait, that actually changes whether it works? | 21:40:05 |
QuadRadical (Ping) | yep | 21:40:09 |
emily | I wonder if that's a strictDeps thing. | 21:40:13 |
emily | does it work without the .dev if you disable strictDeps again? | 21:40:21 |
emily | well I guess it'll break in other ways. ok interesting though | 21:40:35 |
QuadRadical (Ping) | yes seemingly | 21:40:49 |
emily | and copying pkg-config to nativeBuildInputs and removing udev from depsBuildBuild definitely re-breaks this? | 21:41:03 |