wfvm: add official cmake msi

pull/30/head
Sebastien Bourdeauducq 2020-06-17 21:51:36 +08:00
parent a5b336f63c
commit 465cc193ec
1 changed files with 15 additions and 0 deletions

View File

@ -61,6 +61,21 @@
win-exec installmsyspackages
'';
};
cmake = {
name = "CMake";
script = let
cmake = pkgs.fetchurl {
name = "cmake.msi";
url = "https://github.com/Kitware/CMake/releases/download/v3.18.0-rc1/cmake-3.18.0-rc1-win64-x64.msi";
sha256 = "1n32jzbg9w3vfbvyi9jqijz97gn1zsk1w5226wlrxd2a9d4w1hrn";
};
in
''
ln -s ${cmake} cmake.msi
win-put cmake.msi
win-exec "msiexec.exe /q /i cmake.msi ADD_CMAKE_TO_PATH=System"
'';
};
msvc = {
name = "MSVC";
script = let