Commit 99cb935f authored by K900's avatar K900
Browse files

telegram-desktop: remove crimes

This may have worked 4 years ago, but it most definitely does not work on the binary wrapper.
parent da5c97ee
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -181,10 +181,7 @@ stdenv.mkDerivation rec {
      "''${gappsWrapperArgs[@]}" \
      "''${qtWrapperArgs[@]}" \
      --prefix LD_LIBRARY_PATH : "${xorg.libXcursor}/lib" \
      --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \
      --set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR"
    sed -i $out/bin/telegram-desktop \
      -e "s,'XDG-RUNTIME-DIR',\"\''${XDG_RUNTIME_DIR:-/run/user/\$(id --user)}\","
      --suffix PATH : ${lib.makeBinPath [ xdg-utils ]}
  '';

  passthru = {