about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/applications/networking/skype/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/networking/skype/default.nix b/pkgs/applications/networking/skype/default.nix
index 98cbfdb7c57d9..39ed744a120a8 100644
--- a/pkgs/applications/networking/skype/default.nix
+++ b/pkgs/applications/networking/skype/default.nix
@@ -53,6 +53,18 @@ stdenv.mkDerivation rec {
     EOF
 
     chmod +x $out/bin/skype
+
+    # Desktop icon for Skype
+    patch skype.desktop << EOF
+    5c5
+    < Icon=skype.png
+    ---
+    > Icon=$out/opt/skype/icons/SkypeBlue_48x48.png
+    EOF
+    echo hi
+    cat skype.desktop
+    ensureDir $out/share/applications
+    mv skype.desktop $out/share/applications
   '';
 
   meta = {