Skip to content

(NEW) Options

jupyterlab.runtimePackages

A list of runtime packages available to all binaries

Type: list of package

Default

[]

kernel.bash

A bash kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.bash.\"example\".enable = true;\n}\n"

kernel.bash.<name>.displayName

Display name of the bash kernel.

Type: string

Default

"bash bash-‹name› kernel"

Example

"bash example kernel"

kernel.bash.<name>.enable

Enable bash kernel.

Type: boolean

Default

false

Example

true

kernel.bash.<name>.name

Name of the bash kernel.

Type: string

Default

"bash-‹name›"

Example

"example"

kernel.bash.<name>.nixpkgs

nixpkgs flake input to be used for this bash kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.bash.<name>.requiredRuntimePackages

A list of runtime packages required by bash kernel.

Type: list of package

Default

[{"_type":"derivation","name":"bash-interactive-5.1-p16"},{"_type":"derivation","name":"coreutils-9.1"}]

kernel.bash.<name>.runtimePackages

A list of runtime packages available in this bash kernel.

Type: list of package

Default

[]

kernel.c

A c kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.c.\"example\".enable = true;\n}\n"

kernel.c.<name>.displayName

Display name of the c kernel.

Type: string

Default

"c c-‹name› kernel"

Example

"c example kernel"

kernel.c.<name>.editablePackageSources

A mapping from package name to source directory, these will be installed in editable mode. Note that path dependencies with develop = true will be installed in editable mode unless explicitly passed to editablePackageSources as null.

Type: attribute set of (null or path)

Default

{}

Example

"{}"

kernel.c.<name>.enable

Enable c kernel.

Type: boolean

Default

false

Example

true

kernel.c.<name>.extraPackages

A function taking a Python package set and returning a list of extra packages to include in the environment. This is intended for packages deliberately not added to pyproject.toml that you still want to include. An example of such a package may be pip.

Type: function that evaluates to a(n) list of package

Default

"<function>"

Example

"ps: []"

kernel.c.<name>.groups

Which Poetry 1.2.0+ dependency groups to install for this c kernel.

Type: list of string

Default

["dev"]

Example

"[\"dev\" \"doc\"]"

kernel.c.<name>.name

Name of the c kernel.

Type: string

Default

"c-‹name›"

Example

"example"

kernel.c.<name>.nixpkgs

nixpkgs flake input to be used for this c kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.c.<name>.overrides

Path to overrides.nix file which provides python package overrides for this c kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/c/overrides.nix"

Example

"/kernels/available/c/overrides.nix"

kernel.c.<name>.poetry2nix

poetry2nix flake input to be used for this c kernel.

Type: path

Default

"/nix/store/4myxpy1b0lipw5mcrvvghj99n1b89a49-source"

Example

"self.inputs.poetry2nix\n"

kernel.c.<name>.poetrylock

Path to poetry.lock of the poetry project that provides this c kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/c/poetry.lock"

Example

"projectDir + \"/poetry.lock\""

kernel.c.<name>.preferWheels

Use wheels rather than sdist as much as possible.

Type: boolean

Default

false

Example

"true"

kernel.c.<name>.projectDir

Path to the root of the poetry project that provides this c kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/c"

Example

"self + \"/kernels/available/c\";"

kernel.c.<name>.pyproject

Path to pyproject.toml of the poetry project that provides this c kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/c/pyproject.toml"

Example

"projectDir + \"/pyproject.toml\""

kernel.c.<name>.python

Name of the python interpreter (from nixpkgs) to be used for this c kernel.

Type: string

Default

"python3"

Example

"python310"

kernel.c.<name>.runtimePackages

A list of runtime packages available in this c kernel.

Type: list of package

Default

[]

kernel.c.<name>.withDefaultOverrides

Should we use default overrides provided by poetry2nix.

Type: boolean

Default

true

Example

"false"

kernel.elm

A elm kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.elm.\"example\".enable = true;\n}\n"

kernel.elm.<name>.displayName

Display name of the elm kernel.

Type: string

Default

"elm elm-‹name› kernel"

Example

"elm example kernel"

