mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
python3.pkgs.python-swiftclient: patch out duplicate script
This commit is contained in:
parent
b2d45d788a
commit
982923c3e5
@ -22,6 +22,13 @@ buildPythonPackage rec {
|
||||
hash = "sha256-Hj3fmYzL6n3CWqbfjrPffTi/S8lrBl8vhEMeglmBezM=";
|
||||
};
|
||||
|
||||
# remove duplicate script that will be created by setuptools from the
|
||||
# entry_points section of setup.cfg
|
||||
postPatch = ''
|
||||
sed -i '/^scripts =/d' setup.cfg
|
||||
sed -i '/bin\/swift/d' setup.cfg
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user