Merge #157558: openrazer-daemon: make build src name independent

This commit is contained in:
Vladimír Čunát
2022-02-06 16:15:45 +01:00
@@ -21,8 +21,6 @@ buildPythonApplication (common // rec {
disabled = !isPy3k;
sourceRoot = "source/daemon";
outputs = [ "out" "man" ];
nativeBuildInputs = [ makeWrapper wrapGAppsHook ];
@@ -37,6 +35,10 @@ buildPythonApplication (common // rec {
setproctitle
];
prePatch = ''
cd daemon
'';
postPatch = ''
substituteInPlace openrazer_daemon/daemon.py --replace "plugdev" "openrazer"
'';