2019-05-17 08:55:24 +00:00
|
|
|
{ stdenv, callPackage,
|
2019-10-01 17:52:20 +00:00
|
|
|
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-07-19 18:40:03 +00:00
|
|
|
in {
|
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
|
|
|
|
|
|
|
shellHook = ''
|
2019-05-07 13:51:28 +00:00
|
|
|
${baseImage.shellHook}
|
2019-05-02 18:13:16 +00:00
|
|
|
unset QT_PATH
|
2019-04-03 22:05:59 +00:00
|
|
|
'';
|
2019-03-25 16:35:01 +00:00
|
|
|
}
|