mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
manually apply libev noreturn.patch to python-gevent
This commit is contained in:
parent
ec09587e5b
commit
f3338d88f1
|
@ -6564,6 +6564,12 @@ let
|
|||
sha256 = "0cds7yvwdlqmd590i59vzxaviwxk4js6dkhnmdxb3p1xac7wmq9s";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace libev/ev.c --replace \
|
||||
"ecb_inline void ecb_unreachable (void) ecb_noreturn" \
|
||||
"ecb_inline ecb_noreturn void ecb_unreachable (void)"
|
||||
'';
|
||||
|
||||
buildInputs = with self; [ pkgs.libev ];
|
||||
propagatedBuildInputs = optionals (!isPyPy) [ self.greenlet ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue