mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 08:28:20 +00:00
torbrowser: hard-code path to wrapper in desktop file
This commit is contained in:
parent
2ad44935f1
commit
f2cf8ffdcb
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue