summaryrefslogtreecommitdiff
path: root/Ladybird/ladybird.nix
blob: c5a038b5292ea78ad66d31f5c5054b9576fc8841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell.override
{
  stdenv = pkgs.gcc12Stdenv;
}
{
  name = "ladybird";

  nativeBuildInputs = with pkgs; [
    pkgconfig
    cmake
    ninja
    qt6.qtbase
    qt6.qtbase.dev
    qt6.qttools
    qt6.qtwayland
    qt6.qtwayland.dev
  ];

  shellHook = ''
    export QT_QPA_PLATFORM="wayland;xcb"
  '';
}