fetchTree/git: Don't expose exportIgnore attr

This commit is contained in:
Robert Hensing 2024-01-12 16:05:36 +01:00
parent 469cf263c7
commit f68ad5acbb

View file

@ -40,10 +40,6 @@ void emitTreeAttrs(
attrs.alloc("submodules").mkBool( attrs.alloc("submodules").mkBool(
fetchers::maybeGetBoolAttr(input.attrs, "submodules").value_or(false)); fetchers::maybeGetBoolAttr(input.attrs, "submodules").value_or(false));
if (input.getType() == "git")
attrs.alloc("exportIgnore").mkBool(
fetchers::maybeGetBoolAttr(input.attrs, "exportIgnore").value_or(false));
if (!forceDirty) { if (!forceDirty) {
if (auto rev = input.getRev()) { if (auto rev = input.getRev()) {