fix(nix): clear out crane build warnings

This commit is contained in:
Harsh Shandilya 2023-06-24 02:44:14 +05:30
parent a852d56eaf
commit ca773575d3
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View File

@ -14,7 +14,3 @@ panic = "abort"
clap = { version = "4.3.6", features = [ "color", "deprecated", "derive" ] }
healthchecks = { path = "healthchecks", version = "^3.1.4" }
color-eyre = { version = "0.6.2", default-features = false }
[workspace.package]
version = "1.0.0"
name = "healthchecks-rs"

View File

@ -71,6 +71,8 @@
buildInputs = [];
nativeBuildInputs = [];
cargoClippyExtraArgs = "--all-targets -- --deny warnings";
# https://github.com/ipetkov/crane/issues/312
extraDummyScript = "rm -f $(find $out | grep bin/crane-dummy/main.rs)";
};
hcctlArgs = "-p hcctl";
healthchecksArgs = "-p healthchecks";
@ -85,7 +87,10 @@
monitorName = craneLib.crateNameFromCargoToml {
cargoToml = ./monitor/Cargo.toml;
};
workspaceName = craneLib.crateNameFromCargoToml {cargoToml = ./Cargo.toml;};
workspaceName = {
version = "1.0.0";
pname = "healthchecks-rs";
};
audit = craneLib.cargoAudit (commonArgs
// {