From 5d6ed1be6e70ed0714f28951e8f8a7407193deb4 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Thu, 5 Sep 2024 09:18:23 -0400 Subject: [PATCH] fix(whisper): add CuDNN support --- lib/flake-lib.nix | 2 +- overlays/default.nix | 2 +- overlays/{broken-packages => misc}/default.nix | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename overlays/{broken-packages => misc}/default.nix (79%) diff --git a/lib/flake-lib.nix b/lib/flake-lib.nix index c9d408f5..ef73c791 100644 --- a/lib/flake-lib.nix +++ b/lib/flake-lib.nix @@ -21,7 +21,7 @@ inputs: rec { ++ (builtins.attrValues { inherit (inputs.self.overlays) - broken-packages + misc xdg-desktop-portal-kde ; }); diff --git a/overlays/default.nix b/overlays/default.nix index 975a91ae..fba6f240 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,4 +1,4 @@ {...}: { - broken-packages = import ./broken-packages; + misc = import ./misc; xdg-desktop-portal-kde = import ./xdg-desktop-portal-kde; } diff --git a/overlays/broken-packages/default.nix b/overlays/misc/default.nix similarity index 79% rename from overlays/broken-packages/default.nix rename to overlays/misc/default.nix index bc836ade..c396f6c7 100644 --- a/overlays/broken-packages/default.nix +++ b/overlays/misc/default.nix @@ -1,5 +1,6 @@ final: prev: { ctranslate2 = prev.ctranslate2.override { withCUDA = true; + withCuDNN = true; }; }