!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

200 Members
55 Servers

Load older messages


SenderMessageTime
13 Jun 2025
@emilazy:matrix.orgemily are you sure? that's more targetPlatform in the world 19:23:40
@k900:0upti.meK900But then we have packages like qtsvg or whatever that are literally just a .so19:23:50
@qyliss:fairydust.spaceAlyssa RossbuildPackages would be for run-on-cross tools19:23:51
@k900:0upti.meK900And those have to be in buildInputs19:23:54
@emilazy:matrix.orgemily like, FLTK and SDL1 and stuff have *-config tools that go in outputs 19:24:01
@emilazy:matrix.orgemily that are for the buildPlatform 19:24:05
@k900:0upti.meK900And we'll be shoving them to nativeBuildInputs19:24:05
@k900:0upti.meK900For basically no reason19:24:12
@emilazy:matrix.orgemily it seems wrong to have to move every user to nativeBuildInputs when it grows that 19:24:16
@emilazy:matrix.orgemily every cross package has parts of its outputs intended to be consumed on buildPlatform already 19:24:32
@emilazy:matrix.orgemily like, that's what dev is 19:24:36
@k900:0upti.meK900Well with cmake/qt it has to be nativeBuildInputs or our patch explodes it even more19:24:36
@emilazy:matrix.orgemily the headers might not be machine code but they're still intended for consumption on buildPlatform 19:24:47
@emilazy:matrix.orgemily it seems to me like $dev/bin is an appropriate place for buildPlatform tools 19:24:54
@k900:0upti.meK900Because the patch basically makes it not search for host tools in buildInputs19:24:54
@k900:0upti.meK900If we do that then we have to basically fuck up every cmake file19:25:10
@k900:0upti.meK900But maybe yes19:25:17
@emilazy:matrix.orgemily I think rather we might want to teach stdenv about $dev/bin 19:25:25
@emilazy:matrix.orgemily as opposed to $out/bin and $bin/bin 19:25:31
@k900:0upti.meK900That won't help because they hardcode paths half the time19:25:37
@emilazy:matrix.orgemilyfair19:25:49
@emilazy:matrix.orgemilyI just mean in general19:25:52
@emilazy:matrix.orgemily in principle, dev is kinda weird, it's "one step up" the cross hierarchy 19:26:00
@emilazy:matrix.orgemilybut IMO it works for tools as much as it does for other stuff used for compiling19:26:12
@emilazy:matrix.orgemily since Nixpkgs cross assumes you're always building on buildPlatform, it's harmless/correct for build tools to be built for buildPlatform 19:26:38
@k900:0upti.meK900Anyway what I'm getting from all this is that I'll leave it as strictDeps=false and go back to bashing my head against shiboken19:33:22
@k900:0upti.meK900And if someone wants to figure it out, they'll have to fuck things up significantly anyway19:33:37
@k900:0upti.meK900 I still need to finish the world rebuild with just the strictDeps changes 19:39:19
@k900:0upti.meK900And then I'll have to add 6.15 on top and do another one19:39:31
@k900:0upti.meK900OK going to need some actual reviews here20:11:41

Show newer messages


Back to Room ListRoom Version: 9