Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ ohttp-relay = { path = "ohttp-relay" }
payjoin = { path = "payjoin" }
payjoin-directory = { path = "payjoin-directory" }
payjoin-test-utils = { path = "payjoin-test-utils" }

[profile.crane]
inherits = "test"
debug = false
7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@
inherit src;
strictDeps = true;

# avoid release builds throughout for faster feedback from checks
# note that this also affects the built packages
CARGO_PROFILE = "crane";

# provide fallback name & version for workspace related derivations
# this is mainly to silence warnings from crane about providing a stub
# value overridden in per-crate packages with info from Cargo.toml
Expand Down Expand Up @@ -217,10 +221,11 @@
partitions = 1;
partitionType = "count";
cargoExtraArgs = "--locked --all-features";
NEXTEST_SHOW_PROGRESS = "none";
BITCOIND_EXE = nixpkgs.lib.getExe' pkgs.bitcoind "bitcoind";
nativeBuildInputs = [ nginxWithStream ];
doInstallCargoArtifacts = false;
}

)
))
) craneLibVersions
Expand Down
Loading