flake: use self.outPath instead of fetchFromGitea with hardcoded rev
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user