Package Details: prek 0.4.10-1

Git Clone URL: https://aur.archlinux.org/prek.git (read-only, click to copy)
Package Base: prek
Description: ⚡ Better 'pre-commit', re-engineered in Rust
Upstream URL: https://github.com/j178/prek
Licenses: MIT
Submitter: Jamison
Maintainer: Jamison
Last Packager: Jamison
Votes: 8
Popularity: 1.24
First Submitted: 2025-10-16 20:30 (UTC)
Last Updated: 2026-07-16 14:16 (UTC)

Required by (0)

Sources (1)

Latest Comments

m4tx commented on 2026-02-26 16:34 (UTC)

Build fails when ~/.cargo/config.toml overrides the default target dir. Please use the --target-dir option when building to solve this - like so: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=tundra

Yamashiro commented on 2026-02-19 10:07 (UTC)

I think the problem with a separate version of Rust being pulled is the target argument, cargo fetch --locked should be enough, since the compiler is expected to be installed (either through the rust package or through rustup). Also, instead of rust, cargo should be the dependency?

Jamison commented on 2026-01-23 17:32 (UTC)

I believe it uses the core rust package, https://archlinux.org/packages/?name=rust. You can get that package from the core testing repository for later versions. I believe you can also install any of the rust-beta-bin, rustup-git, rust-git, rustup packages to get their respective versions (see Dependencies above), but I'm not 100% sure -- I personally just use stable core packages.

Derson5 commented on 2026-01-23 04:51 (UTC)

I' not sure it is good place to ask this question. Is this package always download rust in version '1.92-x86_64-unknown-linux-gnu', instead using stable or it is original rust package problem? I have few rust software from AUR and they always use stable or nightly, but never are pinpointed to specific rust release.

notizblock commented on 2025-11-21 12:02 (UTC)

Could you include the shell completions from bash, fish and zsh?

It seems that they need to be generated from the binary itself, according to: https://prek.j178.dev/installation/#shell-completion