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:
parent
b7d7bebc60
commit
63aa2f8e42
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue