mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
libedgetpu: use dedicated coral group
(cherry picked from commit aa0a26280d
)
This commit is contained in:
parent
e9406b9d3f
commit
b4a6089ab8
@ -43,6 +43,12 @@ stdenv.mkDerivation {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Use dedicated group for coral devices
|
||||
substituteInPlace debian/edgetpu-accelerator.rules \
|
||||
--replace-fail "plugdev" "coral"
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"-f"
|
||||
"makefile_build/Makefile"
|
||||
|
Loading…
Reference in New Issue
Block a user