Unverified Commit 0b34dae4 authored by éclairevoyant's avatar éclairevoyant
Browse files

veloren: add wayland dependency

parent 34f9310c
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
  libXi,
  libXcursor,
  libXrandr,
  wayland,
  stdenv,
}:

@@ -90,7 +91,7 @@ rustPlatform.buildRustPackage {
  doCheck = false;

  appendRunpaths = [
    (lib.makeLibraryPath
    (lib.makeLibraryPath (
      [
        libX11
        libXi
@@ -98,7 +99,10 @@ rustPlatform.buildRustPackage {
        libXrandr
        vulkan-loader
      ]
    )
      ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform wayland) [
        wayland
      ]
    ))
  ];

  postInstall = ''