Merge pull request #36 from charlesbaynham/master

Support submodules fetches for git imports
This commit is contained in:
Eelco Dolstra 2022-03-25 10:09:12 +01:00 committed by GitHub
commit 913e1270ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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