mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
libreoffice: unbreak .desktop files. Hopefully fixes nixos/nixos#252.
This commit is contained in:
parent
19c72ae32c
commit
8b9269ef66
|
@ -193,8 +193,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
ln -s $out/lib/libreoffice/share/xdg $out/share/applications
|
||||
for f in $out/share/applications/*.desktop; do
|
||||
substituteInPlace "$f" --replace "Exec=libreoffice4.0" "$out/bin/soffice"
|
||||
substituteInPlace "$f" --replace "Exec=libreoffice" "$out/bin/soffice"
|
||||
substituteInPlace "$f" --replace "Exec=libreoffice4.0" "Exec=$out/bin/soffice"
|
||||
substituteInPlace "$f" --replace "Exec=libreoffice" "Exec=$out/bin/soffice"
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue