diff --git a/overrides/default.nix b/overrides/default.nix index 2f776d1fe..4e0f03f2b 100644 --- a/overrides/default.nix +++ b/overrides/default.nix @@ -2958,6 +2958,9 @@ lib.composeManyExtensions [ pkgs.xorg.libxshmfence pkgs.xorg.libxkbfile ]; + postInstall = '' + rm -r $out/${final.python.sitePackages}/PySide6/__pycache__/ + ''; }); pyside6 = prev.pyside6.overridePythonAttrs (_old: { # The PySide6/__init__.py script tries to find the Qt libraries @@ -2972,6 +2975,7 @@ lib.composeManyExtensions [ postFixup = '' ${pkgs.xorg.lndir}/bin/lndir ${final.pyside6-essentials}/${final.python.sitePackages}/PySide6 $out/${final.python.sitePackages}/PySide6 ${pkgs.xorg.lndir}/bin/lndir ${final.pyside6-addons}/${final.python.sitePackages}/PySide6 $out/${final.python.sitePackages}/PySide6 + rm -r $out/${final.python.sitePackages}/PySide6/__pycache__/ ''; });