| 13 Jul 2025 |
emily | it will be fine | 21:12:49 |
emily | if it linked against the shared object it will be able to load it unless something is very wrong | 21:12:58 |
QuadRadical (Ping) | wait so how would i test this | 21:13:36 |
QuadRadical (Ping) | id need to cross compile so idk | 21:13:40 |
QuadRadical (Ping) | i only have standalone nix on my phone | 21:13:45 |
QuadRadical (Ping) | idk if i can test it | 21:13:46 |
emily | hmm | 21:13:47 |
emily | QuadRadical (Ping / Reply): what happens if you move pkg-config to pkgsBuildBuild and add lvm2(.dev) there as well | 21:14:02 |
emily | and keep strictDeps but drop the env variable | 21:14:06 |
emily | if it builds it's fine | 21:14:15 |
Grimmauld (any/all) | you have ssh to your phone, right? you could nix-copy-closure the thing if the phone has nix. But if emily says its fine it'll probably be fine. | 21:14:46 |
QuadRadical (Ping) | ok will do | 21:15:09 |
QuadRadical (Ping) | called `Result::unwrap()` on an `Err` value: "Could not run `PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags libudev`\nThe pkg-config command could not be found.\n\nMost likely, you need to install a pkg-config package for your OS.\nTry `apt install pkg-config`, or `yum install pkg-config`, or `brew install pkgconf`\nor `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution.\n\nIf you've already installed it, ensure the pkg-config command is one of the\ndirectories in the PATH environment variable.\n\nIf you did not expect this build to link to a pre-installed system library,\nthen check documentation of the libudev-sys crate for an option to\nbuild the library from source, or disable features or dependencies\nthat require pkg-config."
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> warning: build failed, waiting for other jobs to finish...
For full logs, run 'nix log /nix/store/1lmn5081kxxyh7jjcxh442a8s6p6x1ip-thin-provisioning-tools-aarch64-unknown-linux-gnu-1.2.0.drv'.
| 21:16:10 |
QuadRadical (Ping) | looks like it cant find pkg-config | 21:16:22 |
QuadRadical (Ping) | do i want it in both pkgsBuildBuild and nativeBuildInputs? i moved it but i can put it in both | 21:16:35 |
emily | uh I thought we specifically set a variable for that | 21:16:42 |
QuadRadical (Ping) | oh | 21:16:47 |
QuadRadical (Ping) | i never set that | 21:16:49 |
QuadRadical (Ping) | will do though | 21:16:51 |
emily | no I mean | 21:16:55 |
emily | we = Nixpkgs | 21:16:56 |
QuadRadical (Ping) | i never got to that point and it started working | 21:16:56 |
QuadRadical (Ping) | ohh | 21:16:58 |
emily | let me check something | 21:16:58 |
QuadRadical (Ping) | oke! | 21:17:02 |
emily | indeed,
export PKG_CONFIG${role_post}=@targetPrefix@@baseBinName@
| 21:17:51 |
QuadRadical (Ping) | hmhm | 21:18:38 |
emily | oh it's… skipped for strictDeps? what? | 21:19:34 |
QuadRadical (Ping) | same error if i dont set that | 21:20:02 |
QuadRadical (Ping) | or if i set strictDeps = false; | 21:20:18 |