trying to get rid of lag

This commit is contained in:
twoneis 2023-11-19 13:36:41 +01:00
parent c2bd5ef55e
commit 495f32a579

View file

@ -1,15 +1,6 @@
{ rustPlatform { pkgs
, rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config
, libxkbcommon
, pipewire
, systemd
, seatd
, udev
, wayland
, libinput
, mesa
, libglvnd
}: }:
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
@ -32,11 +23,11 @@ rustPlatform.buildRustPackage {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkgs.pkg-config
rustPlatform.bindgenHook rustPlatform.bindgenHook
]; ];
buildInputs = [ buildInputs = with pkgs; [
libxkbcommon libxkbcommon
pipewire pipewire
systemd systemd
@ -46,6 +37,12 @@ rustPlatform.buildRustPackage {
libinput libinput
libglvnd libglvnd
mesa # libgbm mesa # libgbm
xwayland
fontconfig
];
runtimeDependencies = with pkgs; [
libglvnd
]; ];
RUSTFLAGS = map (a: "-C link-arg=${a}") [ RUSTFLAGS = map (a: "-C link-arg=${a}") [