overlays
lib.overlays.mkOverlay
Generate an overlay to use with pyproject.nix’s build infrastructure.
See https://pyproject-nix.github.io/pyproject.nix/lib/build.html
- structured function argument
-
sourcePreference-
Whether to prefer sources from either: - wheel - sdist See FAQ for more information.
environ-
PEP-508 environment customisations. Example: { platform_release = “5.10.65”; }
spec-
Dependency specification used for conflict resolution. By default mkPyprojectOverlay resolves the entire workspace, but that will not work for resolutions with conflicts.
localProjects-
Local projects loaded from lock1.loadLocalPackages
config-
Workspace config
workspaceRoot-
Workspace root
lock-
Lock parsed by lock1.parseLock