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