22 lines
583 B
Nix
22 lines
583 B
Nix
{
|
|
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"
|
|
'';
|
|
};
|
|
};
|
|
}
|