Skip to content

Commit

Permalink
qt5.qtwebchannel: omit "bin" output when cross compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph authored and Adam Joseph committed Nov 5, 2023
1 parent 94451ae commit 49e8d9d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/development/libraries/qt-5/modules/qtwebchannel.nix
Original file line number Diff line number Diff line change
@@ -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" ];
}

0 comments on commit 49e8d9d

Please sign in to comment.