buildPythonPackage: recompile bytecode for reproducibility

Due to a change in pip the unpacked wheels are no longer reproducible.
We recompile the bytecode to cleanup this error.
https://github.com/NixOS/nixpkgs/issues/81441
This commit is contained in:
Frederik Rietdijk
2020-06-13 10:36:28 +02:00
parent a7ea828f09
commit 818cf7827b
4 changed files with 38 additions and 0 deletions
+1
View File
@@ -118,6 +118,7 @@ in {
pythonCatchConflictsHook
pythonImportsCheckHook
pythonNamespacesHook
pythonRecompileBytecodeHook
pythonRemoveBinBytecodeHook
pythonRemoveTestsDirHook
setuptoolsBuildHook