Skip to content

Commit

Permalink
fix confused linkcheck
Browse files Browse the repository at this point in the history
thanks to vanity TLDs, eval.sh now gets parsed as a URL...
  • Loading branch information
fricklerhandwerk committed Jun 11, 2024
1 parent 03ece9d commit fda3ce2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/tutorials/module-system/a-basic-module/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ The output of `evalModules` contains information about all evaluated modules, an

Here's a helper script to parse and evaluate our `default.nix` file with [`nix-instantiate --eval`](https://nixos.org/manual/nix/stable/command-ref/nix-instantiate) and print the output as JSON:

```{literalinclude} eval.sh
```{literalinclude} eval.bash
:language: bash
:caption: eval.sh
:caption: eval.bash
```

As long as every definition has a corresponding declaration, evaluation will be successful.
If there is an option definition that has not been declared, or the defined value has the wrong type, the module system will throw an error.

Running the script (`./eval.sh`) should show an output that matches what we have configured:
Running the script (`./eval.bash`) should show an output that matches what we have configured:

```{code-block}
{
Expand Down

0 comments on commit fda3ce2

Please sign in to comment.