nixfmt on AUR (Arch User Repository)

Last updated: September 20,2024

1. Install "nixfmt" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install nixfmt on Arch using YAY

$ yay -S nixfmt

* (Optional) Uninstall nixfmt on Arch using YAY

$ yay -Rns nixfmt

2. Manually Install "nixfmt" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone nixfmt's git locally

$ git clone https://aur.archlinux.org/nixfmt.git ~/nixfmt

c. Go to ~/nixfmt folder and install it

$ cd ~/nixfmt $ makepkg -si

3. Information about the nixfmt package on Arch User Repository (AUR)

ID: 1345532
Name: nixfmt
PackageBaseID: 154687
PackageBase: nixfmt
Version: 0.6.0-4
Description: A formatter for Nix code
URL: https://github.com/serokell/nixfmt
NumVotes: 2
Popularity: 0
OutOfDate:
Maintainer: JamieMagee
Submitter: JamieMagee
FirstSubmitted: 1592752403
LastModified: 1698796169
URLPath: /cgit/aur.git/snapshot/nixfmt.tar.gz