Utilities for Arch Linux development, in a flake.
- Nixpkgs
- pacman
- arch-install-scripts
- paru
- Archix
- archlinux-keyring
asp(deprecated)- devtools
- pacman-contrib
- namcap
- NixOS module to set up paru for chroot build
pacman
and its dependents may expect the existence of valid /etc/pacman.conf
, /etc/pacman.d/mirrorlist
and /etc/makepkg.conf
, so you need to set them up before running any programs in this flake. If you manage your NixOS configuration with flakes, you can use the Archix modules for an easy setup:
# Add the followings to flake.nix
{
inputs.archix.url = "github:SamLukeYes/archix";
outputs = { ... }@inputs:
{
nixosConfigurations.your-hostname = {
modules = [
inputs.archix.nixosModules.default
];
};
};
}
Then you can use the utilities in this flake, e.g. build a package in a clean chroot:
$ nix run "github:SamLukeYes/archix#devtools" -- build
GPL-3.0 or later