reformatting

This commit is contained in:
Amy de Buitléir 2023-06-13 18:28:11 +01:00
parent fc035267cb
commit bea4055fc9
3 changed files with 188 additions and 90 deletions

View file

@ -91,8 +91,9 @@ $ sed -i 's/echo/cowsay/' hello-flake
////
[source,nix,highlight=4]
.hello-flake
....
$ cat hello-flake
$# cat hello-flake
....
Lets test the modified script.
@ -117,13 +118,14 @@ $ cp ../flake.nix.new flake.nix
////
[source,nix,highlight=18..22]
.flake.nix
....
$# cat flake.nix
....
We restart the development shell and see that the `cowsay` command is
now available and the script works. Because weve updated source files
but havent `git commit`ed the new version, we get a warning message
Now we restart the development shell and see that the `cowsay` command is
available and the script works. Because weve updated source files
but havent ``git commit``ed the new version, we get a warning message
about it being "`dirty`". Its just a warning, though; the script runs
correctly.