nix-book/source/recipes/nixpkgs-pkg/shell/main.adoc0
Amy de Buitléir e21ce60ea2 apostrophe
2023-12-03 19:58:59 +00:00

17 lines
216 B
Text

= In `shell.nix`
[source,nix,linenums]
.shell.nix
....
include::shell.nix[]
....
Here's a demonstration using the shell.
....
$# echo '$ nix-shell'
$# nix-shell --run bash <<EOL
$ hello
$ cowsay "moo"
$# EOL
....