about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sip
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2014-09-06 22:24:56 +0200
committerDomen Kožar <domen@dev.si>2014-09-06 22:25:00 +0200
commit0418d8299d17e7efac7585bf7843c4a3356e9316 (patch)
tree8456c14da235af1804d613b182cbb50c533ace44 /pkgs/development/python-modules/sip
parente9c1fb0c89a75e23f9a78f6388629db244066449 (diff)
disable a bunch of python packages on pypy
Diffstat (limited to 'pkgs/development/python-modules/sip')
-rw-r--r--pkgs/development/python-modules/sip/4.16.nix4
-rw-r--r--pkgs/development/python-modules/sip/default.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/sip/4.16.nix b/pkgs/development/python-modules/sip/4.16.nix
index aa1fb19843854..210346062f9e9 100644
--- a/pkgs/development/python-modules/sip/4.16.nix
+++ b/pkgs/development/python-modules/sip/4.16.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchurl, python }:
+{ stdenv, fetchurl, python, isPyPy }:
 
-stdenv.mkDerivation rec {
+if isPyPy then throw "sip not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
   name = "sip-4.16.1";
 
   src = fetchurl {
diff --git a/pkgs/development/python-modules/sip/default.nix b/pkgs/development/python-modules/sip/default.nix
index db397f9594487..cf3a0149844bb 100644
--- a/pkgs/development/python-modules/sip/default.nix
+++ b/pkgs/development/python-modules/sip/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchurl, python }:
+{ stdenv, fetchurl, python, isPyPy }:
 
-stdenv.mkDerivation rec {
+if isPyPy then throw "sip not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
   name = "sip-4.14.7"; # kde410.pykde4 doesn't build with 4.15
 
   src = fetchurl {