torbrowser: hard-code path to wrapper in desktop file

This commit is contained in:
Joachim Fasting 2017-03-26 16:20:08 +02:00
parent 2ad44935f1
commit f2cf8ffdcb
No known key found for this signature in database
GPG key ID: 7544761007FE4E08

View file

@ -275,6 +275,8 @@ stdenv.mkDerivation rec {
# Install .desktop item
mkdir -p $out/share/applications
cp $desktopItem/share/applications"/"* $out/share/applications
sed -i $out/share/applications/torbrowser.desktop \
-e "s,Exec=.*,Exec=$out/bin/tor-browser,"
# Install icons
mkdir -p $out/share/pixmaps