pythonPackages.pycdio: clean up patching

The BSDI driver is not used by platforms supported by Nixpkgs.
This commit is contained in:
Robert Helgesson 2018-03-06 18:17:02 +01:00
parent 1bd790d613
commit 4134e62650
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -13061,9 +13061,7 @@ in {
sha256 = "1a1h0lmfl56a2a9xqhacnjclv81nv3906vdylalybxrk4bhrm3hj";
};
prePatch = ''
sed -i -e "s|if type(driver_id)==int|if type(driver_id) in (int, long)|g" cdio.py
'';
prePatch = "sed -i -e '/DRIVER_BSDI/d' pycdio.py";
preConfigure = ''
patchShebangs .