about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2019-10-05 19:25:50 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2019-10-05 19:28:20 +0200
commit1b813fa0161c781775793c0d0799ea5b65968b7b (patch)
tree5bca5765b2dd70d8b7bda6bc1d75c3626f94412b /pkgs/development/python-modules
parent2436c27541b2f52deea3a4c1691216a02152e729 (diff)
downloadnixlib-1b813fa0161c781775793c0d0799ea5b65968b7b.tar
nixlib-1b813fa0161c781775793c0d0799ea5b65968b7b.tar.gz
nixlib-1b813fa0161c781775793c0d0799ea5b65968b7b.tar.bz2
nixlib-1b813fa0161c781775793c0d0799ea5b65968b7b.tar.lz
nixlib-1b813fa0161c781775793c0d0799ea5b65968b7b.tar.xz
nixlib-1b813fa0161c781775793c0d0799ea5b65968b7b.tar.zst
nixlib-1b813fa0161c781775793c0d0799ea5b65968b7b.zip
pythonPackages.openrazer-daemon: python3 only
The build [fails](https://hydra.nixos.org/build/102502339) due to not finding
the python3 interpreter; as far as I can tell, all scripts in the package
refer to python3.

For [ZHF](https://github.com/NixOS/nixpkgs/issues/68361)
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/openrazer/daemon.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/openrazer/daemon.nix b/pkgs/development/python-modules/openrazer/daemon.nix
index 6e3ab1e78338..dd54851ea812 100644
--- a/pkgs/development/python-modules/openrazer/daemon.nix
+++ b/pkgs/development/python-modules/openrazer/daemon.nix
@@ -1,4 +1,5 @@
 { buildPythonApplication
+, isPy3k
 , daemonize
 , dbus-python
 , fetchFromGitHub
@@ -21,6 +22,8 @@ buildPythonApplication (common // rec {
 
   sourceRoot = "source/daemon";
 
+  disabled = !isPy3k;
+
   outputs = [ "out" "man" ];
 
   nativeBuildInputs = [ makeWrapper wrapGAppsHook ];