Restore frigate functionality by reverting to an older tensorflow version for libedgetpu

This commit is contained in:
2024-05-26 17:16:59 -06:00
parent efe50be604
commit b482a8c106
4 changed files with 64 additions and 36 deletions

View File

@@ -1,6 +1,15 @@
{ inputs }:
final: prev:
let
system = prev.system;
frigatePkgs = inputs.nixpkgs-frigate.legacyPackages.${system};
in
{
libedgetpu = prev.callPackage ./libedgetpu { };
# It seems that libedgetpu needs to be built with the newer version of tensorflow in nixpkgs
# but I am lazy so I instead just downgrade by using the old nixpkgs
libedgetpu = frigatePkgs.callPackage ./libedgetpu { };
frigate = frigatePkgs.frigate;
actual-server = prev.callPackage ./actualbudget { };
}