Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/crane/enhance.nix
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ craneLib.overrideScope (
inherit pname;
})
// {
buildPhaseCargoCommand = "cargoWithProfile doc --workspace --locked ; cargoWithProfile check --workspace --all-targets --locked ; cargoWithProfile build --locked --workspace --all-targets";
buildPhaseCargoCommand = "cargoWithProfile check --workspace --all-targets --locked ; cargoWithProfile doc --workspace --locked --no-deps; cargoWithProfile build --locked --workspace --all-targets";
}
// args
);
Expand All @@ -135,7 +135,7 @@ craneLib.overrideScope (
inherit pname;
})
// {
buildPhaseCargoCommand = "cargoWithProfile doc --workspace --locked ; cargoWithProfile check --workspace --all-targets --locked ; cargoWithProfile build --locked --workspace --all-targets";
buildPhaseCargoCommand = "cargoWithProfile check --workspace --all-targets --locked ; cargoWithProfile doc --workspace --locked --no-deps; cargoWithProfile build --locked --workspace --all-targets";
doCheck = false;
}
// args
Expand Down
Loading