about summary refs log tree commit diff
path: root/pkgs/development/python-modules/nix-kernel
diff options
context:
space:
mode:
authorMasanori Ogino <167209+omasanori@users.noreply.github.com>2020-11-03 11:43:14 +0900
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-03 07:36:03 -0800
commit719cfc6cf0889cbab61e5619dbb4b7fb30a2a438 (patch)
treeb4020e8b4bf70ca75dc9bc616cde41dba946a5e3 /pkgs/development/python-modules/nix-kernel
parent7543833ccf992cb199a4d9f9605cedd3963a546b (diff)
pythonPackages.nix-kernel: disable on Python 2
Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
Diffstat (limited to 'pkgs/development/python-modules/nix-kernel')
-rw-r--r--pkgs/development/python-modules/nix-kernel/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/nix-kernel/default.nix b/pkgs/development/python-modules/nix-kernel/default.nix
index 81057308e6b55..5758e60fa3fc6 100644
--- a/pkgs/development/python-modules/nix-kernel/default.nix
+++ b/pkgs/development/python-modules/nix-kernel/default.nix
@@ -1,6 +1,7 @@
 { lib
 , buildPythonPackage
 , fetchFromGitHub
+, isPy3k
 , pexpect
 , notebook
 , nix
@@ -10,6 +11,8 @@ buildPythonPackage rec {
   pname = "nix-kernel";
   version = "unstable-2020-04-26";
 
+  disabled = !isPy3k;
+
   src = fetchFromGitHub {
     owner = "GTrunSec";
     repo = "nix-kernel";