Skip to content

Commit

Permalink
Update declarative-shell.md
Browse files Browse the repository at this point in the history
I presume that at one point there was only one package that was referred from `pkgs` and then another one was added later. Or I misunderstood something and the sentence **is** correct, so perhaps there should be a note there what the one is referring to... Thanks again!
  • Loading branch information
toraritte authored Aug 10, 2024
1 parent 1c050eb commit 091c795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tutorials/first-steps/declarative-shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Only later it became widely used as a general way to make temporary environments
`mkShellNoCC` is a function that produces such an environment, but without a compiler toolchain.

`mkShellNoCC` takes as argument an attribute set.
Here we give it an attribute `packages` with a list containing one item from the `pkgs` attribute set.
Here we give it an attribute `packages` with a list containing two items from the `pkgs` attribute set.

:::{Dropdown} Side note on `packages` and `buildInputs`
You may encounter examples of `mkShell` or `mkShellNoCC` that add packages to the `buildInputs` or `nativeBuildInputs` attributes instead.
Expand Down

0 comments on commit 091c795

Please sign in to comment.