1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

fetchTree: Add isFetchGit exportIgnore

This commit is contained in:
Robert Hensing 2023-12-11 22:35:11 +01:00
parent 7774eff10e
commit 1bbe837184

View file

@ -161,6 +161,7 @@ static void fetchTree(
fetchers::Attrs attrs;
attrs.emplace("type", "git");
attrs.emplace("url", fixGitURL(url));
attrs.emplace("exportIgnore", Explicit<bool>{true});
input = fetchers::Input::fromAttrs(std::move(attrs));
} else {
if (!experimentalFeatureSettings.isEnabled(Xp::Flakes))