2024-03-16 11:36:09 +03:00
|
|
|
{ pkgs ? import <nixpkgs> { } }: with pkgs;
|
2022-09-22 13:22:28 +02:00
|
|
|
|
2024-03-16 11:36:09 +03:00
|
|
|
mkShell.override { stdenv = gcc13Stdenv; } {
|
|
|
|
packages = [
|
2023-03-08 18:24:30 +00:00
|
|
|
ccache
|
2022-09-22 13:22:28 +02:00
|
|
|
cmake
|
2023-02-18 16:10:00 +01:00
|
|
|
libxcrypt
|
2023-06-04 01:07:39 +02:00
|
|
|
ninja
|
2023-10-27 00:13:26 +02:00
|
|
|
pkg-config
|
2022-09-22 13:22:28 +02:00
|
|
|
qt6.qtbase
|
|
|
|
qt6.qtbase.dev
|
2023-06-29 20:40:20 +02:00
|
|
|
qt6.qtmultimedia
|
2022-09-22 13:22:28 +02:00
|
|
|
qt6.qttools
|
|
|
|
qt6.qtwayland
|
|
|
|
qt6.qtwayland.dev
|
|
|
|
];
|
|
|
|
|
|
|
|
shellHook = ''
|
2023-02-18 16:14:19 +01:00
|
|
|
# NOTE: This is required to make it find the wayland platform plugin installed
|
|
|
|
# above, but should probably be fixed upstream.
|
2024-03-16 11:36:09 +03:00
|
|
|
export QT_PLUGIN_PATH="$QT_PLUGIN_PATH:${qt6.qtwayland}/lib/qt-6/plugins"
|
2022-09-22 13:22:28 +02:00
|
|
|
export QT_QPA_PLATFORM="wayland;xcb"
|
|
|
|
'';
|
|
|
|
}
|