!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

572 Members
125 Servers

Load older messages


SenderMessageTime
27 Sep 2025
@k900:0upti.meK900 But you can remove it and it'll probably blow up 20:52:34
@outfoxxed:outfoxxed.meoutfoxxedalright I havent tried building any kde packages yet because they all pull in qtwebengine somehow20:52:54
@k900:0upti.meK900 And then you can see how it blows up 20:53:01
@k900:0upti.meK900 I assume the secrets are in the dev output, at least 20:53:02
@k900:0upti.meK900 Something something unprefixed pkg-config something 20:53:11
@k900:0upti.meK900 You can break that chain at PySide 20:53:20
@k900:0upti.meK900 For many things at least 20:53:40
@outfoxxed:outfoxxed.meoutfoxxedah does pyside pull in literally everything20:53:42
@k900:0upti.meK900OK seriously bedge20:53:45
@k900:0upti.meK900 Today is a day 20:53:48
@k900:0upti.meK900 Was a day 20:53:51
@k900:0upti.meK900 Not literally everything but most things yes 20:54:00
@outfoxxed:outfoxxed.meoutfoxxedthanks20:54:07
@k900:0upti.meK900And technically most KDE things don't need webengine20:54:38
@k900:0upti.meK900 But we can't give them a custom PySide either because python flat names pace 20:54:38
@outfoxxed:outfoxxed.meoutfoxxed could we have a pysideWithModules or something 20:55:00
@outfoxxed:outfoxxed.meoutfoxxedassuming pyside itself doesnt take forever to compile for each one20:55:12
@k900:0upti.meK900No because it's defined at build time20:55:16
@k900:0upti.meK900 Anyway 20:55:19
@outfoxxed:outfoxxed.meoutfoxxedlater yeah20:55:24
@k900:0upti.meK900 I really need sleep 20:55:38
@k900:0upti.meK900 Sorry I'm cutting myself off 20:55:38
@outfoxxed:outfoxxed.meoutfoxxedIt seems like the host prefixes environment variable doesn't actually do what it says it does and unlinke QT_HOST_PATH doesn't add itself to the tool scanning list. I think the best solution here is just to add a patch to their cmake files when cross compiling, so we don't break anything new in a normal build, and cross doesn't work anyway so anything is an improvement23:21:49
@outfoxxed:outfoxxed.meoutfoxxed
				list(PREPEND CMAKE_PREFIX_PATH "${_qt_additional_host_packages_prefix_paths}")

was it really so hard

23:21:58
@outfoxxed:outfoxxed.meoutfoxxed *
list(PREPEND CMAKE_PREFIX_PATH "${_qt_additional_host_packages_prefix_paths}")

was it really so hard

23:22:04
@outfoxxed:outfoxxed.meoutfoxxedI personally prefer this to injecting _DIR variables into every package when cross compiling23:23:00
28 Sep 2025
@outfoxxed:outfoxxed.meoutfoxxedimage.png
Download image.png
00:16:20
@outfoxxed:outfoxxed.meoutfoxxedand we're green with all the _DIRs removed00:16:25
@rosssmyth:matrix.orgrosssmyth How are deps calculated w.r.t. splicing (i.e. what pkgset are they pulled from) when they are used strings? So for example if you write buildPhase = "echo '${lib.getExe foo}' >> buz.sh" or whatever, how is 02:25:33
@rosssmyth:matrix.orgrosssmyth * How are deps calculated w.r.t. splicing (i.e. what pkgset are they pulled from) when they are used strings? So for example if you write buildPhase = "echo '${lib.getExe foo}' >> buz.sh" or whatever, how is the package set calculated? Or is it? Or is it just always nataiveBuildInputs or something? 02:28:08

Show newer messages


Back to Room ListRoom Version: 6