From bc28c3c70937e1047fa7a412ff61f649757f63b9 Mon Sep 17 00:00:00 2001 From: Alexandre Macabies Date: Tue, 1 Aug 2023 15:22:59 +0200 Subject: [PATCH] fix: flake: add opencv with CUDA, new patchmatch dependency. --- flake.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/flake.nix b/flake.nix index 1f35c02c6e9..3ccc6658121 100644 --- a/flake.nix +++ b/flake.nix @@ -34,6 +34,10 @@ cudaPackages.cudnn cudaPackages.cuda_nvrtc cudatoolkit + pkgconfig + libconfig + cmake + blas freeglut glib gperf @@ -42,6 +46,12 @@ libGLU linuxPackages.nvidia_x11 python + (opencv4.override { + enableGtk3 = true; + enableFfmpeg = true; + enableCuda = true; + enableUnfree = true; + }) stdenv.cc stdenv.cc.cc.lib xorg.libX11