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

25 lines
318 B
Nix

{ stdenv, callPackage,
conan, nsis, go }:
with stdenv;
assert isLinux;
let
baseImage = callPackage ./base-image { };
in
{
buildInputs = lib.optionals isLinux [
conan
nsis
baseImage
go # Needed for Windows build only
];
shellHook = ''
${baseImage.shellHook}
unset QT_PATH
'';
}