include comment about the WSL lib cp creating symlinks

This commit is contained in:
Matthijs Steen
2023-02-14 18:53:45 +01:00
parent 1bbe4bb5fc
commit 239aa637af
+3
View File
@@ -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
'';