From 9b95fdf2297d0676f44ec965cd9a4db38d348a78 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Sat, 29 Oct 2022 11:55:13 +1300 Subject: [PATCH] openrazer-daemon: fix build --- pkgs/development/python-modules/openrazer/daemon.nix | 4 ++-- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/openrazer/daemon.nix b/pkgs/development/python-modules/openrazer/daemon.nix index 616d69d389b8..4c551bc7150f 100644 --- a/pkgs/development/python-modules/openrazer/daemon.nix +++ b/pkgs/development/python-modules/openrazer/daemon.nix @@ -1,5 +1,5 @@ { lib -, buildPythonApplication +, buildPythonPackage , isPy3k , daemonize , dbus-python @@ -16,7 +16,7 @@ let common = import ./common.nix { inherit lib fetchFromGitHub; }; in -buildPythonApplication (common // rec { +buildPythonPackage (common // rec { pname = "openrazer_daemon"; disabled = !isPy3k; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5e55b57c40d4..c84993867a2b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30883,7 +30883,7 @@ with pkgs; libopenmpt-modplug = callPackage ../development/libraries/audio/libopenmpt-modplug { }; - openrazer-daemon = with python3Packages; toPythonApplication openrazer-daemon; + openrazer-daemon = python3Packages.toPythonApplication python3Packages.openrazer-daemon; opusfile = callPackage ../applications/audio/opusfile { };