Commit 47c6ab8f authored by Marcell Tóth's avatar Marcell Tóth
Browse files

free42: fix desktop icons

parent 96f4f2b9
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
      exec = "free42bin";
      type = "Application";
      comment = "A software clone of HP-42S Calculator";
      icon = "free42";
      categories = [
        "Utility"
        "Calculator"
@@ -56,6 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
      exec = "free42dec";
      type = "Application";
      comment = "A software clone of HP-42S Calculator";
      icon = "free42";
      categories = [
        "Utility"
        "Calculator"
@@ -87,8 +89,8 @@ stdenv.mkDerivation (finalAttrs: {
    install -m644 gtk/README $out/share/doc/free42/README-GTK
    install -m644 README $out/share/doc/free42/README

    install -m644 gtk/icon-48x48.xpm $out/share/icons/hicolor/48x48/apps
    install -m644 gtk/icon-128x128.xpm $out/share/icons/hicolor/128x128/apps
    install -m644 gtk/icon-48x48.xpm $out/share/icons/hicolor/48x48/apps/free42.xpm
    install -m644 gtk/icon-128x128.xpm $out/share/icons/hicolor/128x128/apps/free42.xpm
    install -m644 skins/* $out/share/free42/skins

    runHook postInstall