| 13 Jul 2025 |
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 |
QuadRadical (Ping) | it wont build it again it has it cached | 21:41:09 |
QuadRadical (Ping) | how do i force nix-build to actually try again | 21:41:14 |
QuadRadical (Ping) | i did it | 21:42:36 |
QuadRadical (Ping) | yes it works fine | 21:42:43 |
QuadRadical (Ping) | lets see | 21:42:53 |
emily | if it's cached then you know it builds | 21:42:56 |
emily | but --rebuild | 21:42:58 |
QuadRadical (Ping) | error: unrecognised flag '--rebuild' | 21:43:10 |
QuadRadical (Ping) | ah should i use nix build rather than nix-build | 21:43:18 |
QuadRadical (Ping) | yep | 21:43:40 |
QuadRadical (Ping) | wait what | 21:44:52 |
QuadRadical (Ping) | now it succeeded even without the .dev | 21:44:57 |
QuadRadical (Ping) | what is going on | 21:45:02 |
QuadRadical (Ping) | alright well apparantly this works:
strictDeps = true;
depsBuildBuild = [
pkg-config
lvm2
udev
];
nativeBuildInputs = [
rustPlatform.bindgenHook
];
buildInputs = [
lvm2
udev
];
| 21:45:52 |
QuadRadical (Ping) | yeah this fails | 21:46:52 |
QuadRadical (Ping) | > = note: some arguments are omitted. use `--verbose` to show all linker arguments
> = note: /nix/store/z3za8hfc24wb117s50p8b10agjkgm039-binutils-2.44/bin/ld: skipping incompatible /nix/store/rfznwwiqgpjrpjd9593c0fz7nbbrvnl5-lvm2-aarch64-unknown-linux-gnu-2.03.32-lib/lib/libdevmapper.so when searching for -ldevmapper
> /nix/store/z3za8hfc24wb117s50p8b10agjkgm039-binutils-2.44/bin/ld: cannot find -ldevmapper: No such file or directory
> /nix/store/z3za8hfc24wb117s50p8b10agjkgm039-binutils-2.44/bin/ld: skipping incompatible /nix/store/rfznwwiqgpjrpjd9593c0fz7nbbrvnl5-lvm2-aarch64-unknown-linux-gnu-2.03.32-lib/lib/libdevmapper.so when searching for -ldevmapper
> collect2: error: ld returned 1 exit status
| 21:47:04 |
QuadRadical (Ping) | right im gonna pr it | 21:48:11 |
emily | is this with strictDeps? | 21:48:19 |
QuadRadical (Ping) | ah yes ill try without | 21:48:45 |
QuadRadical (Ping) | still fails | 21:49:02 |
emily | ok | 21:49:54 |
emily | well, can iterate more on the PR anyway :) | 21:49:57 |
emily | feel free to put it up | 21:50:01 |
QuadRadical (Ping) | oke! | 21:51:05 |
QuadRadical (Ping) | just waiting for nixpkgs-review to complete | 21:55:12 |
emily | uh that will probably take a while :) | 21:57:23 |
QuadRadical (Ping) | yeah its probably worth doing though, no? | 21:58:03 |
QuadRadical (Ping) | i dont want to break something | 21:58:09 |