flox print-dev-env command¶
flox-print-dev-env - print shell code that can be sourced by bash to reproduce the development environment
<general-options> ] print-dev-env [
Print a shell script that can be sourced by the current shell to both activate a project flox environment (if it exists) and the build environment for the corresponding package. This allows you to enter a development environment in your current shell rather than in a subshell (as with flox develop).
Many flox commands wrap Nix commands of the same name, and will
correspondingly pass on options and arguments directly to the underlying
nix invocation. For more information on the options supported by
specific Nix commands please invoke
flox nix <command> help.
The following options are used specifically by
flox and must be
specified before the
Verbose mode. Invoke multiple times for increasing detail.
Debug mode. Invoke multiple times for increasing detail.
flox installation prefix / Nix store path. (flox internal use
Force execution in
flox-bash (flox internal use only.)
The following options are supported by all Development Commands:
Selects package (aka “attrPath”) to be used. If not provided
prompt for you to select from the list of known packages.
Selects the set of nixpkgs to be used as a basis
the package or project flox environment to prit the environment script for