kernel.elm.<name>.editablePackageSources

A mapping from package name to source directory, these will be installed in editable mode. Note that path dependencies with develop = true will be installed in editable mode unless explicitly passed to editablePackageSources as null.

Type: attribute set of (null or path)

Default

{}

Example

"{}"

kernel.elm.<name>.enable

Enable elm kernel.

Type: boolean

Default

false

Example

true

kernel.elm.<name>.extraPackages

A function taking a Python package set and returning a list of extra packages to include in the environment. This is intended for packages deliberately not added to pyproject.toml that you still want to include. An example of such a package may be pip.

Type: function that evaluates to a(n) list of package

Default

"<function>"

Example

"ps: []"

kernel.elm.<name>.groups

Which Poetry 1.2.0+ dependency groups to install for this elm kernel.

Type: list of string

Default

["dev"]

Example

"[\"dev\" \"doc\"]"

kernel.elm.<name>.name

Name of the elm kernel.

Type: string

Default

"elm-‹name›"

Example

"example"

kernel.elm.<name>.nixpkgs

nixpkgs flake input to be used for this elm kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.elm.<name>.overrides

Path to overrides.nix file which provides python package overrides for this elm kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/elm/overrides.nix"

Example

"/kernels/available/elm/overrides.nix"

kernel.elm.<name>.poetry2nix

poetry2nix flake input to be used for this elm kernel.

Type: path

Default

"/nix/store/4myxpy1b0lipw5mcrvvghj99n1b89a49-source"

Example

"self.inputs.poetry2nix\n"

kernel.elm.<name>.poetrylock

Path to poetry.lock of the poetry project that provides this elm kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/elm/poetry.lock"

Example

"projectDir + \"/poetry.lock\""

kernel.elm.<name>.preferWheels

Use wheels rather than sdist as much as possible.

Type: boolean

Default

false

Example

"true"

kernel.elm.<name>.projectDir

Path to the root of the poetry project that provides this elm kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/elm"

Example

"self + \"/kernels/available/elm\";"

kernel.elm.<name>.pyproject

Path to pyproject.toml of the poetry project that provides this elm kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/elm/pyproject.toml"

Example

"projectDir + \"/pyproject.toml\""

kernel.elm.<name>.python

Name of the python interpreter (from nixpkgs) to be used for this elm kernel.

Type: string

Default

"python3"

Example

"python310"

kernel.elm.<name>.runtimePackages

A list of runtime packages available in this elm kernel.

Type: list of package

Default

[]

kernel.elm.<name>.withDefaultOverrides

Should we use default overrides provided by poetry2nix.

Type: boolean

Default

true

Example

"false"

kernel.go

A go kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.go.\"example\".enable = true;\n}\n"

kernel.go.<name>.displayName

Display name of the go kernel.

Type: string

Default

"go go-‹name› kernel"

Example

"go example kernel"

kernel.go.<name>.enable

Enable go kernel.

Type: boolean

Default

false

Example

true

kernel.go.<name>.name

Name of the go kernel.

Type: string

Default

"go-‹name›"

Example

"example"

kernel.go.<name>.nixpkgs

nixpkgs flake input to be used for this go kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.go.<name>.requiredRuntimePackages

A list of runtime packages required by go kernel.

Type: list of package

Default

[{"_type":"derivation","name":"go-1.19.3"}]

kernel.go.<name>.runtimePackages

A list of runtime packages available in this go kernel.

Type: list of package

Default

[]

kernel.haskell

A haskell kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.haskell.\"example\".enable = true;\n}\n"

kernel.haskell.<name>.displayName

Display name of the haskell kernel.

Type: string

Default

"haskell haskell-‹name› kernel"

Example

"haskell example kernel"

kernel.haskell.<name>.enable

Enable haskell kernel.

Type: boolean

Default

false

Example

true

kernel.haskell.<name>.extraHaskellFlags

haskell compiler flags

Type: string

Default

"-M3g -N2"

Example

"-M3g -N2"

kernel.haskell.<name>.extraHaskellPackages

extra haskell packages

Type: function that evaluates to a(n) list of package

Default

"<function>"

Example

