Add NVIDIA acceleration how-to documentation#586
Add NVIDIA acceleration how-to documentation#586shikanime wants to merge 3 commits intonix-community:mainfrom
Conversation
7ec4a50 to
dfb4d86
Compare
|
|
||
| ```nix | ||
| let | ||
| wsl-lib = pkgs.runCommand "wsl-lib" { } '' |
There was a problem hiding this comment.
This is literally a copy of
NixOS-WSL/modules/wsl-distro.nix
Lines 84 to 105 in adb6bc4
There was a problem hiding this comment.
Yes, it's the same, we could make it more dynamic with a for loop or depending on the API design of this project, add it as an option.
Update: So far, build isolation doesn't seem to allow us to dynamically shell for each for the shared library in an asolute path, I don't know how the home-manager managed to make it work.
There was a problem hiding this comment.
Would the ldconfig option help non-Nix binaries find the WSL drivers?
There was a problem hiding this comment.
This is different, there are numerous cases where the executable we want to work with comes from outside the nix store, so nix-ld is needed. This example shows how to use the GPU with it.
Co-authored-by: Diogo Doreto <diogo@doreto.com.br>
0fa96ff to
d34d941
Compare
cc18cce to
fd04040
Compare
No description provided.