mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
Merge pull request #224670 from Artturin/distlibremove
python310Packages.distlib: remove unnecessary and unreproducible exe's
This commit is contained in:
commit
56deed756a
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
@ -18,6 +19,10 @@ buildPythonPackage rec {
|
||||
setuptools
|
||||
];
|
||||
|
||||
postFixup = lib.optionalString (!stdenv.targetPlatform.isWindows) ''
|
||||
find $out -name '*.exe' -delete
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"distlib"
|
||||
"distlib.database"
|
||||
@ -39,4 +44,3 @@ buildPythonPackage rec {
|
||||
maintainers = with maintainers; [ lnl7 ];
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user