fmt
Some checks failed
CI / checks (push) Has been cancelled

This commit is contained in:
Robin Appelman 2024-10-30 19:08:00 +01:00
commit 08e5974348
2 changed files with 20 additions and 20 deletions

View file

@ -269,14 +269,14 @@ warnIf (! builtins ? readFileType) "Unsupported Nix version in use."
};
}) // (optionalAttrs hasExamples {
examples = craneLibMsrv.buildPackage {
src = filteredSrc;
pname = "${crateName}-examples";
cargoArtifacts = if hasFeatures then cargoArtifactsAllFeatures else cargoArtifacts;
strictDeps = true;
doCheck = false;
cargoExtraArgs = "--examples ${optionalString hasFeatures "--all-features"} ${maybeWorkspace}";
inherit ((buildDeps pkgs)) buildInputs nativeBuildInputs;
};
src = filteredSrc;
pname = "${crateName}-examples";
cargoArtifacts = if hasFeatures then cargoArtifactsAllFeatures else cargoArtifacts;
strictDeps = true;
doCheck = false;
cargoExtraArgs = "--examples ${optionalString hasFeatures "--all-features"} ${maybeWorkspace}";
inherit ((buildDeps pkgs)) buildInputs nativeBuildInputs;
};
});
apps = { cargo-miri, cargo-semver-checks, ... }: {