From 403a6e88f204a1ebdede0971bbde0b845028a8ed 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 1f35c02c6e..3ccc665812 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