neo: fix optional dependencies

This commit is contained in:
Liam Fitzgerald 2024-04-16 15:07:23 -04:00
parent 24d1dc3c34
commit 68d5f97200

View File

@ -2370,7 +2370,10 @@
%+ roll ~(tap by conf)
|= [[=term dep=pith:neo] a=_arvo]
?> ?=([[%p @] *] dep)
=/ [req=? =quay:neo] (~(got by deps) term)
=/ d=(unit [req=? =quay:neo]) (~(get by deps) term)
?~ d
a
=/ [req=? =quay:neo] u.d
=/ =tour:neo [(get-care:quay:neo quay) dep]
=/ =pith:neo [p/our.bowl here]
?: =(our.bowl +.i.dep)