updated deps; return NEError for haskell packages

This commit is contained in:
2023-05-24 01:27:54 +02:00
parent 36757dc711
commit 6b95ba42e1
3 changed files with 6 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ func (p *ProtoPackage) build(ctx context.Context) (time.Duration, error) {
Contains(p.Srcinfo.Depends, "ghc") || Contains(p.Srcinfo.Depends, "haskell-ghc") {
p.DBPackage = p.DBPackage.Update().SetStatus(dbpackage.StatusSkipped).SetSkipReason("haskell").SetTagRev(p.State.TagRev).SaveX(ctx)
buildManager.repoPurge[p.FullRepo] <- []*ProtoPackage{p}
return time.Since(start), nil
return time.Since(start), ErrorNotEligible
}
isLatest, local, syncVersion, err := p.isMirrorLatest(alpmHandle)