mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-12 14:14:36 +03:00
fix: simpleTranslate2: don't compute cyclic deps if deps on empty dep graph
This commit is contained in:
parent
0b593874d9
commit
0131c22c36
@ -179,6 +179,11 @@
|
||||
relevantDependencies;
|
||||
|
||||
cyclicDependencies =
|
||||
if dependencyGraph == {}
|
||||
then {}
|
||||
else cyclicDependencies';
|
||||
|
||||
cyclicDependencies' =
|
||||
# TODO: inefficient! Implement some kind of early cutoff
|
||||
let
|
||||
depGraphWithFakeRoot =
|
||||
|
Loading…
Reference in New Issue
Block a user