trying to fix niri

This commit is contained in:
twoneis 2023-11-19 11:16:57 +01:00
parent 8454d87be1
commit 3a3d5cdebd

View file

@ -1,5 +1,4 @@
{ lib { rustPlatform
, rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, libxkbcommon , libxkbcommon
@ -45,21 +44,14 @@ rustPlatform.buildRustPackage {
udev udev
wayland wayland
libinput libinput
libglvnd
mesa # libgbm mesa # libgbm
]; ];
runtimeDependencies = [ RUSTFLAGS = map (a: "-C link-arg=${a}") [
wayland "-Wl,--push-state,--no-as-needed"
mesa "-lEGL"
libglvnd "-lwayland-client"
"-Wl,--pop-state"
]; ];
meta = with lib; {
description = "A scrollable-tiling Wayland compositor";
homepage = "https://github.com/YaLTeR/niri";
license = licenses.gpl3Only;
maintainers = with maintainers; [ iogamaster ];
mainProgram = "niri";
inherit (wayland.meta) platforms;
};
} }