mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-09 23:32:37 +08:00
temp
This commit is contained in:
parent
fdd423b023
commit
a3f644573c
2 changed files with 5 additions and 4 deletions
|
|
@ -5091,8 +5091,9 @@ this is done in line 15.</p>
|
|||
<pre class="nowrap">$ hello-nix # Fails outside development shell
|
||||
bash: line 53: hello-nix: command not found
|
||||
$ nix develop
|
||||
$ hello-nix # Works inside development shell
|
||||
Hello from your nix package!</pre>
|
||||
$ hello-nix
|
||||
bash: line 2: hello-nix: command not found
|
||||
bash: line 3: EOL: command not found</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -5474,7 +5475,7 @@ Hello from your flake!</pre>
|
|||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2025-09-15 14:49:10 IST
|
||||
Last updated 2025-09-15 14:50:22 IST
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ Here's a demonstration using the shell.
|
|||
|
||||
....
|
||||
$ hello-nix # Fails outside development shell
|
||||
$ nix develop
|
||||
$# ../../../../../start-shell nix develop <<EOL
|
||||
$ hello-nix
|
||||
$# EOL
|
||||
....
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue