mirror of
https://github.com/nix-community/nixos-vscode-server.git
synced 2026-08-24 02:34:13 -05:00
include comment about the WSL lib cp creating symlinks
This commit is contained in:
@@ -34,6 +34,9 @@ let
|
||||
targetPkgs = _: runtimeDependencies;
|
||||
extraBuildCommands = ''
|
||||
if [[ -d /usr/lib/wsl ]]; then
|
||||
# Recursively symlink the lib files necessary for WSL
|
||||
# to properly function under the FHS compatible environment.
|
||||
# The -s stands for symbolic link.
|
||||
cp -rsHf /usr/lib/wsl usr/lib/wsl
|
||||
fi
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user