wfvm: use absolute path for VS layout creation

This commit is contained in:
Sebastien Bourdeauducq 2020-06-18 11:08:09 +08:00
parent f1325dce29
commit d64fcec76e

View File

@ -98,8 +98,8 @@ in
ln -s ${bootstrapper} vs_Community.exe ln -s ${bootstrapper} vs_Community.exe
${wfvm.utils.win-put}/bin/win-put vs_Community.exe ${wfvm.utils.win-put}/bin/win-put vs_Community.exe
rm vs_Community.exe rm vs_Community.exe
${wfvm.utils.win-exec}/bin/win-exec "vs_Community.exe --quiet --layout vslayout --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US" ${wfvm.utils.win-exec}/bin/win-exec "vs_Community.exe --quiet --layout c:\vslayout --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US"
${wfvm.utils.win-get}/bin/win-get vslayout ${wfvm.utils.win-get}/bin/win-get /c:/vslayout
''; '';
}; };
cache = pkgs.stdenv.mkDerivation { cache = pkgs.stdenv.mkDerivation {