summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-5/modules/qtwebchannel.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-11-05 06:00:55 +0000
committerGitHub <noreply@github.com>2023-11-05 06:00:55 +0000
commitda4d99e016fdaac92c67847482dc6682abfde8bc (patch)
tree5643e4504c819c1686e36976b68f7b84e89b258f /pkgs/development/libraries/qt-5/modules/qtwebchannel.nix
parentc2088a45896220dffcebaecd2f7b4ae3db48309b (diff)
parentb425c7dbf9a4a2406c9dadc2e8946f3bf4cc70a4 (diff)
downloadnixpkgs-da4d99e016fdaac92c67847482dc6682abfde8bc.tar
nixpkgs-da4d99e016fdaac92c67847482dc6682abfde8bc.tar.gz
nixpkgs-da4d99e016fdaac92c67847482dc6682abfde8bc.tar.bz2
nixpkgs-da4d99e016fdaac92c67847482dc6682abfde8bc.tar.lz
nixpkgs-da4d99e016fdaac92c67847482dc6682abfde8bc.tar.xz
nixpkgs-da4d99e016fdaac92c67847482dc6682abfde8bc.tar.zst
nixpkgs-da4d99e016fdaac92c67847482dc6682abfde8bc.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/development/libraries/qt-5/modules/qtwebchannel.nix')
-rw-r--r--pkgs/development/libraries/qt-5/modules/qtwebchannel.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/libraries/qt-5/modules/qtwebchannel.nix b/pkgs/development/libraries/qt-5/modules/qtwebchannel.nix
index 118a5d4f96f..e7d6be53440 100644
--- a/pkgs/development/libraries/qt-5/modules/qtwebchannel.nix
+++ b/pkgs/development/libraries/qt-5/modules/qtwebchannel.nix
@@ -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" ];
 }