summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bantyev <balsoft@balsoft.ru>2023-02-17 01:57:28 +0400
committerAlexander Bantyev <balsoft@balsoft.ru>2023-02-17 01:57:28 +0400
commitff494a0c1b2c6d841514122450397ea42efbbd00 (patch)
treee48c096c15d8d3b41eec30b972f14b666cd048fd
parentMerge pull request #205878 from luizirber/lirber/screed (diff)
downloadnixpkgs-origin/helix-add-desktop-file.tar.gz
helix: add desktop item and iconorigin/helix-add-desktop-file
-rw-r--r--pkgs/applications/editors/helix/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/editors/helix/default.nix b/pkgs/applications/editors/helix/default.nix
index 55135c255bfb..5c450e21748c 100644
--- a/pkgs/applications/editors/helix/default.nix
+++ b/pkgs/applications/editors/helix/default.nix
@@ -23,6 +23,9 @@ rustPlatform.buildRustPackage rec {
mkdir -p $out/lib
cp -r runtime $out/lib
installShellCompletion contrib/completion/hx.{bash,fish,zsh}
+ mkdir -p $out/share/{applications,icons}
+ cp contrib/Helix.desktop $out/share/applications
+ cp contrib/helix.png $out/share/icons
'';
postFixup = ''
wrapProgram $out/bin/hx --set HELIX_RUNTIME $out/lib/runtime