packages

pyproject.nix's base package set only contains the scaffolding for a Python package set, but no actual Python packages.

Creating a base package set

# Returns a scope with base packages.
pkgs.callPackage pyproject-nix.build.packages {
  python = interpreter;
}

Build-system packages

For package managers that lack the ability so solve build-system dependencies pyproject.nix maintains a base package set. This set is much smaller and more narrow in scope than nixpkgs, it's purpose is only to package build-system dependencies, which are missing from Python package manager lock files, so needs to be supplemented from elsewhere.

Overriding scope

See the nixpkgs documentation.