fetchgit: take passthru

This commit is contained in:
Yueh-Shun Li
2025-10-27 23:30:20 +08:00
parent 745fc66702
commit a7023948c0
+3 -1
View File
@@ -60,6 +60,7 @@ lib.makeOverridable (
# Impure env vars (https://nixos.org/nix/manual/#sec-advanced-attributes)
# needed for netrcPhase
netrcImpureEnvVars ? [ ],
passthru ? { },
meta ? { },
allowedRequisites ? null,
# fetch all tags after tree (useful for git describe)
@@ -195,7 +196,8 @@ lib.makeOverridable (
passthru = {
gitRepoUrl = url;
inherit tag;
};
}
// passthru;
}
)
)