kiln: respect .liv flag in +get-apps-want

Accounts for the value of .liv in +get-apps-want, such that if a desk
is suspended then +get-apps-want should always return the empty list.
This commit is contained in:
Liam Fitzgerald 2021-11-08 16:43:48 -06:00
parent 0d6775ca40
commit 2fa9c8e494

View File

@ -225,6 +225,7 @@
++ get-apps-want
|= [duz=(list dude) =rein]
^- (list dude)
?. liv.rein ~
=. duz (skip duz ~(has in sub.rein))
=. duz (weld duz (skip ~(tap in add.rein) ~(has in (sy duz))))
duz