mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 00:36:20 +02:00
20 lines
461 B
Markdown
20 lines
461 B
Markdown
|
R""(
|
||
|
|
||
|
# Examples
|
||
|
|
||
|
* Apply the build environment of GNU hello to the current shell:
|
||
|
|
||
|
```console
|
||
|
# . <(nix print-dev-env nixpkgs#hello)
|
||
|
```
|
||
|
|
||
|
# Description
|
||
|
|
||
|
This command prints a shell script that can be sourced by `b`ash and
|
||
|
that sets the environment variables and shell functions defined by the
|
||
|
build process of *installable*. This allows you to get a similar build
|
||
|
environment in your current shell rather than in a subshell (as with
|
||
|
`nix develop`).
|
||
|
|
||
|
)""
|