python3Packages.eyeD3: fix cross compilation

the python builder already wraps the binary so as to add every
dependency to the site path and the system PATH. wrapping it again in
postInstall is redundant, and also wrong because that uses the builder's
PYTHONPATH, resulting in an illegal path reference when cross compiling.
This commit is contained in:
Colin 2024-04-27 13:20:09 +00:00
parent b7d7bebc60
commit 63aa2f8e42
1 changed files with 0 additions and 7 deletions

View File

@ -28,13 +28,6 @@ buildPythonPackage rec {
six
];
postInstall = ''
for prog in "$out/bin/"*; do
wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH" \
--prefix PATH : ${python}/bin
done
'';
meta = with lib; {
description = "A Python module and command line program for processing ID3 tags";
mainProgram = "eyeD3";