pythonPackages.pycdio: applied patch since driver_id can be also long type

This commit is contained in:
Rok Garbas 2015-08-29 22:02:05 +02:00
parent 83cf8b0cf8
commit 07c4cbccf1

View File

@ -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 .
'';