diff options
Diffstat (limited to 'pkgs/development/libraries/qt-5/modules/qtwebchannel.nix')
-rw-r--r-- | pkgs/development/libraries/qt-5/modules/qtwebchannel.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/libraries/qt-5/modules/qtwebchannel.nix b/pkgs/development/libraries/qt-5/modules/qtwebchannel.nix index f49e9e23490..e7d6be53440 100644 --- a/pkgs/development/libraries/qt-5/modules/qtwebchannel.nix +++ b/pkgs/development/libraries/qt-5/modules/qtwebchannel.nix @@ -1,8 +1,12 @@ -{ qtModule, qtbase, qtdeclarative }: +{ lib +, stdenv +, qtModule +, qtbase +, qtdeclarative +}: qtModule { pname = "qtwebchannel"; - qtInputs = [ qtbase qtdeclarative ]; - outputs = [ "out" "dev" "bin" ]; + propagatedBuildInputs = [ qtbase qtdeclarative ]; + outputs = [ "out" "dev" ] ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ "bin" ]; } - |