2021-02-05 17:12:51 +00:00
|
|
|
{ qtModule, qtbase, qtquickcontrols, wayland, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
qtModule {
|
2021-05-28 09:39:13 +00:00
|
|
|
pname = "qtwayland";
|
2020-04-24 23:36:52 +00:00
|
|
|
qtInputs = [ qtbase qtquickcontrols ];
|
|
|
|
buildInputs = [ wayland ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
outputs = [ "out" "dev" "bin" ];
|
2022-04-27 09:35:20 +00:00
|
|
|
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
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|