status-mobile/nix/desktop/windows/default.nix

22 lines
341 B
Nix
Raw Normal View History

{ stdenv, callPackage,
conan, nsis, go, baseImageFactory }:
assert stdenv.isLinux;
let
baseImage = baseImageFactory "windows";
2019-07-19 18:40:03 +00:00
in {
buildInputs = stdenv.lib.optionals stdenv.isLinux [
conan
nsis
baseImage
go # Needed for Windows build only
];
shellHook = ''
${baseImage.shellHook}
unset QT_PATH
'';
}