This commit is contained in:
Amy de Buitléir 2025-09-14 20:49:57 +01:00
parent a23029eb15
commit 00bfdf2c0f
12 changed files with 161 additions and 140 deletions

View file

@ -99,7 +99,7 @@ $# cat hello-flake
Let's test the modified script.
....
$ ./hello-flake
$ ./hello-flake # Won't work
....
What went wrong? Remember that we are in a _development_ shell. Since
@ -140,7 +140,7 @@ $ exit
Let's try `nix run`.
....
$ nix run
$ nix run # Won't work
....
What went wrong?
@ -171,7 +171,7 @@ When you're packaging a program written in a more powerful language such as
Haskell, Python, Java, C, C#, or Rust,
the language build system will usually do all that is required
to make the dependencies visible to the program at runtime.
In this case, adding the dependency to `buildInputs` is sufficient.
In that case, adding the dependency to `buildInputs` is sufficient.
====
This time `nix run` works.