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

23 lines
325 B
Nix

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