mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2025-12-28 09:15:03 +08:00
temp
This commit is contained in:
parent
e2c934f9f2
commit
ca44ecdfb0
1 changed files with 19 additions and 2 deletions
21
index.html
21
index.html
|
|
@ -4429,12 +4429,29 @@ $ cowsay "Moo!"
|
|||
</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>EXPLAIN</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>EXPLAIN</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>EXPLAIN</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>EXPLAIN</p>
|
||||
</div>
|
||||
<div class="literalblock">
|
||||
<div class="content">
|
||||
<pre class="nowrap"> buildInputs = [ hello-flake.packages.${system}.hello ];</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>Here’s a demonstration using the shell.</p>
|
||||
</div>
|
||||
<div class="literalblock">
|
||||
<div class="content">
|
||||
<pre class="nowrap">$ hello-flake
|
||||
bash: line 17: hello-flake: command not found
|
||||
bash: line 32: hello-flake: command not found
|
||||
$ nix develop
|
||||
$ hello-flake
|
||||
Hello from your flake!</pre>
|
||||
|
|
@ -5012,7 +5029,7 @@ mkShell <span class="tok-p">{</span>
|
|||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2025-09-04 17:33:46 IST
|
||||
Last updated 2025-09-04 17:36:03 IST
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue