Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Nix
  3. nixpkgs-review

nixpkgs-review

MITPython4.0.0

A tool to automatically build and test packages changed in NixOS/nixpkgs pull requests.

GitHubGitHub
644 stars107 forks0 contributors

What is nixpkgs-review?

nixpkgs-review is a tool for NixOS/nixpkgs contributors that automates building and testing packages affected by pull requests or local changes. It fetches the changes, evaluates what needs to be rebuilt, and provides an environment to test the results, ensuring packages work correctly before merging.

Target Audience

NixOS and nixpkgs contributors, maintainers, and package reviewers who need to verify that changes to the package set do not introduce build failures or regressions.

Value Proposition

It saves significant manual effort by automating the build and test cycle for nixpkgs changes, integrates seamlessly with GitHub workflows, and offers flexible options for different review scenarios like cross-compilation or partial builds.

Overview

Review pull-requests on https://github.com/NixOS/nixpkgs

Use Cases

Best For

  • Reviewing pull requests on the NixOS/nixpkgs repository
  • Testing local package changes before submitting a PR
  • Automating build verification for mass-rebuilds
  • Cross-compiling packages for different architectures
  • Running NixOS tests for changed modules
  • Posting automated build reports as GitHub PR comments

Not Ideal For

  • Reviewing changes that only affect documentation or non-package files without build implications
  • Environments with strict network isolation or no GitHub API access
  • Users who need quick, lightweight checks without local building overhead
  • Projects using custom Nix expressions outside the standard nixpkgs structure

Pros & Cons

Pros

Automated Evaluation and Build

Fetches PR changes, determines affected packages using ofborg or local evaluation, and builds them automatically, reducing manual steps as shown in the usage examples.

Interactive Testing Shell

Provides a nix-shell with successfully built packages for hands-on testing, allowing direct verification of functionality, as demonstrated in the README output.

GitHub Integration

Can post formatted build reports as PR comments and even approve or merge PRs, enhancing collaboration workflows, with support for GitHub tokens via gh or manual setup.

Flexible Build Options

Supports building subsets of packages, cross-compilation, remote builders, and NixOS tests, catering to various review scenarios like mass-rebuilds or specific architectures.

Cons

Limited Special Package Sets

As admitted in the README, pkgsMusl and pkgsStatic do not support full evaluation, requiring manual package specification with --package, which adds complexity.

Experimental Sandboxing

The --sandbox flag is experimental and may break package tests, reducing reliability for secure testing, and it requires bubblewrap installation.

GitHub API Dependency

Full functionality like posting results requires a GitHub token, adding setup overhead and potential rate limit issues for unauthenticated requests.

Resource Intensive

Local builds can be slow and compute-heavy, especially for large PRs, without configured remote builders, impacting review speed on limited hardware.

Frequently Asked Questions

Quick Stats

Stars644
Forks107
Contributors0
Open Issues67
Last commit6 days ago
CreatedSince 2018

Tags

#build-with-buildbot#hacktoberfest#pull-request-review#command-line-tool#ci-cd#nixos#nix#package-management#managed-by-renovate#nixpkgs#automation

Built With

N
Nix
P
Python

Included in

Nix5.0k
Auto-fetched 1 day ago

Related Projects

DevboxDevbox

Instant, easy, and predictable development environments

Stars12,420
Forks362
Last commit8 days ago
floxflox

The Deterministic Foundation for your SDLC

Stars4,181
Forks136
Last commit1 day ago
nix-direnvnix-direnv

A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]

Stars2,803
Forks150
Last commit5 days ago
atticattic

Multi-tenant Nix Binary Cache

Stars2,130
Forks190
Last commit3 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub