diff options
author | Adam Joseph <adam@westernsemico.com> | 2023-11-03 22:00:22 -0700 |
---|---|---|
committer | Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com> | 2023-11-05 00:55:16 +0000 |
commit | 49e8d9db2f83003c0c5ac6c2df25104390f60519 (patch) | |
tree | af9ab1525df8fb68325f3a05e441d17d0a67c438 /pkgs/development/libraries | |
parent | 94451ae7cf257b82d548cefbc93a8c468f949ea5 (diff) | |
download | nixlib-49e8d9db2f83003c0c5ac6c2df25104390f60519.tar nixlib-49e8d9db2f83003c0c5ac6c2df25104390f60519.tar.gz nixlib-49e8d9db2f83003c0c5ac6c2df25104390f60519.tar.bz2 nixlib-49e8d9db2f83003c0c5ac6c2df25104390f60519.tar.lz nixlib-49e8d9db2f83003c0c5ac6c2df25104390f60519.tar.xz nixlib-49e8d9db2f83003c0c5ac6c2df25104390f60519.tar.zst nixlib-49e8d9db2f83003c0c5ac6c2df25104390f60519.zip |
qt5.qtwebchannel: omit "bin" output when cross compiling
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/qt-5/modules/qtwebchannel.nix | 9 |
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 118a5d4f96f6..e7d6be534409 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" ]; } |