diff --git a/index.html b/index.html index 050b33c..cfeb023 100644 --- a/index.html +++ b/index.html @@ -291,8 +291,9 @@ pre.pygments .tok-il { color: #666666 } /* Literal.Number.Integer.Long */
I would like to thank the patient people on the
NixOS Discourse Forum
who answered my many questions,
-especially cdepillabout, FedericoSchonborn, tejing and smkuehnhold.
cdepillabout, FedericoSchonborn, tejing and smkuehnhold.
+Any mistakes in this book are my own, however.
@@ -5260,16 +5262,7 @@ hello-flake
Line 5 adds hello-flake as an input to this flake,
Line 8 allows the output function to reference hello-flake.
As expected, we need to add hello-flake as a build input, which we do in line 35.
-That does make it available at build and runtime, but it doesn’t put it on the path,
-so our hello-again script won’t be able to find it.
There are various ways to deal with this problem.
-In this case we simply edited the script (lines 30-32) as we install it,
-by specifying the full path to hello-nix.
Let’s take a closer look at the buildInputs expression from line 35.
buildInputs expression from line 35.
Line 35 does make hello-flake available at build and runtime,
+but it doesn’t put it on the path,
+so our hello-again script won’t be able to find it.
+There are various ways to deal with this problem.
+In this case we simply edited the script (lines 30-32) as we install it,
+by specifying the full path to hello-nix.
Unresolved directive in recipes/build/main.adoc - include::env-var/main-generated.adoc[leveloffset=+1]
-In this example, we will use a nix package (not a flake) defined in a remote git repo. However, you can use any of the flake reference styles defined in Section 10.1.2, “Run a flake”.
@@ -5630,7 +5633,7 @@ Hello from your flake!