mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2025-12-27 00:34:58 +08:00
17 lines
208 B
Text
17 lines
208 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
|
|
....
|
|
|