Skip to content

Commit

Permalink
run elm-test
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed May 13, 2021
1 parent 7a9357f commit e9b5c4d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion default.nix
Expand Up @@ -5,14 +5,17 @@ in nixpkgs.stdenv.mkDerivation {
name = "bad-datalog";

src = gitignore.gitignoreSource ./.;
buildInputs = [ nixpkgs.elmPackages.elm ];
buildInputs = [ nixpkgs.elmPackages.elm nixpkgs.elmPackages.elm-test ];

buildPhase = nixpkgs.elmPackages.fetchElmDeps {
elmPackages = import ./nix/elm-srcs.nix;
elmVersion = "0.19.1";
registryDat = ./nix/registry.dat;
};

doCheck = true;
checkPhase = "elm-test";

# it's a little weird that elm2nix says it's fine to build in the install
# phase, but who am I to judge?
installPhase = ''
Expand Down

0 comments on commit e9b5c4d

Please sign in to comment.