Skip to content

nix flake tracking issue #457

@nothingmuch

Description

@nothingmuch

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;
};
  • cargo deny
    • add deny.toml with approved licenses
    • enforce with flake check:
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;
};
  • toml formatting
    • format existing files
    • enforce with flake check
Details
payjoin-workspace-toml-fmt = craneLib.taploFmt {
  src = pkgs.lib.sources.sourceFilesBySuffices src [ ".toml" ];
};

Metadata

Metadata

Labels

trackingHigh-level tracking issues

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions