diff options
Diffstat (limited to 'src/Eval.hs')
-rw-r--r-- | src/Eval.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Eval.hs b/src/Eval.hs index 807a3b8..0e3e3e0 100644 --- a/src/Eval.hs +++ b/src/Eval.hs @@ -25,6 +25,7 @@ import Repo data EvalInput = EvalInput { eiJobRoot :: JobRoot , eiRootPath :: FilePath + , eiCurrentIdRev :: [ JobIdPart ] , eiContainingRepo :: Maybe Repo , eiOtherRepos :: [ ( RepoName, Repo ) ] } @@ -49,7 +50,8 @@ evalJob EvalInput {..} decl = do lookup name eiOtherRepos return ( repo, revision, checkout ) return Job - { jobName = jobName decl + { jobId = JobId $ reverse $ JobIdName (jobId decl) : eiCurrentIdRev + , jobName = jobName decl , jobContainingCheckout = jobContainingCheckout decl , jobOtherCheckout = otherCheckout , jobRecipe = jobRecipe decl |