diff --git a/flake.lock b/flake.lock index d3b02a8..9ad4a56 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1729265718, - "narHash": "sha256-4HQI+6LsO3kpWTYuVGIzhJs1cetFcwT7quWCk/6rqeo=", + "lastModified": 1729595756, + "narHash": "sha256-rNaLWDqjgy23Y6M3K/e7Kiyimq04ikDMrErpqgXWcV0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ccc0c2126893dd20963580b6478d1a10a4512185", + "rev": "782740762fb281404740b6b7084d356c3dab1173", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index a480c50..ff9dc15 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,12 @@ pythonPackages = pkgs.python312Packages; - custom-opencv4 = pythonPackages.opencv4.override { enableGtk3 = true; }; + custom-opencv4 = pythonPackages.opencv4.override { + enableGtk3 = true; + enableFfmpeg = + true; # here is how to add ffmpeg and other compilation flags + ffmpeg = pkgs.ffmpeg-full; + }; lapx = pkgs.python3Packages.buildPythonPackage rec { version = "0.5.11";