Merge #157558: openrazer-daemon: make build src name independent
This commit is contained in:
commit
d0c5d10cf0
@ -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"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user