249b34aadc
Python does add the script's directory into "sys.path". For the case of
"catch_conflicts.py" this means "/nix/store" is added to "sys.path". This can
result in very long delays if the store contains a lot of entries.
(moved from master commit 76213d102c
)
13 lines
303 B
Markdown
13 lines
303 B
Markdown
|
|
|
|
catch_conflicts.py
|
|
==================
|
|
|
|
The file catch_conflicts.py is in a subdirectory because, if it isn't, the
|
|
/nix/store/ directory is added to sys.path causing a delay when building.
|
|
|
|
Pointers:
|
|
|
|
- https://docs.python.org/3/library/sys.html#sys.path
|
|
|
|
- https://github.com/NixOS/nixpkgs/pull/23600
|