nixpkgs/pkgs/development/interpreters/python/catch_conflicts
Ben Wolsieffer f9de72f247 pythonCatchConflictsHook: split propagated-build-inputs on runs of whitespace
Currently, nix-support/propagated-build-inputs is parsed by splitting on
a single space. This means that if this file contains multiple spaces
separating two paths, the build_inputs list will end up containing an
empty string.

Instead, call split() with no arguments, which splits on runs of
whitespace and also ignores whitespace at the beginning and end of the
string, eliminating the need for strip().
2024-04-26 21:05:42 -04:00
..
catch_conflicts_py2.py
catch_conflicts.py pythonCatchConflictsHook: split propagated-build-inputs on runs of whitespace 2024-04-26 21:05:42 -04:00
README.md

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: