Unverified Commit d91e9dd0 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

cosmic-comp: remove obsolete libXrandr input

libXrandr has not been required since winit 0.30.0[1]
(cosmic-comp 1.0.0-alpha.1).

Tested that it still starts on X11.

[1]: https://github.com/rust-windowing/winit/commit/bb9b629bc34c6db8fa1ebda24a03ce0ddbc1d51e
parent a0bc021c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ rustPlatform.buildRustPackage rec {
  # be the common case, so just make them available, don't link them.
  postInstall = ''
    wrapProgramArgs=(--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
        xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr
        xorg.libX11 xorg.libXcursor xorg.libXi
    ]})
  '' + lib.optionalString useXWayland ''
    wrapProgramArgs+=(--prefix PATH : ${lib.makeBinPath [ xwayland ]})