mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
buildRosPackage: Improve Python wrapping script readability
Co-authored-by: Michal Sojka <michal.sojka@cvut.cz>
This commit is contained in:
parent
54e1294c05
commit
a9c2a1021c
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ else stdenv.mkDerivation) (args // {
|
|||
|
||||
postFixup = ''
|
||||
${postFixup}
|
||||
find "$out/lib" -mindepth 1 -maxdepth 1 -type d ! -name '${pythonPackages.python.libPrefix}' -print0 | while read -d '''''' d; do
|
||||
wrapPythonProgramsIn "$d" "$out $pythonPath"
|
||||
find "$out/lib" -mindepth 1 -maxdepth 1 -type d ! -name '${pythonPackages.python.libPrefix}' -print0 | while read -d "" libpkgdir; do
|
||||
wrapPythonProgramsIn "$libpkgdir" "$out $pythonPath"
|
||||
done
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue