mirror of
https://github.com/nix-dot-dev/nix.dev.git
synced 2024-10-04 00:57:52 +03:00
highlight long waiting time on first invocation
This commit is contained in:
parent
d3699075a5
commit
33950c3b2e
@ -23,7 +23,10 @@ The program ‘lolcat’ is currently not installed.
|
||||
```
|
||||
|
||||
Use `nix-shell` with the `-p` (`--packages`) option to specify that we need the `cowsay` and `lolcat` packages.
|
||||
The first invocation of `nix-shell` may take a while to download all dependencies.
|
||||
|
||||
:::{note}
|
||||
The first invocation of `nix-shell` for these packages may take a while to download all dependencies.
|
||||
:::
|
||||
|
||||
```shell-session
|
||||
$ nix-shell -p cowsay lolcat
|
||||
|
@ -87,6 +87,10 @@ The `packages` attribute argument to `mkShellNoCC` is simply an alias for `nativ
|
||||
|
||||
Enter the environment by running `nix-shell` in the same directory as `shell.nix`:
|
||||
|
||||
:::{note}
|
||||
The first invocation of `nix-shell` on this file may take a while to download all dependencies.
|
||||
:::
|
||||
|
||||
```console
|
||||
$ nix-shell
|
||||
[nix-shell]$ cowsay hello | lolcat
|
||||
|
Loading…
Reference in New Issue
Block a user