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

22 lines
305 B
Nix
Raw Normal View History

{ stdenv, pkgs }:
with pkgs;
with stdenv;
let
baseImage = callPackage ./base-image { };
in
{
buildInputs = lib.optional isLinux [
conan
nsis
baseImage
go # Needed for Windows build only
];
shellHook = ''
export STATUSREACT_WINDOWS_BASEIMAGE_PATH="${baseImage}/src"
'';
}