From 1b813fa0161c781775793c0d0799ea5b65968b7b Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sat, 5 Oct 2019 19:25:50 +0200 Subject: [PATCH] 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) --- pkgs/development/python-modules/openrazer/daemon.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/openrazer/daemon.nix b/pkgs/development/python-modules/openrazer/daemon.nix index 6e3ab1e7833..dd54851ea81 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 ];