ladybird/shell.nix

25 lines
489 B
Nix
Raw Normal View History

{
pkgs ? import <nixpkgs> { },
}:
pkgs.mkShell {
inputsFrom = [
pkgs.ladybird
];
packages = with pkgs.qt6Packages; [
qtbase.dev
qttools
qtwayland.dev
pkgs.ccache
];
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:${pkgs.qt6.qtwayland}/lib/qt-6/plugins"
export QT_QPA_PLATFORM="wayland;xcb"
'';
}