Package Details: helix-git 23.05.450.gba0637149-1

Git Clone URL: (read-only, click to copy)
Package Base: helix-git
Description: A text editor written in rust
Upstream URL:
Conflicts: helix
Provides: hx
Submitter: wojciechkepka
Maintainer: Robin_Jadoul
Last Packager: Robin_Jadoul
Votes: 7
Popularity: 0.002399
First Submitted: 2021-06-01 19:08 (UTC)
Last Updated: 2023-11-02 13:23 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

marijns commented on 2023-11-06 10:47 (UTC)

Can we have an r prefix in the version number to denote the number of commits difference since the listed tag from git describe --tags? This is what the s/\([^-]*-g\)/r\1/ portion is for on

git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'


jonas-w commented on 2023-10-25 20:57 (UTC)

The git package is missing in the makedepends, as per

Otherwise, one can't build this package in a clean chroot.

ModProg commented on 2023-09-23 19:27 (UTC)

Would you consider installing the completions:

e.g. fish should go into /usr/share/fish/completions/ probably

PotatoChronicler commented on 2023-04-18 17:29 (UTC)

This package conflicts with community/hex, which already contains /usr/bin/hx

seo.disparate commented on 2023-03-09 04:42 (UTC)

A single rm -r "${pkgdir}${_rt_path}/grammars/sources" at the end of package() removes the extra unnecessary files and has been working for me.

seo.disparate commented on 2023-02-27 11:12 (UTC)

I think this package's PKGBUILD should use a package() more similar to the one used for the official repository's PKGBUILD for helix:

Currently, helix-git pulls in sources of the "runtime/grammars" as well as each source's .git directories, adding unneeded additional files to the resulting package. This doesn't happen in helix's PKGBUILD. I tested adding a find command to delete the unnecessary files/dirs in the end of package(), and that significantly reduces the file-size of the resulting package without breaking helix.

Robin_Jadoul commented on 2022-12-05 14:23 (UTC)

@djemil, interesting suggestion, thanks. Not doing the --abbrev=0 is probably even better since it gets rid of the rev-parse and probably obsoletes the rev-list too.

@wsippel, building with (fat) lto seems to work just fine for me, besides the obvious slower compilation time.

wsippel commented on 2022-11-21 12:53 (UTC)

Might be a good idea to override the lto build option set in makepkg.conf for this package? options=('!lto') should work I believe. Helix builds with thin lto by default anyway, but fails with fat lto, which is what the global setting appears to force.

djemil commented on 2022-11-21 12:40 (UTC)

replace: printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" with: printf "%s.r%s.%s" "$(git describe --tags --abbrev=0)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | sed 's/^v//;s/-/./g'

to fix version example: helix-22.08.1.r3767.0b2bb061b-1 vs helix-r3731.652497bd-1

Robin_Jadoul commented on 2022-08-02 01:03 (UTC)

To fix the blank screen, you need to remove the --all-features flag being passed to cargo build. In particular, it enables the --features integration flag, which enables integration testing and disables rendering.