diff options
-rw-r--r-- | tools/eaglemode/plugins/avif/default.nix | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/tools/eaglemode/plugins/avif/default.nix b/tools/eaglemode/plugins/avif/default.nix index 5def86a6ed82..07577c685cc7 100644 --- a/tools/eaglemode/plugins/avif/default.nix +++ b/tools/eaglemode/plugins/avif/default.nix @@ -1,16 +1,10 @@ { depot, pkgs, ... }: -let - em = depot.tools.eaglemode; - emSrc = pkgs.srcOnly pkgs.em; -in -(em.buildPlugin { +depot.tools.eaglemode.buildPlugin { name = "avif"; version = "canon"; src = ./.; target = "PlAvif"; -}).overrideAttrs - ({ buildInputs ? [ ], nativeBuildInputs ? [ ], ... }: { - buildInputs = buildInputs ++ [ pkgs.libavif ]; - nativeBuildInputs = nativeBuildInputs ++ [ pkgs.pkg-config ]; - }) + extraBuildInputs = [ pkgs.libavif ]; + extraNativeBuildInputs = [ pkgs.pkg-config ]; +} |