From 701f22275c5c54a9cd0db980accb88012578f703 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Sun, 22 Apr 2018 08:55:10 +0100 Subject: [PATCH] xdot: disable for python 2.x It just fails at runtime otherwise. --- pkgs/development/python-modules/xdot/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/xdot/default.nix b/pkgs/development/python-modules/xdot/default.nix index 526376a41632..f9a735c97ab3 100644 --- a/pkgs/development/python-modules/xdot/default.nix +++ b/pkgs/development/python-modules/xdot/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchPypi +{ lib, buildPythonPackage, fetchPypi, isPy3k , wrapGAppsHook, gobjectIntrospection, pygobject3, graphviz, gnome3 }: buildPythonPackage rec { @@ -10,6 +10,8 @@ buildPythonPackage rec { sha256 = "01v9vmgdxz1q2m2vq2b4aqx4ycw7grc0l4is673ygvyg9rk02dx3"; }; + disabled = !isPy3k; + nativeBuildInputs = [ wrapGAppsHook ]; propagatedBuildInputs = [ gobjectIntrospection pygobject3 graphviz gnome3.gtk ];