WIP-python-pyproject - options

buildPythonPackage.catchConflicts

Raise an error if two packages are installed with the same name TODO: For cross we probably need a different PYTHONPATH, or not add the runtime deps until after buildPhase.

Type: boolean

Default:

''
  true if the host and build platforms are the same, false otherwise.
''

Declared by:

buildPythonPackage.disabled

used to disable derivation, useful for specific python versions

Type: boolean

Default: false

Declared by:

buildPythonPackage.disabledTestPaths

Test paths to ignore in checkPhase

Type: list of anything

Default: [ ]

Declared by:

buildPythonPackage.disabledTests

Disable running specific unit tests

Type: list of string

Default: [ ]

Declared by:

buildPythonPackage.dontUsePipInstall

Don’t use Pip to install a wheel Note this is actually a variable for the pipInstallPhase in pip’s setupHook. It’s included here to prevent an infinite recursion.

Type: boolean

Default: false

Declared by:

buildPythonPackage.dontWrapPythonPrograms

Skip wrapping of python programs altogether

Type: boolean

Default: false

Declared by:

buildPythonPackage.format

Several package formats are supported: “setuptools” : Install a common setuptools/distutils based package. This builds a wheel. “wheel” : Install from a pre-compiled wheel. “flit” : Install a flit package. This builds a wheel. “pyproject”: Install a package using a pyproject.toml file (PEP517). This builds a wheel. “egg”: Install a package from an egg. “other” : Provide your own buildPhase and installPhase.

Type: string

Default: "setuptools"

Declared by:

buildPythonPackage.makeWrapperArgs

Additional arguments to pass to the makeWrapper function, which wraps generated binaries.

Type: list of string

Default: [ ]

Declared by:

buildPythonPackage.permitUserSite

Skip setting the PYTHONNOUSERSITE environment variable in wrapped programs

Type: boolean

Default: false

Declared by:

buildPythonPackage.pipInstallFlags

Extra flags passed to pip install

Type: list of string

Default: [ ]

Declared by:

buildPythonPackage.pytestFlagsArray

Extra flags passed to pytest

Type: list of string

Default: [ ]

Declared by:

buildPythonPackage.pythonImportsCheck

Check whether importing the listed modules works

Type: list of string

Default: [ ]

Declared by:

buildPythonPackage.removeBinBytecode

Remove bytecode from bin folder. When a Python script has the extension .py, bytecode is generated Typically, executables in bin have no extension, so no bytecode is generated. However, some packages do provide executables with extensions, and thus bytecode is generated.

Type: boolean

Default: true

Declared by:

deps

All dependencies of the package. This option should be set by the “outer world” and can be used to inherit attributes from pkgs or inputs etc.

By separating the task of retrieving things from the outside world, it is ensured that the dependencies are overridable. Nothing will stop users from adding nixpkgs itself as a dependency, but this will make it very hard for the user of the package to override any dependencies, because they’d have to figure out a way to insert their changes into the Nixpkgs fixpoint. By adding specific attributes to deps instead, the user has a realistic chance of overriding those dependencies.

So deps should be specific, but not overly specific. For instance, the caller shouldn’t have to know the version of a dependency in order to override it. The name should suffice. (e.g. nix = nixVersions.nix_2_12 instead of inherit (nixVersions) nix_2_12.

Type: lazy attribute set of raw value

Default: { }

Example:

{nixpkgs, ...}: {
  inherit (nixpkgs) stdenv;
  inherit (nixpkgs.haskellPackages) pandoc;
}

Declared by:

deps.python

The python interpreter package to use

Type: package

Declared by:

deps.stdenv

The stdenv used for building this package

Type: raw value

Declared by:

env

environment variables passed to the build environment

Type: attribute set of (null or boolean or signed integer or string or path or package or list of (boolean or signed integer or string or path or package))

Default: { }

Declared by:

lock.content

The content of the lock file. All fields declared via lock.fields are contained pointing to their respective values.

Type: anything

Declared by:

lock.extraScripts

Extra shell scripts to execute when nix run .#{package}.lock is called.

This allows adding custom logic to the lock file generation.

Type: list of path

Default: [ ]

Declared by:

lock.fields

Fields of the lock file

Type: attribute set of (submodule)

Default: { }

Example:

{
  pname = true;
  version = true;
}

Declared by:

lock.fields.<name>.default

The default value in case the lock file doesn’t exist or doesn’t yet contain the field.

Type: null or anything

Default: null

Declared by:

lock.fields.<name>.script

A script to refresh the value of this lock file field. The script should write the result as json file to $out.

Type: path

Declared by:

lock.invalidationData

Pass any data that should invalidate the lock file when changed. This is useful for example when the lock file should be regenerated when the requirements change.

Type: anything

Default: { }

Example:

{
  pip = {
    lockVersion = "2";
    requirements = [
      "requests"
      "pillow"
    ];
  };
}

Declared by:

lock.lib.computeFODHash

Helper function to write the hash of a given FOD to $out.

Type: function that evaluates to a(n) path (read only)

Declared by:

lock.refresh

Script to refresh the lock file

Type: package (read only)

Declared by:

mkDerivation.enableParallelBuilding

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.enableParallelChecking

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.__contentAddressed

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.__darwinAllowLocalNetworking

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.__impureHostDeps

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.__propagatedImpureHostDeps

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.__structuredAttrs

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.allowSubstitutes

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.allowedReferences

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

mkDerivation.allowedRequisites

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

mkDerivation.args

This option has no description.

Type: null or (list of (string or path))

Default: null

Declared by:

mkDerivation.buildFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.buildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.buildPhase

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.builder

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

mkDerivation.checkFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.checkInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.checkPhase

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.checkTarget

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.cmakeFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.configureFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.configurePhase

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.configurePlatforms

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.configureScript

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.depsBuildBuild

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.depsBuildBuildPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.depsBuildTarget

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.depsBuildTargetPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.depsHostHost

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.depsHostHostPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.depsTargetTarget

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.depsTargetTargetPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.disallowedReferences

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

mkDerivation.disallowedRequisites

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

mkDerivation.distFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.distPhase

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.distTarget

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.doCheck

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.doDist

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.doInstallCheck

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontAddDisableDepTrack

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontAddPrefix

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontAddStaticConfigureFlags

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontBuild

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontConfigure

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontCopyDist

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontDisableStatic

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontFixLibtool

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontFixup

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontInstall

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontMakeSourcesWritable

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontMoveBin

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontPatch

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontPatchELF

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontPatchShebangs

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontPruneLibtoolFiles

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontStrip

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontStripHost

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontStripTarget

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.dontUnpack

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.exportReferenceGraph

This option has no description.

Type: null or (list of (string or package))

Default: null

Declared by:

mkDerivation.fixupPhase

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.forceShare

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.hardeningDisable

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.hardeningEnable

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.impureEnvVars

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

mkDerivation.installCheckFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.installCheckInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.installCheckPhase

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.installCheckTarget

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.installFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.installPhase

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.installTargets

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.makeFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.makefile

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.mesonFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.meta

This option has no description.

Type: null or (attribute set)

Default: { }

Declared by:

mkDerivation.nativeBuildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.nativeCheckInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.outputHash

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.outputHashAlgo

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.outputHashMode

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.outputs

This option has no description.

Type: null or (list of string)

Default:

[
  "out"
]

Declared by:

mkDerivation.passAsFile

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

mkDerivation.passthru

This option has no description.

Type: null or (attribute set)

Default: { }

Declared by:

mkDerivation.patchFlags

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.patchPhase

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.patches

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.phases

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

mkDerivation.pos

This option has no description.

Type: null or (attribute set)

Default: { }

Declared by:

mkDerivation.postBuild

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.postCheck

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.postConfigure

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.postDist

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.postFixup

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.postInstalCheck

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.postInstall

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.postPatch

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.postPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.postUnpack

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.preBuild

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.preBuildPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.preCheck

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.preConfigure

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.preConfigurePhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.preDist

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.preDistPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.preFixup

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.preFixupPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.preInstall

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.preInstallCheck

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.preInstallPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.prePatch

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.prePhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.preUnpack

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.preferLocalBuild

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

mkDerivation.prefix

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.prefixKey

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.propagatedBuildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.propagatedNativeBuildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.propagatedSandboxProfile

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.realBuilder

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

mkDerivation.requiredSystemFeatures

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

mkDerivation.sandboxProfile

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.separateDebugInfo

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.setSourceRoot

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.setupHook

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

mkDerivation.shellHook

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.sourceRoot

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

mkDerivation.src

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

mkDerivation.srcs

This option has no description.

Type: null or (list of (string or path or package))

Default: null

Declared by:

mkDerivation.strictDeps

This option has no description.

Type: null or boolean

Default: null

Declared by:

mkDerivation.stripAllFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.stripAllList

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.stripDebugFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.stripDebugList

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.tarballs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

mkDerivation.unpackCmd

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.unpackPhase

This option has no description.

Type: null or string

Default: null

Declared by:

mkDerivation.version

This option has no description.

Type: null or string

Default: null

Declared by:

name

The name of the package

Type: string

Declared by:

paths.package

Path to the directory containing the definition of the current package. Relative to ‘paths.projectRoot’.

This helps locating package definitions for lock & update scripts.

Type: path or string

Declared by:

paths.cacheFile

Path to the eval cache file of the current package. Relative to “${paths.projectRoot}/${paths.package}”".

Type: string

Default: "cache.json"

Declared by:

paths.lockFile

Path to the lock file of the current package. Relative to “${paths.projectRoot}/${paths.package}”".

Type: string

Default: "lock.json"

Declared by:

paths.projectRoot

Path to the root of the project on which dream2nix operates. Must contain the marker file specified by ‘paths.projectRootFile’

This helps locating lock files at evaluation time.

Type: path

Example: ./.

Declared by:

paths.projectRootFile

File name to look for to determine the root of the project. Ensure ‘paths.projectRoot’ contains a file named like this.

This helps locating package definitions for lock & update scripts.

Type: string

Default: ".git"

Example: ".git"

Declared by:

pip

This option has no description.

Type: submodule

Declared by:

pip.buildDependencies

python packages to be added only as buildInputs. These should be somehow installable from requirementsList or requirementsFiles too; listing them here doesn’t do that automatically.

Type: attribute set of boolean

Default:

{
  cython = true;
  flit-core = true;
  flit-scm = true;
  hatch-fancy-pypi-readme = true;
  hatch-nodejs-version = true;
  hatch-vcs = true;
  hatchling = true;
  pbr = true;
  pdm-pep517 = true;
  poetry-core = true;
  poetry-dynamic-versioning = true;
  setuptools = true;
  setuptools-odoo = true;
  setuptools-scm = true;
  versioneer = true;
  wheel = true;
}

Example:

{
  setuptools-scm = false; # To disable the default
  easy_install = true; # To select easy_install as a buildInput
}

Declared by:

pip.buildExtras

list of python “extras” to build with. This can be a subset of the extras in your lock file.

Type: list of string

Default: [ ]

Declared by:

pip.env

environment variables exported while locking

Type: attribute set of string

Default: { }

Example:

{
  PIP_FIND_LINKS = "${config.deps.setuptools.dist}";
}

Declared by:

pip.flattenDependencies

Use all dependencies as top-level dependencies

Type: boolean

Default: false

Declared by:

pip.ignoredDependencies

list of dependencies to ignore

Type: list of string

Default:

[
  "wheel"
]

Declared by:

pip.nativeBuildInputs

list of native packages to include during metadata generation

Type: list of package

Default: [ ]

Declared by:

pip.overrideAll

Overrides applied on all dependencies.

Type: module

Default: { }

Example:

{
  mkDerivation = {
    doCheck = false;
  };
}

Declared by:

pip.overrideAll.buildPythonPackage.catchConflicts

Raise an error if two packages are installed with the same name TODO: For cross we probably need a different PYTHONPATH, or not add the runtime deps until after buildPhase.

Type: boolean

Default:

''
  true if the host and build platforms are the same, false otherwise.
''

Declared by:

pip.overrideAll.buildPythonPackage.disabled

used to disable derivation, useful for specific python versions

Type: boolean

Default: false

Declared by:

pip.overrideAll.buildPythonPackage.disabledTestPaths

Test paths to ignore in checkPhase

Type: list of anything

Default: [ ]

Declared by:

pip.overrideAll.buildPythonPackage.disabledTests

Disable running specific unit tests

Type: list of string

Default: [ ]

Declared by:

pip.overrideAll.buildPythonPackage.dontUsePipInstall

Don’t use Pip to install a wheel Note this is actually a variable for the pipInstallPhase in pip’s setupHook. It’s included here to prevent an infinite recursion.

Type: boolean

Default: false

Declared by:

pip.overrideAll.buildPythonPackage.dontWrapPythonPrograms

Skip wrapping of python programs altogether

Type: boolean

Default: false

Declared by:

pip.overrideAll.buildPythonPackage.format

Several package formats are supported: “setuptools” : Install a common setuptools/distutils based package. This builds a wheel. “wheel” : Install from a pre-compiled wheel. “flit” : Install a flit package. This builds a wheel. “pyproject”: Install a package using a pyproject.toml file (PEP517). This builds a wheel. “egg”: Install a package from an egg. “other” : Provide your own buildPhase and installPhase.

Type: string

Default: "setuptools"

Declared by:

pip.overrideAll.buildPythonPackage.makeWrapperArgs

Additional arguments to pass to the makeWrapper function, which wraps generated binaries.

Type: list of string

Default: [ ]

Declared by:

pip.overrideAll.buildPythonPackage.permitUserSite

Skip setting the PYTHONNOUSERSITE environment variable in wrapped programs

Type: boolean

Default: false

Declared by:

pip.overrideAll.buildPythonPackage.pipInstallFlags

Extra flags passed to pip install

Type: list of string

Default: [ ]

Declared by:

pip.overrideAll.buildPythonPackage.pytestFlagsArray

Extra flags passed to pytest

Type: list of string

Default: [ ]

Declared by:

pip.overrideAll.buildPythonPackage.pythonImportsCheck

Check whether importing the listed modules works

Type: list of string

Default: [ ]

Declared by:

pip.overrideAll.buildPythonPackage.removeBinBytecode

Remove bytecode from bin folder. When a Python script has the extension .py, bytecode is generated Typically, executables in bin have no extension, so no bytecode is generated. However, some packages do provide executables with extensions, and thus bytecode is generated.

Type: boolean

Default: true

Declared by:

pip.overrideAll.deps

All dependencies of the package. This option should be set by the “outer world” and can be used to inherit attributes from pkgs or inputs etc.

By separating the task of retrieving things from the outside world, it is ensured that the dependencies are overridable. Nothing will stop users from adding nixpkgs itself as a dependency, but this will make it very hard for the user of the package to override any dependencies, because they’d have to figure out a way to insert their changes into the Nixpkgs fixpoint. By adding specific attributes to deps instead, the user has a realistic chance of overriding those dependencies.

So deps should be specific, but not overly specific. For instance, the caller shouldn’t have to know the version of a dependency in order to override it. The name should suffice. (e.g. nix = nixVersions.nix_2_12 instead of inherit (nixVersions) nix_2_12.

Type: lazy attribute set of raw value

Default: { }

Example:

{nixpkgs, ...}: {
  inherit (nixpkgs) stdenv;
  inherit (nixpkgs.haskellPackages) pandoc;
}

Declared by:

pip.overrideAll.deps.python

The python interpreter package to use

Type: package

Declared by:

pip.overrideAll.deps.stdenv

The stdenv used for building this package

Type: raw value

Declared by:

pip.overrideAll.env

environment variables passed to the build environment

Type: attribute set of (null or boolean or signed integer or string or path or package or list of (boolean or signed integer or string or path or package))

Default: { }

Declared by:

pip.overrideAll.mkDerivation.enableParallelBuilding

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.enableParallelChecking

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.__contentAddressed

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.__darwinAllowLocalNetworking

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.__impureHostDeps

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.__propagatedImpureHostDeps

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.__structuredAttrs

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.allowSubstitutes

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.allowedReferences

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrideAll.mkDerivation.allowedRequisites

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrideAll.mkDerivation.args

This option has no description.

Type: null or (list of (string or path))

Default: null

Declared by:

pip.overrideAll.mkDerivation.buildFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.buildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.buildPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.builder

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

pip.overrideAll.mkDerivation.checkFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.checkInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.checkPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.checkTarget

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.cmakeFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.configureFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.configurePhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.configurePlatforms

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.configureScript

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.depsBuildBuild

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.depsBuildBuildPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.depsBuildTarget

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.depsBuildTargetPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.depsHostHost

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.depsHostHostPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.depsTargetTarget

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.depsTargetTargetPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.disallowedReferences

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrideAll.mkDerivation.disallowedRequisites

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrideAll.mkDerivation.distFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.distPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.distTarget

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.doCheck

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.doDist

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.doInstallCheck

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontAddDisableDepTrack

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontAddPrefix

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontAddStaticConfigureFlags

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontBuild

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontConfigure

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontCopyDist

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontDisableStatic

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontFixLibtool

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontFixup

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontInstall

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontMakeSourcesWritable

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontMoveBin

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontPatch

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontPatchELF

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontPatchShebangs

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontPruneLibtoolFiles

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontStrip

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontStripHost

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontStripTarget

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.dontUnpack

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.exportReferenceGraph

This option has no description.

Type: null or (list of (string or package))

Default: null

Declared by:

pip.overrideAll.mkDerivation.fixupPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.forceShare

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.hardeningDisable

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.hardeningEnable

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.impureEnvVars

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrideAll.mkDerivation.installCheckFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.installCheckInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.installCheckPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.installCheckTarget

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.installFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.installPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.installTargets

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.makeFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.makefile

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.mesonFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.meta

This option has no description.

Type: null or (attribute set)

Default: { }

Declared by:

pip.overrideAll.mkDerivation.nativeBuildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.nativeCheckInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.outputHash

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.outputHashAlgo

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.outputHashMode

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.outputs

This option has no description.

Type: null or (list of string)

Default:

[
  "out"
]

Declared by:

pip.overrideAll.mkDerivation.passAsFile

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrideAll.mkDerivation.passthru

This option has no description.

Type: null or (attribute set)

Default: { }

Declared by:

pip.overrideAll.mkDerivation.patchFlags

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.patchPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.patches

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.phases

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrideAll.mkDerivation.pos

This option has no description.

Type: null or (attribute set)

Default: { }

Declared by:

pip.overrideAll.mkDerivation.postBuild

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.postCheck

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.postConfigure

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.postDist

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.postFixup

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.postInstalCheck

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.postInstall

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.postPatch

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.postPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.postUnpack

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.preBuild

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.preBuildPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.preCheck

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.preConfigure

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.preConfigurePhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.preDist

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.preDistPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.preFixup

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.preFixupPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.preInstall

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.preInstallCheck

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.preInstallPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.prePatch

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.prePhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.preUnpack

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.preferLocalBuild

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrideAll.mkDerivation.prefix

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.prefixKey

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.propagatedBuildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.propagatedNativeBuildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.propagatedSandboxProfile

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.realBuilder

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

pip.overrideAll.mkDerivation.requiredSystemFeatures

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrideAll.mkDerivation.sandboxProfile

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.separateDebugInfo

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.setSourceRoot

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.setupHook

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

pip.overrideAll.mkDerivation.shellHook

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.sourceRoot

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

pip.overrideAll.mkDerivation.src

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

pip.overrideAll.mkDerivation.srcs

This option has no description.

Type: null or (list of (string or path or package))

Default: null

Declared by:

pip.overrideAll.mkDerivation.strictDeps

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrideAll.mkDerivation.stripAllFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.stripAllList

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.stripDebugFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.stripDebugList

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.tarballs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrideAll.mkDerivation.unpackCmd

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.unpackPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.mkDerivation.version

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrideAll.name

The name of the package

Type: string

Declared by:

pip.overrideAll.public

The final result of the evaluated package. Contains everything that nix expects from a derivation. Contains fields like name, outputs, drvPath, outPath, etc. Can be build with nix-build or nix build.

Type: lazy attribute set of anything

Declared by:

pip.overrideAll.version

The version of the package

Type: string

Declared by:

pip.overrides

Overrides applied only on dependencies matching the specified name.

Type: attribute set of module

Default: { }

Example:

{
  hello = {
    mkDerivation = {
      postPatch = ''
        substituteInPlace Makefile --replace /usr/local /usr
      '';
    };
  };
}

Declared by:

pip.overrides.<name>.buildPythonPackage.catchConflicts

Raise an error if two packages are installed with the same name TODO: For cross we probably need a different PYTHONPATH, or not add the runtime deps until after buildPhase.

Type: boolean

Default:

''
  true if the host and build platforms are the same, false otherwise.
''

Declared by:

pip.overrides.<name>.buildPythonPackage.disabled

used to disable derivation, useful for specific python versions

Type: boolean

Default: false

Declared by:

pip.overrides.<name>.buildPythonPackage.disabledTestPaths

Test paths to ignore in checkPhase

Type: list of anything

Default: [ ]

Declared by:

pip.overrides.<name>.buildPythonPackage.disabledTests

Disable running specific unit tests

Type: list of string

Default: [ ]

Declared by:

pip.overrides.<name>.buildPythonPackage.dontUsePipInstall

Don’t use Pip to install a wheel Note this is actually a variable for the pipInstallPhase in pip’s setupHook. It’s included here to prevent an infinite recursion.

Type: boolean

Default: false

Declared by:

pip.overrides.<name>.buildPythonPackage.dontWrapPythonPrograms

Skip wrapping of python programs altogether

Type: boolean

Default: false

Declared by:

pip.overrides.<name>.buildPythonPackage.format

Several package formats are supported: “setuptools” : Install a common setuptools/distutils based package. This builds a wheel. “wheel” : Install from a pre-compiled wheel. “flit” : Install a flit package. This builds a wheel. “pyproject”: Install a package using a pyproject.toml file (PEP517). This builds a wheel. “egg”: Install a package from an egg. “other” : Provide your own buildPhase and installPhase.

Type: string

Default: "setuptools"

Declared by:

pip.overrides.<name>.buildPythonPackage.makeWrapperArgs

Additional arguments to pass to the makeWrapper function, which wraps generated binaries.

Type: list of string

Default: [ ]

Declared by:

pip.overrides.<name>.buildPythonPackage.permitUserSite

Skip setting the PYTHONNOUSERSITE environment variable in wrapped programs

Type: boolean

Default: false

Declared by:

pip.overrides.<name>.buildPythonPackage.pipInstallFlags

Extra flags passed to pip install

Type: list of string

Default: [ ]

Declared by:

pip.overrides.<name>.buildPythonPackage.pytestFlagsArray

Extra flags passed to pytest

Type: list of string

Default: [ ]

Declared by:

pip.overrides.<name>.buildPythonPackage.pythonImportsCheck

Check whether importing the listed modules works

Type: list of string

Default: [ ]

Declared by:

pip.overrides.<name>.buildPythonPackage.removeBinBytecode

Remove bytecode from bin folder. When a Python script has the extension .py, bytecode is generated Typically, executables in bin have no extension, so no bytecode is generated. However, some packages do provide executables with extensions, and thus bytecode is generated.

Type: boolean

Default: true

Declared by:

pip.overrides.<name>.deps

All dependencies of the package. This option should be set by the “outer world” and can be used to inherit attributes from pkgs or inputs etc.

By separating the task of retrieving things from the outside world, it is ensured that the dependencies are overridable. Nothing will stop users from adding nixpkgs itself as a dependency, but this will make it very hard for the user of the package to override any dependencies, because they’d have to figure out a way to insert their changes into the Nixpkgs fixpoint. By adding specific attributes to deps instead, the user has a realistic chance of overriding those dependencies.

So deps should be specific, but not overly specific. For instance, the caller shouldn’t have to know the version of a dependency in order to override it. The name should suffice. (e.g. nix = nixVersions.nix_2_12 instead of inherit (nixVersions) nix_2_12.

Type: lazy attribute set of raw value

Default: { }

Example:

{nixpkgs, ...}: {
  inherit (nixpkgs) stdenv;
  inherit (nixpkgs.haskellPackages) pandoc;
}

Declared by:

pip.overrides.<name>.deps.python

The python interpreter package to use

Type: package

Declared by:

pip.overrides.<name>.deps.stdenv

The stdenv used for building this package

Type: raw value

Declared by:

pip.overrides.<name>.env

environment variables passed to the build environment

Type: attribute set of (null or boolean or signed integer or string or path or package or list of (boolean or signed integer or string or path or package))

Default: { }

Declared by:

pip.overrides.<name>.mkDerivation.enableParallelBuilding

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.enableParallelChecking

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.__contentAddressed

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.__darwinAllowLocalNetworking

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.__impureHostDeps

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.__propagatedImpureHostDeps

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.__structuredAttrs

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.allowSubstitutes

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.allowedReferences

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.allowedRequisites

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.args

This option has no description.

Type: null or (list of (string or path))

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.buildFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.buildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.buildPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.builder

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.checkFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.checkInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.checkPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.checkTarget

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.cmakeFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.configureFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.configurePhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.configurePlatforms

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.configureScript

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.depsBuildBuild

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.depsBuildBuildPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.depsBuildTarget

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.depsBuildTargetPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.depsHostHost

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.depsHostHostPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.depsTargetTarget

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.depsTargetTargetPropagated

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.disallowedReferences

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.disallowedRequisites

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.distFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.distPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.distTarget

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.doCheck

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.doDist

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.doInstallCheck

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontAddDisableDepTrack

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontAddPrefix

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontAddStaticConfigureFlags

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontBuild

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontConfigure

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontCopyDist

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontDisableStatic

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontFixLibtool

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontFixup

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontInstall

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontMakeSourcesWritable

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontMoveBin

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontPatch

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontPatchELF

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontPatchShebangs

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontPruneLibtoolFiles

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontStrip

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontStripHost

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontStripTarget

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.dontUnpack

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.exportReferenceGraph

This option has no description.

Type: null or (list of (string or package))

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.fixupPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.forceShare

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.hardeningDisable

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.hardeningEnable

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.impureEnvVars

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.installCheckFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.installCheckInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.installCheckPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.installCheckTarget

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.installFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.installPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.installTargets

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.makeFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.makefile

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.mesonFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.meta

This option has no description.

Type: null or (attribute set)

Default: { }

Declared by:

pip.overrides.<name>.mkDerivation.nativeBuildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.nativeCheckInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.outputHash

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.outputHashAlgo

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.outputHashMode

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.outputs

This option has no description.

Type: null or (list of string)

Default:

[
  "out"
]

Declared by:

pip.overrides.<name>.mkDerivation.passAsFile

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.passthru

This option has no description.

Type: null or (attribute set)

Default: { }

Declared by:

pip.overrides.<name>.mkDerivation.patchFlags

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.patchPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.patches

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.phases

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.pos

This option has no description.

Type: null or (attribute set)

Default: { }

Declared by:

pip.overrides.<name>.mkDerivation.postBuild

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.postCheck

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.postConfigure

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.postDist

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.postFixup

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.postInstalCheck

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.postInstall

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.postPatch

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.postPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.postUnpack

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preBuild

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preBuildPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preCheck

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preConfigure

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preConfigurePhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preDist

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preDistPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preFixup

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preFixupPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preInstall

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preInstallCheck

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preInstallPhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.prePatch

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.prePhases

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preUnpack

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.preferLocalBuild

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.prefix

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.prefixKey

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.propagatedBuildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.propagatedNativeBuildInputs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.propagatedSandboxProfile

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.realBuilder

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.requiredSystemFeatures

This option has no description.

Type: null or (list of string)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.sandboxProfile

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.separateDebugInfo

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.setSourceRoot

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.setupHook

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.shellHook

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.sourceRoot

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.src

This option has no description.

Type: null or string or path or package or (submodule)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.srcs

This option has no description.

Type: null or (list of (string or path or package))

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.strictDeps

This option has no description.

Type: null or boolean

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.stripAllFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.stripAllList

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.stripDebugFlags

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.stripDebugList

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.tarballs

This option has no description.

Type: null or (list of anything)

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.unpackCmd

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.unpackPhase

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.mkDerivation.version

This option has no description.

Type: null or string

Default: null

Declared by:

pip.overrides.<name>.name

The name of the package

Type: string

Declared by:

pip.overrides.<name>.public

The final result of the evaluated package. Contains everything that nix expects from a derivation. Contains fields like name, outputs, drvPath, outPath, etc. Can be build with nix-build or nix build.

Type: lazy attribute set of anything

Declared by:

pip.overrides.<name>.version

The version of the package

Type: string

Declared by:

pip.pipFlags

list of flags for pip install

Type: list of string

Default: [ ]

Declared by:

pip.pipVersion

pip version to use to generate the report

Type: string

Default: "23.1"

Declared by:

pip.pypiSnapshotDate

maximum release date for packages Choose any date from the past.

Type: null or string

Default: null

Example: "2023-01-01"

Declared by:

pip.requirementsFiles

list of requirements.txt files

Type: list of string

Default: [ ]

Declared by:

pip.requirementsList

list of strings of requirements.txt entries

Type: list of string

Default: [ ]

Declared by:

public

The final result of the evaluated package. Contains everything that nix expects from a derivation. Contains fields like name, outputs, drvPath, outPath, etc. Can be build with nix-build or nix build.

Type: lazy attribute set of anything

Declared by:

public.docs

The manual of the package as a website

Type: package (read only)

Declared by:

version

The version of the package

Type: string

Declared by: