Skip to content

Commit

Permalink
enable git submodules by default
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Mar 9, 2024
1 parent 38cb892 commit e92c1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/primops/fetchTree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static void emitTreeAttrs(

if (input.getType() == "git")
attrs.alloc("submodules").mkBool(
fetchers::maybeGetBoolAttr(input.attrs, "submodules").value_or(false));
fetchers::maybeGetBoolAttr(input.attrs, "submodules").value_or(true));

if (!forceDirty) {

Expand Down

0 comments on commit e92c1fb

Please sign in to comment.