pythonPackages.pip: make package reproducible
This fixes #201146 by removing the vendored Windows PE binaries.
This commit is contained in:
parent
442fcc94e1
commit
0cf7fb8f05
@ -27,6 +27,12 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [ bootstrapped-pip ];
|
||||
|
||||
postPatch = ''
|
||||
# Remove vendored Windows PE binaries
|
||||
# Note: These are unused but make the package unreproducible.
|
||||
find -type f -name '*.exe' -delete
|
||||
'';
|
||||
|
||||
# pip detects that we already have bootstrapped_pip "installed", so we need
|
||||
# to force it a little.
|
||||
pipInstallFlags = [ "--ignore-installed" ];
|
||||
|
Loading…
Reference in New Issue
Block a user