1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-09-13 18:07:36 +00:00

nix: Clean up files, use good practices

This commit is contained in:
RGBCube 2024-03-16 11:36:09 +03:00
parent 3a8bde9ef2
commit 52498f9c79
No known key found for this signature in database
7 changed files with 55 additions and 94 deletions

View file

@ -1,12 +1,7 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell.override
{
stdenv = pkgs.gcc13Stdenv;
}
{
name = "ladybird";
{ pkgs ? import <nixpkgs> { } }: with pkgs;
nativeBuildInputs = with pkgs; [
mkShell.override { stdenv = gcc13Stdenv; } {
packages = [
ccache
cmake
libxcrypt
@ -15,7 +10,6 @@ pkgs.mkShell.override
qt6.qtbase
qt6.qtbase.dev
qt6.qtmultimedia
qt6.qtsvg
qt6.qttools
qt6.qtwayland
qt6.qtwayland.dev
@ -24,7 +18,7 @@ pkgs.mkShell.override
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_PLUGIN_PATH="$QT_PLUGIN_PATH:${qt6.qtwayland}/lib/qt-6/plugins"
export QT_QPA_PLATFORM="wayland;xcb"
'';
}