2019-11-29 10:20:08 +00:00
|
|
|
{ stdenv, mkShell, conan, nsis, go, baseImageFactory }:
|
2019-03-25 16:35:01 +00:00
|
|
|
|
2019-06-04 16:50:29 +00:00
|
|
|
assert stdenv.isLinux;
|
2019-05-07 06:43:53 +00:00
|
|
|
|
2019-03-25 16:35:01 +00:00
|
|
|
let
|
2019-10-01 17:52:20 +00:00
|
|
|
baseImage = baseImageFactory "windows";
|
2019-03-25 16:35:01 +00:00
|
|
|
|
2019-11-29 10:20:08 +00:00
|
|
|
in rec {
|
2019-06-04 16:50:29 +00:00
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isLinux [
|
2019-03-25 16:35:01 +00:00
|
|
|
conan
|
|
|
|
nsis
|
|
|
|
baseImage
|
|
|
|
go # Needed for Windows build only
|
|
|
|
];
|
2019-04-03 22:05:59 +00:00
|
|
|
|
2019-11-29 10:20:08 +00:00
|
|
|
shell = mkShell {
|
|
|
|
inherit buildInputs;
|
|
|
|
shellHook = ''
|
|
|
|
${baseImage.shellHook}
|
|
|
|
unset QT_PATH
|
|
|
|
'';
|
|
|
|
};
|
2019-03-25 16:35:01 +00:00
|
|
|
}
|