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

Symbolic Link Error When Using wsl.useWindowsDriver #390

Closed
pupbrained opened this issue Jan 11, 2024 · 1 comment · Fixed by #392
Closed

Symbolic Link Error When Using wsl.useWindowsDriver #390

pupbrained opened this issue Jan 11, 2024 · 1 comment · Fixed by #392
Labels
bug Something isn't working

Comments

@pupbrained
Copy link

Bug description

When trying to use the wsl.useWindowsDriver option in my NixOS WSL configuration, the rebuild fails with:

ln: failed to create symbolic link '/nix/store/dkwgqmk9mnv1337kjm3kwa9qhz9401g6-wsl-lib/lib': File exists

To Reproduce

Steps to reproduce the behavior:

  1. Add wsl.useWindowsDriver = true to NixOS configuration.
  2. Run nixos-rebuild switch.

Logs

In description

WSL version

WSL version: 2.0.9.0
Kernel version: 5.15.133.1-1
WSLg version: 1.0.59
MSRDC version: 1.2.4677
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.2861
@pupbrained pupbrained added the bug Something isn't working label Jan 11, 2024
@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Jan 11, 2024

Please update, this got fixed by #383 nope, doing a fix

SuperSandro2000 added a commit that referenced this issue Jan 11, 2024
otherwise $out/lib was a symlink which the files cannot be placed into

Closes #390
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants