Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

build.lib.renderers

build.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)

build.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