!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

205 Members
57 Servers

Load older messages


SenderMessageTime
13 Jun 2025
@k900:0upti.meK900And when we try and give it what it thinks are two distinct Qts, one host and one build, it explodes19:21:41
@emilazy:matrix.orgemilywhy would we give it two?19:22:12
@k900:0upti.meK900Because one is nativeBuildInputs and the other is buildInputs19:22:23
@emilazy:matrix.orgemily it's okay for a cross-built package to contain buildPlatform tools 19:22:31
@emilazy:matrix.orgemily we handle some *-configs like that 19:22:39
@k900:0upti.meK900Because we want it to use the host tools19:22:40
@qyliss:fairydust.spaceAlyssa RossThis sounds like it should just be in nativeBuildInputs19:23:06
@k900:0upti.meK900I guess technically the strictDeps-ly-correct way of doing this would be to shove everything into buildInputs19:23:06
@qyliss:fairydust.spaceAlyssa RossSame deal as with a compilerr19:23:10
@k900:0upti.meK900And pretend nativeBuildInputs don't exist19:23:12
@qyliss:fairydust.spaceAlyssa Ross * 19:23:14
@k900:0upti.meK900Actually yes the opposite19:23:25
@qyliss:fairydust.spaceAlyssa RossNo, the opposite19:23:27
@k900:0upti.meK900Because it doesn't search for binaries in buildInputs19:23:38
@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

Show newer messages


Back to Room ListRoom Version: 9