Commit 3f7e2ac8 authored by David Wronek's avatar David Wronek
Browse files

wayvr: install desktop file and icon

parent 1169a4de
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -75,6 +75,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
  ]
  ++ lib.optionals withOpenVR [ "openvr" ];

  postInstall = ''
    install -D wayvr/wayvr.desktop -t $out/share/applications
    install -D wayvr/wayvr.svg -t $out/share/icons/hicolor/scalable/apps
  '';

  passthru = {
    tests.testVersion = testers.testVersion { package = wayvr; };