nixpkgs-fmt on AUR (Arch User Repository)

Last updated: November 25,2024

1. Install "nixpkgs-fmt" 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 nixpkgs-fmt on Arch using YAY

$ yay -S nixpkgs-fmt

* (Optional) Uninstall nixpkgs-fmt on Arch using YAY

$ yay -Rns nixpkgs-fmt

2. Manually Install "nixpkgs-fmt" via AUR

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

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

b. Clone nixpkgs-fmt's git locally

$ git clone https://aur.archlinux.org/nixpkgs-fmt.git ~/nixpkgs-fmt

c. Go to ~/nixpkgs-fmt folder and install it

$ cd ~/nixpkgs-fmt $ makepkg -si

3. Information about the nixpkgs-fmt package on Arch User Repository (AUR)

ID: 1388209
Name: nixpkgs-fmt
PackageBaseID: 195296
PackageBase: nixpkgs-fmt
Version: 1.3.0-2
Description: Nix code formatter for nixpkgs
URL: https://github.com/nix-community/nixpkgs-fmt
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: Misaka13514
Submitter: Misaka13514
FirstSubmitted: 1688396597
LastModified: 1705588287
URLPath: /cgit/aur.git/snapshot/nixpkgs-fmt.tar.gz