ReqPack Lua plugin for native nix installations.
Plugin wraps modern nix profile workflow for install, remove, update, and list operations. It uses nix search for search, info, outdated, and package resolution.
- bootstraps a single-user Nix install with the official installer when no
nixbinary is available - passes
--extra-experimental-features 'nix-command flakes'on every Nix CLI call soprofileandsearchwork without host config changes - maps simple names like
hellotonixpkgs#hello - keeps explicit installables unchanged, for example
nixpkgs#hello,github:owner/repo#pkg,.#pkg,/path/to/flake - uses
nix profile list --jsonfor installed-state checks and listing - reports outdated mutable
nixpkgsinstalls by comparing installed profile version with currentnix searchresult
installinstallLocalremoveupdatelistsearchinforesolvePackage
Run hermetic plugin tests from plugin root:
rqp test-plugin --plugin ./run.lua --preset coreinstallLocal()treats local path as native Nix installable and forwards it tonix profile install- package-specific updates rely on Nix profile entry names and only run when newer version is detected
- exact package pinning through separate ReqPack
versionfield is not supported bynix profile; use explicit Nix installables when needed