diff --git a/user/helix/template.py b/user/helix/template.py index 8fc37eea7c0..7cc7149ca1c 100644 --- a/user/helix/template.py +++ b/user/helix/template.py @@ -2,6 +2,9 @@ pkgver = "25.01.1" pkgrel = 0 build_style = "cargo" +make_build_env = { + "RUSTFLAGS": "-C target-feature=-crt-static", +} hostmakedepends = ["cargo-auditable", "git"] makedepends = ["rust-std"] pkgdesc = "Fast modal terminal-based text editor" @@ -9,7 +12,9 @@ url = "https://github.com/helix-editor/helix" source = f"{url}/releases/download/{pkgver}/helix-{pkgver}-source.tar.xz" sha256 = "12508c4f5b9ae6342299bd40d281cd9582d3b51487bffe798f3889cb8f931609" -env = {"HELIX_DEFAULT_RUNTIME": "/usr/lib/helix/runtime"} +env = { + "HELIX_DEFAULT_RUNTIME": "/usr/lib/helix/runtime", +} if self.profile().wordsize == 32: broken = "needs atomic64"