Commit 77277dd0 authored by Felix Buehler's avatar Felix Buehler
Browse files

torcs: add desktop item

parent 237e7780
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -30,6 +30,11 @@ stdenv.mkDerivation rec {
    })
  ];

  postInstall = ''
    install -D -m644 Ticon.png $out/share/pixmaps/torcs.png
    install -D -m644 torcs.desktop $out/share/applications/torcs.desktop
  '';

  postPatch = ''
    sed -i -e s,/bin/bash,`type -P bash`, src/linux/torcs.in
  '';