FS#72576 - [helix] hx command not working

Attached to Project: Community Packages
Opened by Nowshed Hossain Imran (now-im) - Friday, 29 October 2021, 15:09 GMT
Last edited by Orhun Parmaksız (orhun) - Saturday, 20 November 2021, 08:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Orhun Parmaksız (orhun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In helix package docs, 'hx' should work the same as 'helix' command. But in arch package, only 'helix' command works.
https://docs.helix-editor.com/usage.html
This task depends upon

Closed by  Orhun Parmaksız (orhun)
Saturday, 20 November 2021, 08:53 GMT
Reason for closing:  Won't fix
Additional comments about closing:  This is not possible due to the conflict with the 'hex' package.
Comment by Orhun Parmaksız (orhun) - Friday, 19 November 2021, 20:12 GMT
'hex' package already provides a binary called 'hx':

$ pacman -Fx /usr/bin/hx
usr/bin/hx is owned by community/hex 0.4.1-1


Thus distributing a binary called 'hx' would cause conflict with the 'hex' package and also makes two packages not installable at the same time.

That's why there is a post-upgrade message that recommends aliasing 'hx' to 'helix': https://github.com/archlinux/svntogit-community/blob/packages/helix/trunk/helix.install
Comment by Nowshed Hossain Imran (now-im) - Saturday, 20 November 2021, 06:22 GMT
Got it. Might have missed it while installing.