Tracking issue for various flake related potential improvements.
Details
# another flake input is required for the advisory db
inputs.advisory-db = {
url = "github:rustsec/advisory-db";
flake = false;
}
# and new flake checks
payjoin-workspace-audit-minimal = craneLib.cargoAudit {
inherit src advisory-db;
cargoLock = ./Cargo-minimal.lock;
};
payjoin-workspace-audit-recent = craneLib.cargoAudit {
inherit src advisory-db;
cargoLock = ./Cargo-recent.lock;
};
Details
payjoin-workspace-deny-minimal = craneLib.cargoDeny {
inherit src;
cargoLock = ./Cargo-minimal.lock;
};
payjoin-workspace-deny-recent = craneLib.cargoDeny {
inherit src;
cargoLock = ./Cargo-recent.lock;
};
Details
payjoin-workspace-toml-fmt = craneLib.taploFmt {
src = pkgs.lib.sources.sourceFilesBySuffices src [ ".toml" ];
};
Tracking issue for various flake related potential improvements.
cargo auditDetails
cargo denyDetails
Details
cargo macheteorcargo udepsnix flake check -L .#{nix-fmt-check,shfmt,shellcheck}nix flake check -L, ensures project still compiles and runs unit tests but not integration tests for nowpkgs.bitcoindto environments (devshell, testing)pkgs.redisto environment, and allow running it without docker (bypassing test containers)nix flake checkin CInix flake checkusage, caveats