| 13 Jul 2025 |
QuadRadical (Ping) | if i instead swap it with buildInputs it outputs error: expected a set but found a list: [ «thunk» «thunk» ] | 21:07:25 |
emily | needs adding to the package arguments. | 21:08:49 |
QuadRadical (Ping) | oh sorry | 21:08:58 |
emily | (pkgsFoo is not depsFoo) | 21:09:07 |
QuadRadical (Ping) | thank you | 21:09:08 |
emily | (pkgsFoo is the package set that depsFoo sources from) | 21:09:13 |
Grimmauld (any/all) | wait whats the diff between targetPackages and pkgsBuildBuild? | 21:09:23 |
QuadRadical (Ping) | trying now | 21:09:53 |
emily | targetPackages is pkgsTargetTarget, I believe. | 21:11:06 |
QuadRadical (Ping) | Okay we are getting somewhere | 21:11:07 |
QuadRadical (Ping) | this did something "PKG_CONFIG_PATH_${stdenv.buildPlatform.config}" = "${pkgsBuildBuild.lvm2.dev}/lib/pkgconfig"; | 21:11:16 |
QuadRadical (Ping) | it built succescsfully | 21:11:27 |
QuadRadical (Ping) | i typod but you understand | 21:11:31 |
QuadRadical (Ping) | *successfully | 21:11:43 |
QuadRadical (Ping) | there we go :) | 21:11:48 |
Grimmauld (any/all) | right. Do you have a VM or something to check whether it actually runs (specifically, can load the shared object)? | 21:12:07 |
QuadRadical (Ping) | i dont but i can maybe just run it on my phone? | 21:12:27 |
Grimmauld (any/all) | that might work | 21:12:36 |
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 |