about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/qt-5/modules/qtwayland.nix
blob: 851e4ad6966b004eac612b36846398e20e528884 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ qtModule, qtbase, qtquickcontrols, wayland, pkg-config }:

qtModule {
  pname = "qtwayland";
  qtInputs = [ qtbase qtquickcontrols ];
  buildInputs = [ wayland ];
  nativeBuildInputs = [ pkg-config ];
  outputs = [ "out" "dev" "bin" ];
  patches = [
    # NixOS-specific, ensure that app_id is correctly determined for
    # wrapped executables from `wrapQtAppsHook` (see comment in patch for further
    # context).  Beware: shared among different Qt5 versions.
    ./qtwayland-app_id.patch
  ];
}