mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-13 18:17:56 +08:00
16 lines
207 B
Text
16 lines
207 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-nix
|
||
$# EOL
|
||
....
|