pythonPackages.pycdio: clean up patching
The BSDI driver is not used by platforms supported by Nixpkgs.
This commit is contained in:
parent
1bd790d613
commit
4134e62650
@ -13061,9 +13061,7 @@ in {
|
|||||||
sha256 = "1a1h0lmfl56a2a9xqhacnjclv81nv3906vdylalybxrk4bhrm3hj";
|
sha256 = "1a1h0lmfl56a2a9xqhacnjclv81nv3906vdylalybxrk4bhrm3hj";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = "sed -i -e '/DRIVER_BSDI/d' pycdio.py";
|
||||||
sed -i -e "s|if type(driver_id)==int|if type(driver_id) in (int, long)|g" cdio.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user