From 2d43bc37d0d181df95bd1bcf779f5d275054728f Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 11 Jan 2026 12:50:52 +0300 Subject: [PATCH 1/2] docs: format release notes Signed-off-by: NotAShelf Change-Id: I2bce19ea88f12af67baa4d777af287dd6a6a6964 --- docs/manual/release-notes/rl-0.9.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/manual/release-notes/rl-0.9.md b/docs/manual/release-notes/rl-0.9.md index f02b739d..60be54bd 100644 --- a/docs/manual/release-notes/rl-0.9.md +++ b/docs/manual/release-notes/rl-0.9.md @@ -22,8 +22,8 @@ Some other settings and commands are now deprecated but are still supported. - - The `setupOpts.mappings` options were also removed. Use the built-in - Neovim settings (nvf's {option}`vim.keymaps`) + - The `setupOpts.mappings` options were also removed. Use the built-in Neovim + settings (nvf's {option}`vim.keymaps`) ## Changelog {#sec-release-0-9-changelog} @@ -69,7 +69,8 @@ [jtliang24](https://github.com/jtliang24): -- Updated nix language plugin to use pkgs.nixfmt instead of pkgs.nixfmt-rfc-style +- Updated nix language plugin to use pkgs.nixfmt instead of + pkgs.nixfmt-rfc-style [alfarel](https://github.com/alfarelcynthesis): From 2423af38f72eccc06bbaac081846a9c996621e6b Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 11 Jan 2026 13:57:36 +0300 Subject: [PATCH 2/2] flake: fix formatting checks Signed-off-by: NotAShelf Change-Id: I2e79090e303930b060566aab02f7dd446a6a6964 --- flake.nix | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/flake.nix b/flake.nix index 5fd9b732..6e58193f 100644 --- a/flake.nix +++ b/flake.nix @@ -91,18 +91,29 @@ # Check if codebase is properly formatted. # This can be initiated with `nix build .#checks..nix-fmt` # or with `nix flake check` - nix-fmt = pkgs.runCommand "nix-fmt-check" {nativeBuildInputs = [pkgs.alejandra];} '' - alejandra --check ${self} < /dev/null - touch $out - ''; + nix-fmt = + pkgs.runCommand "nix-fmt-check" + { + src = self; + nativeBuildInputs = [pkgs.alejandra pkgs.fd]; + } '' + cd "$src" + fd -t f -e nix -x alejandra --check '{}' + touch $out + ''; # Check if Markdown sources are properly formatted # This can be initiated with `nix build .#checks..md-fmt` # or with `nix flake check` - md-fmt = pkgs.runCommand "md-fmt-check" {nativeBuildInputs = [pkgs.deno];} '' - deno fmt --check ${self} --ext md - touch $out - ''; + md-fmt = + pkgs.runCommand "md-fmt-check" { + src = self; + nativeBuildInputs = [pkgs.deno pkgs.fd]; + } '' + cd "$src" + fd -t f -e md -x deno fmt --check '{}' + touch $out + ''; }; }; };