qt5/qtwebchannel.nix: omit $bin output if cross#220316
Conversation
QtWebChannel does not produce binaries when it is cross-compiled. Let's omit the `$bin` output in that case.
|
there's no binaries in $bin even when not cross-compiling so these files aren't created when cross-compiling |
|
Let me clarify: QtWebChannel does not produce anything at all in $bin when cross-compiling. This causes Nix to reject the build because the builder failed to create an expected output. |
i understood that but why are qml files not generated when cross-compiling plugins.qmltypes has this comment
|
|
If there are no files in $out/bin why do we even have the bin output? The files seem to be wrong there in the first place. |
|
I will investigate. It might be a week or two before I have time to return to this qt5-cross stuff, but I will get to it. Native-compiling stuff on my laptop is too painful. |
Description of changes
QtWebChannel does not produce binaries when it is cross-compiled. Let's omit the
$binoutput in that case.