Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.2.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.0/direnvrc" "sha256-5EwyKnkJNQeXrRkYbwwRBcXbibosCJqyIUuz9Xq+LRc="
fi
watch_file ./shell/default.nix flake.lock
use flake . -L --builders ''
use flake . -L
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [1.0.0] - 2025-08-29

### Initial Release
Expand Down
27 changes: 27 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

[changelog]
header = """
# Changelog

All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

"""
body = """
{% if version -%}
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else -%}
## [Unreleased]
{% endif -%}
{% for group, commits in commits | group_by(attribute="group") %}
## {{ group | title }}
{% for commit in commits %}
- {% if commit.scope %}{{ commit.scope }}: {% endif %}{{ commit.message | split(pat="\n") | first | trim }}
([{{ commit.id | truncate(length=7, end="") }}](https://github.com/mlabs-haskell/cardano-nix/commit/{{ commit.id }})) - {{ commit.author.name }} ({{ commit.author.timestamp | date(format="%Y-%m-%d") }})
{% endfor %}
{% endfor %}
"""

[git]
tag_pattern = "v[0-9]*"
conventional_commits = true
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ nav:
- development/develop.md
- development/contributing.md
- license.md
- CHANGELOG.md
## Section commented out below, would be autogenerated during docs rendering
# - NixOS Module Reference:
# - reference/module-options/default.md
Expand Down
5 changes: 3 additions & 2 deletions shell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@
name = "cardano.nix";
motd = ''
❄️ Welcome to the {14}{bold}cardano.nix{reset} devshell ❄️
$(type -p menu &>/dev/null && menu)
$(type -p update-pre-commit-hooks &>/dev/null && update-pre-commit-hooks)
$(menu)
$(${config.pre-commit.installationScript})
'';
};
packages = with pkgs; [
statix
config.treefmt.build.wrapper
reuse
git-cliff
];
commands = [
{
Expand Down