Skip to content

Commit

Permalink
chore: expose individual check derivations
Browse files Browse the repository at this point in the history
  • Loading branch information
igordejanovic committed Jun 12, 2024
1 parent aaf59aa commit cc89f8a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ let
fmt = craneLibToolchain.cargoFmt commonArgs;
in stdenv.mkDerivation {
name = "rustemo-workspace-check";

# A convenience for running each individual check when needed from CLI.
# E.g.: nix build .\#checks.x86_64-linux.stable.clippy
# Until this is solved: https://github.com/NixOS/nix/issues/8881
inherit tests clippy fmt;

buildInputs = [ tests clippy fmt ];
dontUnpack = true;
installPhase = ''
Expand Down

0 comments on commit cc89f8a

Please sign in to comment.