diff --git a/pkgs/applications/misc/nix-tour/default.nix b/pkgs/applications/misc/nix-tour/default.nix index ac10d3eece35..fb1e3a12fcaa 100644 --- a/pkgs/applications/misc/nix-tour/default.nix +++ b/pkgs/applications/misc/nix-tour/default.nix @@ -4,6 +4,8 @@ , electron , runtimeShell , makeWrapper +, copyDesktopItems +, makeDesktopItem }: stdenv.mkDerivation rec { @@ -17,7 +19,7 @@ stdenv.mkDerivation rec { sha256 = "09b1vxli4zv1nhqnj6c0vrrl51gaira94i8l7ww96fixqxjgdwvb"; }; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeWrapper copyDesktopItems ]; buildInputs = [ electron ]; installPhase = '' @@ -27,6 +29,18 @@ stdenv.mkDerivation rec { --add-flags $out/share/nix-tour/electron-main.js ''; + desktopItems = [ + (makeDesktopItem { + name = pname; + desktopName = "Tour of Nix"; + genericName = "Tour of Nix"; + comment = + "Interactive programming guide dedicated to the nix programming language"; + categories = [ "Development" "Documentation" ]; + exec = "nix-tour"; + }) + ]; + meta = with lib; { description = "'the tour of nix' from nixcloud.io/tour as offline version"; homepage = "https://nixcloud.io/tour"; diff --git a/wklkl b/wklkl deleted file mode 100644 index 98e2b03a5204..000000000000 --- a/wklkl +++ /dev/null @@ -1,3 +0,0 @@ -review 165492 - -gnome3.eog gnome3.gnome-disk-utility lsd qbittorrent ripgrep sway