fetchRepoProject: add manifestName parameter

This commit is contained in:
Nick Spinale 2019-07-17 11:02:46 +00:00
parent 37e333af9a
commit 01058f5099
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
{ name, manifest, rev ? "HEAD", sha256 { name, manifest, rev ? "HEAD", sha256
# Optional parameters: # Optional parameters:
, repoRepoURL ? "", repoRepoRev ? "", referenceDir ? "" , repoRepoURL ? "", repoRepoRev ? "", referenceDir ? "", manifestName ? ""
, localManifests ? [], createMirror ? false, useArchive ? false , localManifests ? [], createMirror ? false, useArchive ? false
}: }:
@ -16,6 +16,7 @@ let
(optionalString (repoRepoURL != "") "--repo-url=${repoRepoURL}") (optionalString (repoRepoURL != "") "--repo-url=${repoRepoURL}")
(optionalString (repoRepoRev != "") "--repo-branch=${repoRepoRev}") (optionalString (repoRepoRev != "") "--repo-branch=${repoRepoRev}")
(optionalString (referenceDir != "") "--reference=${referenceDir}") (optionalString (referenceDir != "") "--reference=${referenceDir}")
(optionalString (manifestName != "") "--manifest-name=${manifestName}")
]; ];
repoInitFlags = [ repoInitFlags = [