Skip to content

Shell module default

packages

List of packages to make available in the shell.

Type: list of package

Default:

[ ]

Declared by: - templates/nix-shell-parts-vendored/nix/vendored/shell-modules/default.nix

env

Extra environment variables to set when entering the shell.

Type: open submodule of attribute set of anything

Default:

{ }

Declared by: - templates/nix-shell-parts-vendored/nix/vendored/shell-modules/default.nix

finalPackage

The actual development shell derivation created from this definition.

Type: package (read only)

Declared by: - templates/nix-shell-parts-vendored/nix/vendored/shell-modules/default.nix

inputsFrom

Add build dependencies of the listed derivations to the shell.

Type: list of package

Default:

[ ]

Declared by: - templates/nix-shell-parts-vendored/nix/vendored/shell-modules/default.nix

name

The name of the shell package

Type: string

Default:

"<name>"

Declared by: - templates/nix-shell-parts-vendored/nix/vendored/shell-modules/default.nix

shellHook

Commands to be executed when entering the shell.

Type: strings concatenated with ā€œ\nā€

Default:

""

Declared by: - templates/nix-shell-parts-vendored/nix/vendored/shell-modules/default.nix