Skip to content

Commit

Permalink
pythonPackages.pycdio: clean up patching
Browse files Browse the repository at this point in the history
The BSDI driver is not used by platforms supported by Nixpkgs.
  • Loading branch information
rycee committed Mar 6, 2018
1 parent 1bd790d commit 4134e62
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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 .
Expand Down

0 comments on commit 4134e62

Please sign in to comment.