Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CUDA in WSL2 #44

Closed
wants to merge 8 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pkgs/auto-fix-vscode-server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ let
;
}) ++ extraFHSPackages pkgs;

extraBuildCommands = ''
if [[ -d /usr/lib/wsl ]]
then
cp -rsHf /usr/lib/wsl usr/lib/wsl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we symlink?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cp -rsHf is already symlinking.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Atry Thanks for clarifying, I wasn't aware it was symlinking either. I will keep it as it is then in PR #47, but I will add a comment about it actually symlinking for clarify sake.

fi
'';

runScript = "${nodejs}/bin/node";

meta = {
Expand Down