mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-05-13 20:41:13 +08:00
rename files
This commit is contained in:
parent
ee7f16eab6
commit
46c0d50cef
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ the necessary dependencies. This is particularly convenient for
|
|||
standalone scripts because you don’t need to create a repo and write a
|
||||
separate `flake.nix`.
|
||||
|
||||
The script should start with two ``shebang'' (`#!`) commands. The first
|
||||
The script should start with two "`shebang`" (`#!`) commands. The first
|
||||
should invoke `nix-shell`. The second should declares the scrpt
|
||||
interpreter and any dependencies. Here are some examples.
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ include::0350-shell-haskell-local-deps.nix[]
|
|||
|
||||
=== Shell with an environment variable set
|
||||
|
||||
This shell has the environment variable FOO set to ``bar''
|
||||
This shell has the environment variable FOO set to "`bar`"
|
||||
|
||||
[source,nix,linenums]
|
||||
....
|
||||
Loading…
Add table
Add a link
Reference in a new issue