mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 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
|
||||
, libxkbcommon
|
||||
, libinput
|
||||
, libglvnd
|
||||
, systemd
|
||||
, wayland
|
||||
, mesa
|
||||
@ -37,6 +38,7 @@ rustPlatform.buildRustPackage rec {
|
||||
buildInputs = [
|
||||
libinput
|
||||
libxkbcommon
|
||||
libglvnd
|
||||
mesa
|
||||
pipewire
|
||||
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 = ''
|
||||
patchShebangs ./resources/niri-session
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user