Skip to content

Commit

Permalink
chore: Don't rerun tests on all checks
Browse files Browse the repository at this point in the history
chore: Cleanup comments on flake.nix
  • Loading branch information
uttarayan21 committed Sep 5, 2024
1 parent 3be761a commit 104d34e
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
{
inherit src MNN_SRC;
pname = "mnn";
# cargoExtraArgs = "--example inspect";
doCheck = false;
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
nativeBuildInputs = with pkgs; [
cmake
Expand Down Expand Up @@ -109,33 +109,12 @@
mnn-deny = craneLib.cargoDeny {
inherit src;
};
# Run tests with cargo-nextest
# Consider setting `doCheck = false` on other crate derivations
# if you do not want the tests to run twice
mnn-nextest = craneLib.cargoNextest (commonArgs
// {
inherit cargoArtifacts;
partitions = 1;
partitionType = "count";
});

# Ensure that cargo-hakari is up to date
# mnn-hakari = craneLib.mkCargoDerivation {
# inherit src;
# pname = "mnn-hakari";
# cargoArtifacts = null;
# doInstallCargoArtifacts = false;
#
# buildPhaseCargoCommand = ''
# cargo hakari generate --diff # workspace-hack Cargo.toml is up-to-date
# cargo hakari manage-deps --dry-run # all workspace crates depend on workspace-hack
# cargo hakari verify
# '';
#
# nativeBuildInputs = [
# pkgs.cargo-hakari
# ];
# };
};
packages =
rec {
Expand Down

0 comments on commit 104d34e

Please sign in to comment.