forked from mirrors/nixpkgs
pythonPackages.pycdio: applied patch since driver_id can be also long type
This commit is contained in:
parent
83cf8b0cf8
commit
07c4cbccf1
|
@ -10340,6 +10340,10 @@ let
|
|||
sha256 = "1mrh233pj584gf7la64d4xlmvdnfl4jwpxs95lnd3i4zd5drid14";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e "s|if type(driver_id)==int|if type(driver_id) in (int, long)|g" cdio.py
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue