mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 14:34:33 +00:00
nixos/frigate: inherit required functions from lib
This commit is contained in:
parent
81001625a7
commit
a810c07ff2
@ -8,6 +8,9 @@ let
|
||||
inherit (lib)
|
||||
any
|
||||
attrValues
|
||||
converge
|
||||
elem
|
||||
filterAttrsRecursive
|
||||
hasPrefix
|
||||
makeLibraryPath
|
||||
match
|
||||
@ -24,7 +27,7 @@ let
|
||||
|
||||
format = pkgs.formats.yaml { };
|
||||
|
||||
filteredConfig = lib.converge (lib.filterAttrsRecursive (_: v: ! lib.elem v [ null ])) cfg.settings;
|
||||
filteredConfig = converge (filterAttrsRecursive (_: v: ! elem v [ null ])) cfg.settings;
|
||||
|
||||
cameraFormat = with types; submodule {
|
||||
freeformType = format.type;
|
||||
@ -549,7 +552,7 @@ in
|
||||
libva-utils
|
||||
procps
|
||||
radeontop
|
||||
] ++ lib.optionals (!stdenv.hostPlatform.isAarch64) [
|
||||
] ++ optionals (!stdenv.hostPlatform.isAarch64) [
|
||||
# not available on aarch64-linux
|
||||
intel-gpu-tools
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user