Display current inputs for flakes

This commit is contained in:
2025-02-08 15:53:25 +01:00
parent 56a331555e
commit 8ab45c982a
4 changed files with 64 additions and 0 deletions

View File

@@ -14,5 +14,23 @@
<li><a href="{{ revision.link() }}">{{ revision.revision_uri }}</a> ({{ revision.last_modified }})</li>
{% endfor %}
</ul>
<h2>Current Inputs</h2>
<ul>
{% for input in current_inputs %}
<li>
{{ input.input_name }}
<ul>
{% match input.uri %}
{% when Some with (uri) %}
<li>Flake: <a href="{{ input.flake_link() }}">{{ uri }}</a></li>
{% when None %}
{% endmatch %}
</ul>
</li>
{% endfor %}
</ul>
{% endblock %}