Created
June 28, 2015 09:09
-
-
Save rob-b/78365cf92e036bef62d0 to your computer and use it in GitHub Desktop.
Changes needed to install gevent with nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix | |
index 910d763..3111e9a 100644 | |
--- a/pkgs/top-level/python-packages.nix | |
+++ b/pkgs/top-level/python-packages.nix | |
@@ -5744,13 +5744,14 @@ let | |
}; | |
buildInputs = with self; [ pkgs.libev ]; | |
+ CFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-std=gnu99"; | |
propagatedBuildInputs = optionals (!isPyPy) [ self.greenlet ]; | |
meta = { | |
description = "Coroutine-based networking library"; | |
homepage = http://www.gevent.org/; | |
license = licenses.mit; | |
- platforms = platforms.linux; | |
+ platforms = platforms.unix; | |
maintainers = with maintainers; [ bjornfor ]; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment