mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 18:46:03 +00:00
Flake: Add and run formatter + Rename devshell
Add a formatter output to the flake (`nix fmt`), along with moving + renaming the devshell so it will work by running `nix-shell` in the root of the project.
This commit is contained in:
parent
6969d1eba3
commit
61fcccb104
Notes:
github-actions[bot]
2024-12-18 15:16:44 +00:00
Author: https://github.com/ttrssreal
Commit: 61fcccb104
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2918
4 changed files with 50 additions and 34 deletions
|
@ -1,20 +0,0 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
ccache
|
||||
] ++ (with qt6Packages; [
|
||||
qtbase.dev
|
||||
qttools
|
||||
qtwayland.dev
|
||||
]);
|
||||
|
||||
inputsFrom = [ pkgs.ladybird ];
|
||||
|
||||
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"
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue