!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
129 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
14 Jul 2025
@emilazy:matrix.orgemilythough we have a field for this these days right?14:07:22
@emilazy:matrix.orgemilythe env form14:07:24
@emilazy:matrix.orgemilyoh14:07:31
@emilazy:matrix.orgemily Alyssa Ross: there is one more wrinkle that maybe John Ericson can help explain 14:07:41
@emilazy:matrix.orgemily
[[ -z ${strictDeps-} ]] || (( "$hostOffset" < 0 )) || return 0
14:07:45
@emilazy:matrix.orgemily the hook just does not run if strictDeps. I have no idea why. it seems like this condition is maybe just backwards? 14:07:59
@Ericson2314:matrix.orgJohn EricsonI thought the host offset would be -114:12:30
@Ericson2314:matrix.orgJohn EricsonWhen used as native build input14:12:50
@Ericson2314:matrix.orgJohn EricsonThis logic should be the same as other wrappers, iirc14:13:01
@Ericson2314:matrix.orgJohn EricsonBasically the setup hook should only run if you have a pkg config which is runnable at build time 14:13:28
@emilazy:matrix.orgemilyah14:15:42
@emilazy:matrix.orgemilyok, I see14:15:43
@emilazy:matrix.orgemily it is to handle the marginal case of buildInputs = [ pkg-config ]; 14:15:52
@emilazy:matrix.orgemily QuadRadical (Ping / Reply): I think that either it will just build out of the box on top of #196333, or you might need to add depsBuildBuild = [ pkg-config lvm2 ]; and nothing else 14:16:42
@emilazy:matrix.orgemily(once it's rebased)14:16:49
@quadradical:federated.nexusQuadRadical (Ping) okay thanks 14:27:23

Show newer messages


Back to Room ListRoom Version: 6