forked from M-Labs/nix-scripts
wfvm: add official cmake msi
This commit is contained in:
parent
a5b336f63c
commit
465cc193ec
|
@ -61,6 +61,21 @@
|
||||||
win-exec installmsyspackages
|
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 = {
|
msvc = {
|
||||||
name = "MSVC";
|
name = "MSVC";
|
||||||
script = let
|
script = let
|
||||||
|
|
Loading…
Reference in New Issue