mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
Now that ladybird was moved moved to its own repository, we don't need to keep unnecessary features like the Qt Multimedia audio backend. This means that PulseAudio is now required to have working audio in the Qt chrome. Ladybird only still exists in the SerenityOS repo to make testing LibWeb easier.
33 lines
707 B
Nix
33 lines
707 B
Nix
{
|
|
pkgs ? import <nixpkgs> { },
|
|
}:
|
|
with pkgs;
|
|
|
|
mkShell.override { stdenv = gcc13Stdenv; } {
|
|
packages = [
|
|
ccache
|
|
cmake
|
|
libxcrypt
|
|
ninja
|
|
pkg-config
|
|
qt6.qtbase
|
|
qt6.qtbase.dev
|
|
qt6.qttools
|
|
qt6.qtwayland
|
|
qt6.qtwayland.dev
|
|
# For clangd and clang-format
|
|
clang-tools
|
|
# For LibWeb-related formatting
|
|
nodePackages.prettier
|
|
# For the pre-commit hooks
|
|
pre-commit
|
|
];
|
|
|
|
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"
|
|
'';
|
|
}
|