Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

ci: nix builds on engine and desktop changes, not only flake edits

Jareerf9fb440d59cf
diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml
index 126ebaa2..72fe9b1b 100644
--- a/.github/workflows/nix.yml
+++ b/.github/workflows/nix.yml
@@ -1,5 +1,6 @@
-# Validates the Nix flake (#7). Scoped to flake changes plus manual runs so
-# it does not tax every push; run it by hand after dependency lock changes.
+# Validates the Nix flake (#7) on anything the Nix build actually consumes -
+# the flake itself, the engine, the desktop app and its lockfiles - so the
+# check shows up beside the other builds instead of only on flake edits.
name: Nix
on:
@@ -9,11 +10,15 @@ on:
- "flake.nix"
- "flake.lock"
- ".github/workflows/nix.yml"
+ - "engine/**"
+ - "desktop/**"
pull_request:
paths:
- "flake.nix"
- "flake.lock"
- ".github/workflows/nix.yml"
+ - "engine/**"
+ - "desktop/**"
jobs:
build: