mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
25 lines
579 B
Nix
25 lines
579 B
Nix
{ pkgs ? import <nixpkgs> { } }: with pkgs;
|
|
|
|
mkShell.override { stdenv = gcc13Stdenv; } {
|
|
packages = [
|
|
ccache
|
|
cmake
|
|
libxcrypt
|
|
ninja
|
|
pkg-config
|
|
python3
|
|
qt6.qtbase
|
|
qt6.qtbase.dev
|
|
qt6.qtmultimedia
|
|
qt6.qttools
|
|
qt6.qtwayland
|
|
qt6.qtwayland.dev
|
|
];
|
|
|
|
shellHook = ''
|
|
# 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:${qt6.qtwayland}/lib/qt-6/plugins"
|
|
export QT_QPA_PLATFORM="wayland;xcb"
|
|
'';
|
|
}
|