Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/NOM/Update.hs
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,9 @@ processJsonMessage = \case
now <- getNow
pathId <- getStorePathId path
uploaded to pathId now
Just (MkActivityStatus{activity = JSON.Build drv host}) -> do
Just (MkActivityStatus{activity = JSON.Build drv host}) -> withChange do
drvId <- lookupDerivation drv
isCompleted <- derivationIsCompleted drvId
if isCompleted then withChange $ finishBuildByDrvId host drvId else noChange
finishBuildByDrvId host drvId
_ -> pure (isJust interesting_activity)
Plain msg -> tell [Right msg] >> noChange
ParseError err -> tell [Left err] >> noChange
Expand Down
Loading