mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-08 23:42:53 +03:00
0e5ec8c0ab
The dependencies added in b5e9b9a939
are a better fit for Ladybird/ladybird.nix
30 lines
606 B
Nix
30 lines
606 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
pkgs.mkShell.override
|
|
{
|
|
stdenv = pkgs.gcc12Stdenv;
|
|
}
|
|
{
|
|
name = "ladybird";
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
ccache
|
|
cmake
|
|
libxcrypt
|
|
ninja
|
|
pkgconfig
|
|
qt6.qtbase
|
|
qt6.qtbase.dev
|
|
qt6.qtsvg
|
|
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:${pkgs.qt6.qtwayland}/lib/qt-6/plugins"
|
|
export QT_QPA_PLATFORM="wayland;xcb"
|
|
'';
|
|
}
|