This commit is contained in:
Amy de Buitléir 2025-09-15 16:12:36 +01:00
parent a38f46a347
commit 77354ff20c

View file

@ -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&#8217;t put it on the path,
so our <code>hello-again</code> script won&#8217;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>