catalyst: remove python compile byte code in postInstall

Python byte code are generated during buildPhase, recompiling
python byte code is not needed.
This commit is contained in:
qbisi
2025-09-02 06:09:39 +08:00
parent 3e823875c1
commit a082a0af0d
-4
View File
@@ -65,10 +65,6 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "CATALYST_BUILD_TESTING" finalAttrs.finalPackage.doCheck)
];
postInstall = lib.optionalString pythonSupport ''
python -m compileall -s $out $out/${python3Packages.python.sitePackages}
'';
doCheck = true;
preCheck = lib.optionalString stdenv.hostPlatform.isDarwin ''