Commit 63aa2f8e authored by Colin's avatar Colin
Browse files

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.
parent b7d7bebc
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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";