"(_: [])"

kernel.haskell.<name>.haskellCompiler

haskell compiler

Type: string

Default

"ghc902"

Example

"ghc902"

kernel.haskell.<name>.ihaskell

ihaskell flake input to be used for this haskell kernel.

Type: path

Default

"/nix/store/xf33sbl7ihwap51vdsxh8fm3q3rxprdg-source"

Example

"self.inputs.ihaskell\n"

kernel.haskell.<name>.name

Name of the haskell kernel.

Type: string

Default

"haskell-‹name›"

Example

"example"

kernel.haskell.<name>.nixpkgs

nixpkgs flake input to be used for this haskell kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.haskell.<name>.requiredRuntimePackages

A list of runtime packages required by haskell kernel.

Type: list of package

Default

[{"_type":"derivation","name":"ghc-9.0.2"}]

kernel.haskell.<name>.runtimePackages

A list of runtime packages available in this haskell kernel.

Type: list of package

Default

[]

kernel.javascript

A javascript kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.javascript.\"example\".enable = true;\n}\n"

kernel.javascript.<name>.displayName

Display name of the javascript kernel.

Type: string

Default

"javascript javascript-‹name› kernel"

Example

"javascript example kernel"

kernel.javascript.<name>.enable

Enable javascript kernel.

Type: boolean

Default

false

Example

true

kernel.javascript.<name>.name

Name of the javascript kernel.

Type: string

Default

"javascript-‹name›"

Example

"example"

kernel.javascript.<name>.nixpkgs

nixpkgs flake input to be used for this javascript kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.javascript.<name>.runtimePackages

A list of runtime packages available in this javascript kernel.

Type: list of package

Default

[]

kernel.julia

A julia kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.julia.\"example\".enable = true;\n}\n"

kernel.julia.<name>.JULIA_DEPOT_PATH

Julia path

Type: string

Default

"~/.julia"

Example

"~/.julia"

kernel.julia.<name>.activateDir

Julia activate directory

Type: string

Default

""

Example

""

kernel.julia.<name>.displayName

Display name of the julia kernel.

Type: string

Default

"julia julia-‹name› kernel"

Example

"julia example kernel"

kernel.julia.<name>.enable

Enable julia kernel.

Type: boolean

Default

false

Example

true

kernel.julia.<name>.ijuliaRev

Julia revision

Type: string

Default

"AQu2H"

Example

"AQu2H"

kernel.julia.<name>.name

Name of the julia kernel.

Type: string

Default

"julia-‹name›"

Example

"example"

kernel.julia.<name>.nixpkgs

nixpkgs flake input to be used for this julia kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.julia.<name>.runtimePackages

A list of runtime packages available in this julia kernel.

Type: list of package

Default

[]

kernel.nix

A nix kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.nix.\"example\".enable = true;\n}\n"

kernel.nix.<name>.displayName

Display name of the nix kernel.

Type: string

Default

"nix nix-‹name› kernel"

Example

"nix example kernel"

kernel.nix.<name>.editablePackageSources

A mapping from package name to source directory, these will be installed in editable mode. Note that path dependencies with develop = true will be installed in editable mode unless explicitly passed to editablePackageSources as null.

Type: attribute set of (null or path)

Default

{}

Example

"{}"

kernel.nix.<name>.enable

Enable nix kernel.

Type: boolean

Default

false

Example

true

kernel.nix.<name>.extraPackages

A function taking a Python package set and returning a list of extra packages to include in the environment. This is intended for packages deliberately not added to pyproject.toml that you still want to include. An example of such a package may be pip.

Type: function that evaluates to a(n) list of package

Default

"<function>"

Example

"ps: []"

kernel.nix.<name>.groups

Which Poetry 1.2.0+ dependency groups to install for this nix kernel.

Type: list of string

Default

["dev"]

Example

"[\"dev\" \"doc\"]"

kernel.nix.<name>.name

Name of the nix kernel.

Type: string

Default

"nix-‹name›"

Example

"example"

kernel.nix.<name>.nixpkgs

nixpkgs flake input to be used for this nix kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.nix.<name>.overrides

Path to overrides.nix file which provides python package overrides for this nix kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/nix/overrides.nix"

Example

"/kernels/available/nix/overrides.nix"

kernel.nix.<name>.poetry2nix

poetry2nix flake input to be used for this nix kernel.

Type: path

Default

"/nix/store/4myxpy1b0lipw5mcrvvghj99n1b89a49-source"

Example

"self.inputs.poetry2nix\n"

kernel.nix.<name>.poetrylock

Path to poetry.lock of the poetry project that provides this nix kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/nix/poetry.lock"

Example

"projectDir + \"/poetry.lock\""

kernel.nix.<name>.preferWheels

Use wheels rather than sdist as much as possible.

Type: boolean

Default

false

Example

"true"

kernel.nix.<name>.projectDir

Path to the root of the poetry project that provides this nix kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/nix"

Example

"self + \"/kernels/available/nix\";"

kernel.nix.<name>.pyproject

Path to pyproject.toml of the poetry project that provides this nix kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/nix/pyproject.toml"

Example

"projectDir + \"/pyproject.toml\""

kernel.nix.<name>.python

Name of the python interpreter (from nixpkgs) to be used for this nix kernel.

Type: string

Default

"python3"

Example

"python310"

kernel.nix.<name>.runtimePackages

A list of runtime packages available in this nix kernel.

Type: list of package

Default

[]

kernel.nix.<name>.withDefaultOverrides

Should we use default overrides provided by poetry2nix.

Type: boolean

Default

true

Example

"false"

kernel.ocaml

A ocaml kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.ocaml.\"example\".enable = true;\n}\n"

kernel.ocaml.<name>.displayName

Display name of the ocaml kernel.

Type: string

Default

"ocaml ocaml-‹name› kernel"

Example

"ocaml example kernel"

kernel.ocaml.<name>.enable

Enable ocaml kernel.

Type: boolean

Default

false

Example

true

kernel.ocaml.<name>.name

Name of the ocaml kernel.

Type: string

Default

"ocaml-‹name›"

Example

"example"

kernel.ocaml.<name>.nixpkgs

nixpkgs flake input to be used for this ocaml kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.ocaml.<name>.ocamlPackages

Attribute set of user desired OCaml packages.

Type: attribute set

Default

{}

Example

"{ hex = \"*\"; owl = \"*\"; }\n"

kernel.ocaml.<name>.opam-nix

opam-nix flake input to be used for this ocaml kernel.

Type: path

Default

"/nix/store/7f9kdy6xs95vgciy4s5d0wbmgpyjzf6f-source"

Example

"self.inputs.opam-nix\n"

kernel.ocaml.<name>.opamNixArgs

See the opam-nix queryToScope first argument which is the same as buildDunePackage.

Type: attribute set

Default

{}

kernel.ocaml.<name>.opamProjects

List of directories containing .opam files.

Type: list of path

Default

[]

Example

"[ self.inputs.myOpamProject ]\n"

kernel.ocaml.<name>.requiredOcamlPackages

Attribute set of required OCaml packages.

Type: attribute set

Default

{"merlin":"*"}

Example

"{ merlin = \"*\"; }\n"

kernel.ocaml.<name>.runtimePackages

A list of runtime packages available in this ocaml kernel.

Type: list of package

Default

[]

kernel.postgres

A postgres kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.postgres.\"example\".enable = true;\n}\n"

kernel.postgres.<name>.displayName

Display name of the postgres kernel.

Type: string

Default

"postgres postgres-‹name› kernel"

Example

"postgres example kernel"

kernel.postgres.<name>.editablePackageSources

A mapping from package name to source directory, these will be installed in editable mode. Note that path dependencies with develop = true will be installed in editable mode unless explicitly passed to editablePackageSources as null.

Type: attribute set of (null or path)

Default

{}

Example

"{}"

kernel.postgres.<name>.enable

Enable postgres kernel.

Type: boolean

Default

false

Example

true

kernel.postgres.<name>.extraPackages

A function taking a Python package set and returning a list of extra packages to include in the environment. This is intended for packages deliberately not added to pyproject.toml that you still want to include. An example of such a package may be pip.

Type: function that evaluates to a(n) list of package

Default

"<function>"

Example

"ps: []"

kernel.postgres.<name>.groups

Which Poetry 1.2.0+ dependency groups to install for this postgres kernel.

Type: list of string

Default

["dev"]

Example

"[\"dev\" \"doc\"]"

kernel.postgres.<name>.name

Name of the postgres kernel.

Type: string

Default

"postgres-‹name›"

Example

"example"

kernel.postgres.<name>.nixpkgs

nixpkgs flake input to be used for this postgres kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.postgres.<name>.overrides

Path to overrides.nix file which provides python package overrides for this postgres kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/postgres/overrides.nix"

Example

"/kernels/available/postgres/overrides.nix"

kernel.postgres.<name>.poetry2nix

poetry2nix flake input to be used for this postgres kernel.

Type: path

Default

"/nix/store/4myxpy1b0lipw5mcrvvghj99n1b89a49-source"

Example

"self.inputs.poetry2nix\n"

kernel.postgres.<name>.poetrylock

Path to poetry.lock of the poetry project that provides this postgres kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/postgres/poetry.lock"

Example

"projectDir + \"/poetry.lock\""

kernel.postgres.<name>.preferWheels

Use wheels rather than sdist as much as possible.

Type: boolean

Default

false

Example

"true"

kernel.postgres.<name>.projectDir

Path to the root of the poetry project that provides this postgres kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/postgres"

Example

"self + \"/kernels/available/postgres\";"

kernel.postgres.<name>.pyproject

Path to pyproject.toml of the poetry project that provides this postgres kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/postgres/pyproject.toml"

Example

"projectDir + \"/pyproject.toml\""

kernel.postgres.<name>.python

Name of the python interpreter (from nixpkgs) to be used for this postgres kernel.

Type: string

Default

"python3"

Example

"python310"

kernel.postgres.<name>.runtimePackages

A list of runtime packages available in this postgres kernel.

Type: list of package

Default

[]

kernel.postgres.<name>.withDefaultOverrides

Should we use default overrides provided by poetry2nix.

Type: boolean

Default

true

Example

"false"

kernel.python

A python kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.python.\"example\".enable = true;\n}\n"

kernel.python.<name>.displayName

Display name of the python kernel.

Type: string

Default

"python python-‹name› kernel"

Example

"python example kernel"

kernel.python.<name>.editablePackageSources

A mapping from package name to source directory, these will be installed in editable mode. Note that path dependencies with develop = true will be installed in editable mode unless explicitly passed to editablePackageSources as null.

Type: attribute set of (null or path)

Default

{}

Example

"{}"

kernel.python.<name>.enable

Enable python kernel.

Type: boolean

Default

false

Example

true

kernel.python.<name>.extraPackages

A function taking a Python package set and returning a list of extra packages to include in the environment. This is intended for packages deliberately not added to pyproject.toml that you still want to include. An example of such a package may be pip.

Type: function that evaluates to a(n) list of package

Default

"<function>"

Example

"ps: []"

kernel.python.<name>.groups

Which Poetry 1.2.0+ dependency groups to install for this python kernel.

Type: list of string

Default

["dev"]

Example

"[\"dev\" \"doc\"]"

kernel.python.<name>.name

Name of the python kernel.

Type: string

Default

"python-‹name›"

Example

"example"

kernel.python.<name>.nixpkgs

nixpkgs flake input to be used for this python kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.python.<name>.overrides

Path to overrides.nix file which provides python package overrides for this python kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/python/overrides.nix"

Example

"/kernels/available/python/overrides.nix"

kernel.python.<name>.poetry2nix

poetry2nix flake input to be used for this python kernel.

Type: path

Default

"/nix/store/4myxpy1b0lipw5mcrvvghj99n1b89a49-source"

Example

"self.inputs.poetry2nix\n"

kernel.python.<name>.poetrylock

Path to poetry.lock of the poetry project that provides this python kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/python/poetry.lock"

Example

"projectDir + \"/poetry.lock\""

kernel.python.<name>.preferWheels

Use wheels rather than sdist as much as possible.

