renderers

lib.renderers.mkDerivation

Type: mkDerivation :: AttrSet -> AttrSet

Renders a project as an argument that can be passed to stdenv.mkDerivation.

Evaluates PEP-508 environment markers to select correct dependencies for the platform but does not validate version constraints.

structured function argument

: project

: Loaded pyproject.nix project

environ

: PEP-508 environment

extras

: Extras to enable (markers only, optional-dependencies are not enabled by default)

lib.renderers.mkDerivationEditable

Type: mkDerivation :: AttrSet -> AttrSet

Renders a project as an argument that can be passed to stdenv.mkDerivation.

Evaluates PEP-508 environment markers to select correct dependencies for the platform but does not validate version constraints.

structured function argument

: project

: Loaded pyproject.nix project

environ

: PEP-508 environment

extras

: Extras to enable (markers only, optional-dependencies are not enabled by default)

root

: Editable root directory as a string