Skip to content

Commit 4134e62

Browse files
committedMar 6, 2018
pythonPackages.pycdio: clean up patching
The BSDI driver is not used by platforms supported by Nixpkgs.
1 parent 1bd790d commit 4134e62

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎pkgs/top-level/python-packages.nix

+1-3
Original file line numberDiff line numberDiff line change
@@ -13061,9 +13061,7 @@ in {
1306113061
sha256 = "1a1h0lmfl56a2a9xqhacnjclv81nv3906vdylalybxrk4bhrm3hj";
1306213062
};
1306313063

13064-
prePatch = ''
13065-
sed -i -e "s|if type(driver_id)==int|if type(driver_id) in (int, long)|g" cdio.py
13066-
'';
13064+
prePatch = "sed -i -e '/DRIVER_BSDI/d' pycdio.py";
1306713065

1306813066
preConfigure = ''
1306913067
patchShebangs .

0 commit comments

Comments
 (0)
Please sign in to comment.