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
commit d0c5d10cf0
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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"
'';