Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix(nix): trigger on this workflow's own edits, and narrow an overclaim

EtienneLescotb0436e916aeb
diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml
index c18c2ea79..894a7f2fa 100644
--- a/.github/workflows/nix-build.yml
+++ b/.github/workflows/nix-build.yml
@@ -40,6 +40,9 @@ on:
- nix/**
- crates/**
- package-lock.json
+ # Including itself, or a PR that only edits this file gets no validation of
+ # the change it is making -- the same rule nix-check.yml already follows.
+ - .github/workflows/nix-build.yml
push:
branches: [main]
schedule:
diff --git a/flake.nix b/flake.nix
index 255f81c6f..4a8c39f2f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -10,7 +10,8 @@
# lockfile failed, so `nix build` died in `cargo-vendor-dir` before reaching a
# single derivation of ours: `Nix build` was red on main from 2026-08-30, and
# since `nix-check.yml` only compares npmDepsHash and `nix-build.yml` did not
- # run on pull requests, nothing about nix/ was being verified at all.
+ # run on pull requests, the derivation itself was not being built anywhere --
+ # not before a merge, and not after one either while this was red.
# d2f6794 carries the switch to `https://static.crates.io/crates`.
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};