This commit is contained in:
Amy de Buitléir 2025-10-08 18:18:45 +01:00
parent 7b3927641c
commit 6c031b413a
3 changed files with 3 additions and 1 deletions

View file

@ -44,7 +44,7 @@ $# cat flake.nix
If this is your first time seeing a flake definition, it probably looks
intimidating.
Flakes are written in the Nix language, introduced in <<_the_nix_language_>>.
Flakes are written in the Nix language, introduced in <<_the_nix_language>>.
However, you don't really need to know Nix to follow this example.
For now, I'd like to focus on the inputs section.

View file

@ -164,6 +164,7 @@ so our hello-flake script wouldnt be able to find it.
There are various ways to deal with this problem.
In this case we simply edited the script (lines 37-39) as we install it,
specifying the full path to cowsay.
We'll see another way of handling this in <<writeShellApplication>>.
[NOTE]
====

View file

@ -1,3 +1,4 @@
[#writeShellApplication]
= Access a top level package from the Nixpkgs/NixOS repo
In <<_introducing_a_dependency>>, we wrote a shell script that needed