mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 17:47:44 +00:00
Ladybird/Misc: Add ladybird.nix for nix-shell support
This commit is contained in:
parent
5a9b891268
commit
e74dff7697
2 changed files with 28 additions and 0 deletions
23
Ladybird/ladybird.nix
Normal file
23
Ladybird/ladybird.nix
Normal file
|
@ -0,0 +1,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"
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue