mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
qt5.qtwebchannel: omit "bin" output when cross compiling
This commit is contained in:
parent
94451ae7cf
commit
49e8d9db2f
|
@ -1,7 +1,12 @@
|
||||||
{ qtModule, qtbase, qtdeclarative }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, qtModule
|
||||||
|
, qtbase
|
||||||
|
, qtdeclarative
|
||||||
|
}:
|
||||||
|
|
||||||
qtModule {
|
qtModule {
|
||||||
pname = "qtwebchannel";
|
pname = "qtwebchannel";
|
||||||
propagatedBuildInputs = [ qtbase qtdeclarative ];
|
propagatedBuildInputs = [ qtbase qtdeclarative ];
|
||||||
outputs = [ "out" "dev" "bin" ];
|
outputs = [ "out" "dev" ] ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ "bin" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue