2024-12-14 09:53:07 -05:00
|
|
|
{
|
|
|
|
pkgs ? import <nixpkgs> { },
|
|
|
|
}:
|
2022-09-22 07:22:28 -04:00
|
|
|
|
2024-11-19 21:11:10 -05:00
|
|
|
pkgs.mkShell {
|
2024-12-14 09:53:07 -05:00
|
|
|
inputsFrom = [
|
|
|
|
pkgs.ladybird
|
|
|
|
];
|
|
|
|
|
|
|
|
packages = with pkgs.qt6Packages; [
|
2024-11-19 21:11:10 -05:00
|
|
|
qtbase.dev
|
|
|
|
qttools
|
|
|
|
qtwayland.dev
|
|
|
|
|
2024-12-14 09:53:07 -05:00
|
|
|
pkgs.ccache
|
|
|
|
];
|
2022-09-22 07:22:28 -04:00
|
|
|
|
|
|
|
shellHook = ''
|
2023-02-18 10:14:19 -05:00
|
|
|
# NOTE: This is required to make it find the wayland platform plugin installed
|
|
|
|
# above, but should probably be fixed upstream.
|
2024-11-19 21:11:10 -05:00
|
|
|
export QT_PLUGIN_PATH="$QT_PLUGIN_PATH:${pkgs.qt6.qtwayland}/lib/qt-6/plugins"
|
2022-09-22 07:22:28 -04:00
|
|
|
export QT_QPA_PLATFORM="wayland;xcb"
|
|
|
|
'';
|
|
|
|
}
|