| 13 Jul 2025 |
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 |
emily | no, it's hopeless to nixpkgs-review changes that go to staging | 21:58:19 |
emily | (usually) | 21:58:25 |
emily | especially when it'll definitely need revising for merge anyway | 21:58:27 |
emily | I assume the reverse dependency closure is in the thousands here at least | 21:58:41 |
QuadRadical (Ping) | oh? | 21:58:59 |
QuadRadical (Ping) | i see | 21:59:04 |
QuadRadical (Ping) | i always tend to nixpkgs-review my prs | 21:59:11 |