fix: simpleTranslate2: don't compute cyclic deps if deps on empty dep graph

This commit is contained in:
DavHau 2022-08-25 14:16:11 +02:00
parent 0b593874d9
commit 0131c22c36

View File

@ -179,6 +179,11 @@
relevantDependencies;
cyclicDependencies =
if dependencyGraph == {}
then {}
else cyclicDependencies';
cyclicDependencies' =
# TODO: inefficient! Implement some kind of early cutoff
let
depGraphWithFakeRoot =