fix: add portaudio to LD_LIBRARY_PATH and add flake lockfile

Move LD_LIBRARY_PATH out of env block and include portaudio so
audio devices are discoverable at runtime. Add flake.lock and
a quick microphone test script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 00:42:36 +08:00
parent 843ec534d1
commit cbea62b2a9
3 changed files with 119 additions and 5 deletions
+4 -5
View File
@@ -21,11 +21,10 @@
cudaPackages.cudatoolkit
];
env = {
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
pkgs.cudaPackages.cudatoolkit
];
};
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
pkgs.portaudio
pkgs.cudaPackages.cudatoolkit
];
};
};
}