pypy: handle unsupported packages

This commit is contained in:
Domen Kožar
2014-09-11 14:29:20 +02:00
parent a44de69d06
commit 2632afa131
5 changed files with 18 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchurl, python, pkgconfig, dbus, dbus_glib, dbus_tools }:
{ stdenv, fetchurl, python, pkgconfig, dbus, dbus_glib, dbus_tools, isPyPy }:
stdenv.mkDerivation rec {
if isPyPy then throw "dbus-python not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
name = "dbus-python-1.2.0";
src = fetchurl {