mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-05-12 03:55:53 +08:00
temp
This commit is contained in:
parent
a38f46a347
commit
77354ff20c
1 changed files with 3 additions and 3 deletions
|
|
@ -5250,13 +5250,13 @@ hello-flake
|
|||
</div>
|
||||
<div class="paragraph">
|
||||
<p>Line 5 adds <code>hello-flake</code> as an input to this flake.
|
||||
As expected, we need to add <code>hello-flake</code> as a build input, which we do in line 40.
|
||||
As expected, we need to add <code>hello-flake</code> as a build input, which we do in line 36.
|
||||
That does make it available at build and runtime, but it doesn’t put it on the path,
|
||||
so our <code>hello-again</code> script won’t be able to find it.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>There are various ways to deal with this problem.
|
||||
In this case we simply edited the script (lines 34-36) as we install it,
|
||||
In this case we simply edited the script (lines 30-32) as we install it,
|
||||
by specifying the full path to <code>hello-nix</code>.</p>
|
||||
</div>
|
||||
<div class="admonitionblock note">
|
||||
|
|
@ -5607,7 +5607,7 @@ Hello from your flake!</pre>
|
|||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2025-09-15 16:09:55 IST
|
||||
Last updated 2025-09-15 16:10:28 IST
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue