mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
torbrowser: hard-code path to wrapper in desktop file
(cherry picked from commit f2cf8ffdcb)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user