mirror of
https://codeberg.org/icewind/mill-scale.git
synced 2026-06-03 09:54:19 +02:00
parent
25737430ec
commit
08e5974348
2 changed files with 20 additions and 20 deletions
|
|
@ -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, ... }: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue