Skip to content

Shell module profile

profile.enable

Whether to enable bin profile directory.

Type: boolean

Default:

false

Example:

true

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

profile.destination

The destination directory in which to create the profile

Type: string

Default:

"\${_GIT_ROOT?_GIT_ROOT is not set}/bin"

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

profile.finalPackage

An environment profile derivation containing all binaries of the packages of this shell. This profile is used to create this shell, but can also be linked or reused elsewhere. For example, you can symlink it to a bin/ folder in your repository to get stable paths to tools like nodejs.

Type: package (read only)

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