Skip to content

Commit

Permalink
Create directory for symlink tree
Browse files Browse the repository at this point in the history
otherwise $out/lib was a symlink which the files cannot be placed into

Closes #390
  • Loading branch information
SuperSandro2000 committed Jan 11, 2024
1 parent 2a88d9e commit a21f5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/wsl-distro.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ in

extraPackages = mkIf cfg.useWindowsDriver [
(pkgs.runCommand "wsl-lib" { } ''
mkdir "$out"
mkdir -p "$out/lib"
# # we cannot just symlink the lib directory because it breaks merging with other drivers that provide the same directory
ln -s /usr/lib/wsl/lib/libcudadebugger.so.1 "$out/lib"
ln -s /usr/lib/wsl/lib/libcuda.so "$out/lib"
Expand Down

0 comments on commit a21f5f6

Please sign in to comment.