qt5.qtwebchannel: omit "bin" output when cross compiling

This commit is contained in:
Adam Joseph 2023-11-03 22:00:22 -07:00 committed by Adam Joseph
parent 94451ae7cf
commit 49e8d9db2f

View file

@ -1,7 +1,12 @@
{ qtModule, qtbase, qtdeclarative }:
{ lib
, stdenv
, qtModule
, qtbase
, qtdeclarative
}:
qtModule {
pname = "qtwebchannel";
propagatedBuildInputs = [ qtbase qtdeclarative ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "out" "dev" ] ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ "bin" ];
}