!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

581 Members
128 Servers

Load older messages


SenderMessageTime
13 Jul 2025
@quadradical:federated.nexusQuadRadical (Ping) if i instead swap it with buildInputs it outputs error: expected a set but found a list: [ «thunk» «thunk» ] 21:07:25
@emilazy:matrix.orgemilyneeds adding to the package arguments.21:08:49
@quadradical:federated.nexusQuadRadical (Ping)oh sorry21:08:58
@emilazy:matrix.orgemily (pkgsFoo is not depsFoo) 21:09:07
@quadradical:federated.nexusQuadRadical (Ping)thank you21:09:08
@emilazy:matrix.orgemily (pkgsFoo is the package set that depsFoo sources from) 21:09:13
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) wait whats the diff between targetPackages and pkgsBuildBuild? 21:09:23
@quadradical:federated.nexusQuadRadical (Ping)trying now21:09:53
@emilazy:matrix.orgemily targetPackages is pkgsTargetTarget, I believe. 21:11:06
@quadradical:federated.nexusQuadRadical (Ping) Okay we are getting somewhere 21:11:07
@quadradical:federated.nexusQuadRadical (Ping) this did something "PKG_CONFIG_PATH_${stdenv.buildPlatform.config}" = "${pkgsBuildBuild.lvm2.dev}/lib/pkgconfig"; 21:11:16
@quadradical:federated.nexusQuadRadical (Ping)it built succescsfully21:11:27
@quadradical:federated.nexusQuadRadical (Ping)i typod but you understand21:11:31
@quadradical:federated.nexusQuadRadical (Ping)*successfully21:11:43
@quadradical:federated.nexusQuadRadical (Ping)there we go :)21:11:48
@grimmauld:grapevine.grimmauld.deGrimmauld (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:federated.nexusQuadRadical (Ping) i dont but i can maybe just run it on my phone? 21:12:27
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)that might work21:12:36
@emilazy:matrix.orgemilyit will be fine21:12:49
@emilazy:matrix.orgemilyif it linked against the shared object it will be able to load it unless something is very wrong21:12:58
@quadradical:federated.nexusQuadRadical (Ping)wait so how would i test this21:13:36
@quadradical:federated.nexusQuadRadical (Ping)id need to cross compile so idk21:13:40
@quadradical:federated.nexusQuadRadical (Ping)i only have standalone nix on my phone21:13:45
@quadradical:federated.nexusQuadRadical (Ping)idk if i can test it21:13:46
@emilazy:matrix.orgemilyhmm21:13:47
@emilazy:matrix.orgemily QuadRadical (Ping / Reply): what happens if you move pkg-config to pkgsBuildBuild and add lvm2(.dev) there as well 21:14:02
@emilazy:matrix.orgemily and keep strictDeps but drop the env variable 21:14:06
@emilazy:matrix.orgemilyif it builds it's fine21:14:15
@grimmauld:grapevine.grimmauld.deGrimmauld (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:federated.nexusQuadRadical (Ping) ok will do 21:15:09

Show newer messages


Back to Room ListRoom Version: 6