mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 18:12:34 +09:00
libedgetpu: use dedicated coral group
This commit is contained in:
parent
b9dec6d59f
commit
aa0a26280d
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue