Pass along submodules flag to fetchGit

This commit is contained in:
Charles Baynham 2022-03-19 23:30:58 +00:00 committed by GitHub
parent b7547d3eed
commit 3b935d922d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,7 @@ let
({ url = info.url; } ({ url = info.url; }
// (if info ? rev then { inherit (info) rev; } else {}) // (if info ? rev then { inherit (info) rev; } else {})
// (if info ? ref then { inherit (info) ref; } else {}) // (if info ? ref then { inherit (info) ref; } else {})
// (if info ? submodules then { inherit (info) submodules; } else {})
); );
lastModified = info.lastModified; lastModified = info.lastModified;
lastModifiedDate = formatSecondsSinceEpoch info.lastModified; lastModifiedDate = formatSecondsSinceEpoch info.lastModified;