Merge pull request #216700 from NixOS/helix-add-desktop-file
helix: add desktop item and icon
This commit is contained in:
commit
016d912269
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue