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
, pkg-config
, libxkbcommon
@ -45,21 +44,14 @@ rustPlatform.buildRustPackage {
udev
wayland
libinput
libglvnd
mesa # libgbm
];
runtimeDependencies = [
wayland
mesa
libglvnd
RUSTFLAGS = map (a: "-C link-arg=${a}") [
"-Wl,--push-state,--no-as-needed"
"-lEGL"
"-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;
};
}