From 0690686f68712b2cb8187dfe10183e5b8273a918 Mon Sep 17 00:00:00 2001 From: iofq Date: Thu, 9 Oct 2025 13:02:45 -0500 Subject: [PATCH 1/3] Fix reference to overrideAttrs in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b879fab..88bf18a 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ overlays = [ f: p: { nvim-treesitter = p.nvim-treesitter.withAllGrammars; # or withPlugins... # also redefine nvim-treesitter-textobjects (any other plugins that depend on nvim-treesitter) - nvim-treesitter-textobjects = p.nvim-treesitter-textobjects.override { + nvim-treesitter-textobjects = p.nvim-treesitter-textobjects.overrideAttrs { dependencies = [ f.nvim-treesitter ]; }; } From 0526fefb04ad33d96d02771306dead3e541de137 Mon Sep 17 00:00:00 2001 From: iofq Date: Wed, 8 Oct 2025 12:21:58 -0500 Subject: [PATCH 2/3] auto-update generated.nix --- .github/workflows/update.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/update.yaml diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml new file mode 100644 index 0000000..55f1efc --- /dev/null +++ b/.github/workflows/update.yaml @@ -0,0 +1,24 @@ +--- +name: update treesitter grammars +on: + workflow_dispatch: + schedule: + - cron: "0 3 * * 0" +jobs: + update: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/flakehub-cache-action@main + - run: nix develop --command "generate-parsers" + - uses: peter-evans/create-pull-request@v7 + with: + token: ${{ secrets.PAT }} + branch: ci/update + commit-message: "chore: update generated.nix" + title: "chore: update generated.nix" + body: "This PR is auto-generated." From cfc655da9d08a2cc07fa0f06614cf5c0ba81b9c9 Mon Sep 17 00:00:00 2001 From: iofq Date: Wed, 8 Oct 2025 12:21:58 -0500 Subject: [PATCH 3/3] auto-update flake inputs --- .github/workflows/update.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 55f1efc..2d1c06e 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -14,11 +14,12 @@ jobs: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/flakehub-cache-action@main + - run: nix flake update - run: nix develop --command "generate-parsers" - uses: peter-evans/create-pull-request@v7 with: token: ${{ secrets.PAT }} branch: ci/update - commit-message: "chore: update generated.nix" - title: "chore: update generated.nix" + commit-message: "chore: update flake inputs + generated.nix" + title: "chore: update flake inputs + generated.nix" body: "This PR is auto-generated."