summary refs log tree commit diff
path: root/pkgs/development/interpreters/python/mk-python-derivation.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-11-07 15:36:46 +0100
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2020-11-12 19:32:30 +0100
commit3fceafce1eaa82c36a21153efbf7c1ee87af7b0e (patch)
tree408b8d9c321e2b6092789b190b19816d7002a89d /pkgs/development/interpreters/python/mk-python-derivation.nix
parentca6e7454a46ae484505c697e09b5a814320ec640 (diff)
downloadnixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar
nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar.gz
nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar.bz2
nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar.lz
nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar.xz
nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar.zst
nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.zip
buildPython*: remove pythonRecompileBytecodeHook as dependency
This hook was added to get reproducible bytecode. Because it was causing
issues it was disabled, but still kept as a dependency. Now the main
issue with bytecode reproducibility has been resolved by updating pip to
20.2.4, we remove this hook as a dependency.

If a package with Python code is not yet reproducible, one could add
this hook to `nativeBuildInputs`.
Diffstat (limited to 'pkgs/development/interpreters/python/mk-python-derivation.nix')
-rw-r--r--pkgs/development/interpreters/python/mk-python-derivation.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix
index c3be76790eb..c85a5939055 100644
--- a/pkgs/development/interpreters/python/mk-python-derivation.nix
+++ b/pkgs/development/interpreters/python/mk-python-derivation.nix
@@ -17,7 +17,6 @@
 , pythonCatchConflictsHook
 , pythonImportsCheckHook
 , pythonNamespacesHook
-, pythonRecompileBytecodeHook
 , pythonRemoveBinBytecodeHook
 , pythonRemoveTestsDirHook
 , setuptoolsBuildHook
@@ -113,7 +112,6 @@ let
       python
       wrapPython
       ensureNewerSourcesForZipFilesHook  # move to wheel installer (pip) or builder (setuptools, flit, ...)?
-      pythonRecompileBytecodeHook  # Remove when solved https://github.com/NixOS/nixpkgs/issues/81441
       pythonRemoveTestsDirHook
     ] ++ lib.optionals catchConflicts [
       setuptools pythonCatchConflictsHook
@@ -167,9 +165,6 @@ let
     # Python packages built through cross-compilation are always for the host platform.
     disallowedReferences = lib.optionals (python.stdenv.hostPlatform != python.stdenv.buildPlatform) [ python.pythonForBuild ];
 
-    # For now, revert recompilation of bytecode.
-    dontUsePythonRecompileBytecode = true;
-
     meta = {
       # default to python's platforms
       platforms = python.meta.platforms;