Type: boolean

Default

false

Example

"true"

kernel.python.<name>.projectDir

Path to the root of the poetry project that provides this python kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/python"

Example

"self + \"/kernels/available/python\";"

kernel.python.<name>.pyproject

Path to pyproject.toml of the poetry project that provides this python kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/python/pyproject.toml"

Example

"projectDir + \"/pyproject.toml\""

kernel.python.<name>.python

Name of the python interpreter (from nixpkgs) to be used for this python kernel.

Type: string

Default

"python3"

Example

"python310"

kernel.python.<name>.runtimePackages

A list of runtime packages available in this python kernel.

Type: list of package

Default

[]

kernel.python.<name>.withDefaultOverrides

Should we use default overrides provided by poetry2nix.

Type: boolean

Default

true

Example

"false"

kernel.zsh

A zsh kernel for IPython.

Type: attribute set of (submodule)

Default

{}

Example

"{\n  kernel.zsh.\"example\".enable = true;\n}\n"

kernel.zsh.<name>.displayName

Display name of the zsh kernel.

Type: string

Default

"zsh zsh-‹name› kernel"

Example

"zsh example kernel"

kernel.zsh.<name>.editablePackageSources

A mapping from package name to source directory, these will be installed in editable mode. Note that path dependencies with develop = true will be installed in editable mode unless explicitly passed to editablePackageSources as null.

Type: attribute set of (null or path)

Default

{}

Example

"{}"

kernel.zsh.<name>.enable

Enable zsh kernel.

Type: boolean

Default

false

Example

true

kernel.zsh.<name>.extraPackages

A function taking a Python package set and returning a list of extra packages to include in the environment. This is intended for packages deliberately not added to pyproject.toml that you still want to include. An example of such a package may be pip.

Type: function that evaluates to a(n) list of package

Default

"<function>"

Example

"ps: []"

kernel.zsh.<name>.groups

Which Poetry 1.2.0+ dependency groups to install for this zsh kernel.

Type: list of string

Default

["dev"]

Example

"[\"dev\" \"doc\"]"

kernel.zsh.<name>.name

Name of the zsh kernel.

Type: string

Default

"zsh-‹name›"

Example

"example"

kernel.zsh.<name>.nixpkgs

nixpkgs flake input to be used for this zsh kernel.

Type: path

Default

"/nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source"

Example

"self.inputs.nixpkgs\n"

kernel.zsh.<name>.overrides

Path to overrides.nix file which provides python package overrides for this zsh kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/zsh/overrides.nix"

Example

"/kernels/available/zsh/overrides.nix"

kernel.zsh.<name>.poetry2nix

poetry2nix flake input to be used for this zsh kernel.

Type: path

Default

"/nix/store/4myxpy1b0lipw5mcrvvghj99n1b89a49-source"

Example

"self.inputs.poetry2nix\n"

kernel.zsh.<name>.poetrylock

Path to poetry.lock of the poetry project that provides this zsh kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/zsh/poetry.lock"

Example

"projectDir + \"/poetry.lock\""

kernel.zsh.<name>.preferWheels

Use wheels rather than sdist as much as possible.

Type: boolean

Default

false

Example

"true"

kernel.zsh.<name>.projectDir

Path to the root of the poetry project that provides this zsh kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/zsh"

Example

"self + \"/kernels/available/zsh\";"

kernel.zsh.<name>.pyproject

Path to pyproject.toml of the poetry project that provides this zsh kernel.

Type: path

Default

"/nix/store/aj10zl7ffp012x14vcpqrxw3x1r53l27-source/kernels/available/zsh/pyproject.toml"

Example

"projectDir + \"/pyproject.toml\""

kernel.zsh.<name>.python

Name of the python interpreter (from nixpkgs) to be used for this zsh kernel.

Type: string

Default

"python3"

Example

"python310"

kernel.zsh.<name>.runtimePackages

A list of runtime packages available in this zsh kernel.

Type: list of package

Default

[]

kernel.zsh.<name>.withDefaultOverrides

Should we use default overrides provided by poetry2nix.

Type: boolean

Default

true

Example

"false"