Commit 34d22625 authored by rszyma's avatar rszyma
Browse files

airshipper: fix panic on wayland

parent 7e6a8fee
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -112,8 +112,11 @@ rustPlatform.buildRustPackage {
      ];
    in
    ''
      patchelf --set-rpath "${libPath}" "$out/bin/airshipper"
      wrapProgram "$out/bin/airshipper" --set VELOREN_PATCHER "${patch}"
      # We set LD_LIBRARY_PATH instead of using patchelf in order to propagate the libs
      # to both Airshipper itself as well as the binaries downloaded by Airshipper.
      wrapProgram "$out/bin/airshipper" \
        --set VELOREN_PATCHER "${patch}" \
        --prefix LD_LIBRARY_PATH : "${libPath}"
    '';

  doCheck = false;