From 63aa2f8e425ff52cc3dbeda2bb0366c6ee803558 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 27 Apr 2024 13:20:09 +0000 Subject: [PATCH] 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. --- pkgs/development/python-modules/eyed3/default.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/development/python-modules/eyed3/default.nix b/pkgs/development/python-modules/eyed3/default.nix index 7717ba2601cd..46678654f25e 100644 --- a/pkgs/development/python-modules/eyed3/default.nix +++ b/pkgs/development/python-modules/eyed3/default.nix @@ -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";