mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
niri: force link to nixpkgs' libEGL
This commit is contained in:
parent
7c91a7dcdc
commit
cb54f46d77
@ -6,6 +6,7 @@
|
|||||||
, udev
|
, udev
|
||||||
, libxkbcommon
|
, libxkbcommon
|
||||||
, libinput
|
, libinput
|
||||||
|
, libglvnd
|
||||||
, systemd
|
, systemd
|
||||||
, wayland
|
, wayland
|
||||||
, mesa
|
, mesa
|
||||||
@ -37,6 +38,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
libinput
|
libinput
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
|
libglvnd
|
||||||
mesa
|
mesa
|
||||||
pipewire
|
pipewire
|
||||||
seatd
|
seatd
|
||||||
@ -52,6 +54,13 @@ rustPlatform.buildRustPackage rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
RUSTFLAGS = builtins.map (arg: "-C link-arg=${arg}") [
|
||||||
|
"-Wl,--push-state,--no-as-needed"
|
||||||
|
"-lEGL"
|
||||||
|
"-lwayland-client"
|
||||||
|
"-Wl,--pop-state"
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs ./resources/niri-session
|
patchShebangs ./resources/niri-session
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user