diff --git a/flake.nix b/flake.nix deleted file mode 100644 index d8fcf25..0000000 --- a/flake.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - description = "Cohere Transcribe dev environment with microphone support"; - - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - }; - - outputs = { nixpkgs, ... }: { - devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.mkShell { - buildInputs = with nixpkgs.legacyPackages.x86_64-linux; [ - portaudio - cudaPackages.cudatoolkit - ]; - - shellHook = '' - export LD_LIBRARY_PATH="${cudaPackages.cudatoolkit}/lib:$LD_LIBRARY_PATH" - echo "Dev shell ready - microphone input enabled" - ''; - }; - }; -} diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..28ed63a --- /dev/null +++ b/shell.nix @@ -0,0 +1,15 @@ +{ pkgs ? import { config.allowUnfree = true; } }: + +pkgs.mkShell { + buildInputs = with pkgs; [ + portaudio + cudaPackages.cudatoolkit + uv + python314 + ]; + + shellHook = '' + export LD_LIBRARY_PATH="${pkgs.cudaPackages.cudatoolkit}/lib:$LD_LIBRARY_PATH" + echo "Dev shell ready - microphone input enabled" + ''; +}