mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-13 10:07:58 +08:00
17 lines
210 B
Text
17 lines
210 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-flake
|
||
$# EOL
|
||
....
|
||
|