mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-24 00:20:21 +00:00
Merge 45243a96d2
into d6bcd3fb0b
This commit is contained in:
commit
53b6f4c3fe
3 changed files with 18 additions and 23 deletions
|
@ -1,25 +1,20 @@
|
|||
{ pkgs ? import <nixpkgs> { } }: with pkgs;
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
mkShell.override { stdenv = gcc13Stdenv; } {
|
||||
packages = [
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
ccache
|
||||
cmake
|
||||
libxcrypt
|
||||
ninja
|
||||
pkg-config
|
||||
python3
|
||||
qt6.qtbase
|
||||
qt6.qtbase.dev
|
||||
qt6.qtmultimedia
|
||||
qt6.qttools
|
||||
qt6.qtwayland
|
||||
qt6.qtwayland.dev
|
||||
];
|
||||
] ++ (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:${qt6.qtwayland}/lib/qt-6/plugins"
|
||||
export QT_PLUGIN_PATH="$QT_PLUGIN_PATH:${pkgs.qt6.qtwayland}/lib/qt-6/plugins"
|
||||
export QT_QPA_PLATFORM="wayland;xcb"
|
||||
'';
|
||||
}
|
||||
|
|
12
flake.lock
12
flake.lock
|
@ -2,11 +2,11 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1701253981,
|
||||
"narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=",
|
||||
"lastModified": 1731676054,
|
||||
"narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58",
|
||||
"rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -42,11 +42,11 @@
|
|||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1710146030,
|
||||
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
outputs = { self, nixpkgs, utils, }: utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in {
|
||||
devShells.default = import ./Ladybird { inherit pkgs; };
|
||||
devShells.default = import ./UI { inherit pkgs; };
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue