Pedro Pombeiro aeacbd928e
Separate logic into shell.nix and derivation.nix to fix nix build command
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-11 17:44:29 +02:00

22 lines
306 B
Nix

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