Skip to content

Commit

Permalink
Merge pull request #123 from mobusoperandi/build-check
Browse files Browse the repository at this point in the history
chore(flake): checks.build = packages.default
  • Loading branch information
mightyiam authored Jul 6, 2024
2 parents 795243a + aea1c5c commit f319570
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
in
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
packages = self.packages.${system};
toolchain = fenix.packages.${system}.stable.completeToolchain;
craneLib = (crane.mkLib pkgs).overrideToolchain toolchain;
nixDrv = pkgs.nixVersions.nix_2_21;
Expand Down Expand Up @@ -82,5 +83,6 @@
formatter = treefmtEval.config.build.wrapper;

checks.formatting = treefmtEval.config.build.check self;
checks.build = packages.default;
});
}

0 comments on commit f319570

Please sign in to comment.