flake: use self.outPath instead of fetchFromGitea with hardcoded rev
Nix Flake Check / Nix Flake Check (push) Successful in 1m29s
Build and Test / Build and Test (push) Successful in 7m49s

The overlay was pinning a specific commit via fetchFromGitea, requiring
manual hash updates every time the fork changed. Now uses self.outPath
which points to the flake's own source — the consuming repo's flake.lock
tracks the rev and hash automatically.
This commit is contained in:
2026-07-12 09:38:57 +00:00
parent 4734e94f26
commit 544c6ffc61
+3 -7
View File
@@ -21,13 +21,9 @@
default = final: prev: { default = final: prev: {
pinchflat = prev.pinchflat.overrideAttrs ( pinchflat = prev.pinchflat.overrideAttrs (
old: { old: {
src = prev.fetchFromGitea { # Use the flake's own source — rev and hash are tracked
domain = "gitea.bueso.eu"; # by flake.lock in the consuming repo, no manual updates needed
owner = "hermes-agent"; src = self.outPath;
repo = "pinchflat";
rev = "a3b75771e16662facd2dc73575d883577be8707a";
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
};
# Deps hashes are identical to upstream — mix.lock and yarn.lock # Deps hashes are identical to upstream — mix.lock and yarn.lock
# are unchanged in this fork. If they drift, nix build will # are unchanged in this fork. If they drift, nix build will