From f2df4cef5cd673b578eceed1ec4d848c5f13509d Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 25 Dec 2016 16:48:14 +0100 Subject: [PATCH] pythonPackages.xgboost: only with Python 3.x --- pkgs/top-level/python-packages.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0f7c4c44ff18..9af257a0088a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -30140,6 +30140,9 @@ EOF propagatedBuildInputs = with self; [ scipy ]; buildInputs = with self; [ nose ]; + # Cannot be installed with Python 2.x, most likely due to the patch below. + disabled = !isPy3k; + postPatch = '' cd python-package