Skip to content

Commit

Permalink
build: comment out checks
Browse files Browse the repository at this point in the history
  • Loading branch information
icecreammatt committed Jan 29, 2024
1 parent 6f59f33 commit 34575df
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -152,31 +152,31 @@
default = self.packages.${system}.helix;
};

checks = {
# Build the crate itself
inherit (self.packages.${system}) helix;
# checks = {
# # Build the crate itself
# inherit (self.packages.${system}) helix;

#clippy = craneLibMSRV.cargoClippy (commonArgs
# // {
# inherit cargoArtifacts;
# cargoClippyExtraArgs = "--all-targets -- --deny warnings";
#});
# #clippy = craneLibMSRV.cargoClippy (commonArgs
# # // {
# # inherit cargoArtifacts;
# # cargoClippyExtraArgs = "--all-targets -- --deny warnings";
# #});

fmt = craneLibMSRV.cargoFmt commonArgs;
# fmt = craneLibMSRV.cargoFmt commonArgs;

doc = craneLibMSRV.cargoDoc (commonArgs
// {
inherit cargoArtifacts;
});
# doc = craneLibMSRV.cargoDoc (commonArgs
# // {
# inherit cargoArtifacts;
# });

test = craneLibMSRV.cargoTest (commonArgs
// {
inherit cargoArtifacts;
});
};
# test = craneLibMSRV.cargoTest (commonArgs
# // {
# inherit cargoArtifacts;
# });
# };

devShells.default = pkgs.mkShell {
inputsFrom = builtins.attrValues self.checks.${system};
# inputsFrom = builtins.attrValues self.checks.${system};
nativeBuildInputs = with pkgs;
[lld_13 cargo-flamegraph rust-analyzer]
++ (lib.optional (stdenv.isx86_64 && stdenv.isLinux) pkgs.cargo-tarpaulin)
Expand Down

0 comments on commit 34575df

Please sign in to comment.