mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-25 15:33:20 +03:00
chore(fetchPipMetadata): print errors to stderr
This commit is contained in:
parent
e104f5d586
commit
12f09cf0eb
@ -137,7 +137,7 @@ def evaluate_requirements(env, reqs, packages, root_name, extras, seen):
|
||||
A circuit breaker is included to avoid infinite recursion in nix.
|
||||
"""
|
||||
if root_name in seen:
|
||||
print(f"cycle detected: {root_name} ({' '.join(seen)})")
|
||||
print(f"fatal: cycle detected: {root_name} ({' '.join(seen)})", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
# we copy "seen", because we want to track cycles per
|
||||
# tree-branch and the original would be visible for all branches.
|
||||
|
Loading…
Reference in New Issue
Block a user