diff --git a/default.nix b/default.nix index c9e8eac..f333e7e 100644 --- a/default.nix +++ b/default.nix @@ -8,11 +8,16 @@ stdenv.mkDerivation { name = "elo-anything"; src = gitignore.gitignoreSource ./.; - buildInputs = [ elmPackages.elm ]; + buildInputs = [ elmPackages.elm elmPackages.elm-test ]; buildPhase = '' env ELM_HOME=.elm make dist ''; + doCheck = true; + checkPhase = '' + env ELM_HOME=.elm elm-test + ''; + installPhase = '' mkdir -p $out/share/ mv dist $out/share/elo-anything