Skip to content

Conversation

@Mshehu5
Copy link
Contributor

@Mshehu5 Mshehu5 commented Jan 24, 2026

This PR closes #1290

As stated in the issue this PR renames [profile.crane] to [profile.nix-ci] in Cargo.toml for clarity.

ciArgs,cargoArtifactsCi where added they use nix-ci profile for checks which are used in CI so they are fast

releaseArgs which use release profile is added so build packages are highly optimized and ready for production use.

Pull Request Checklist

Please confirm the following before requesting review:

@coveralls
Copy link
Collaborator

coveralls commented Jan 24, 2026

Pull Request Test Coverage Report for Build 21332553079

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 83.203%

Totals Coverage Status
Change from base Build 21287723795: 0.0%
Covered Lines: 10140
Relevant Lines: 12187

💛 - Coveralls

Copy link
Collaborator

@nothingmuch nothingmuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK, my suggestion is optional but maybe would help to simplify a little

flake.nix Outdated
"ohttp-relay" = "";
"payjoin-service" = "";
};
# use nix-ci profile for packages
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would consider moving this whole block to where it is used and eliminate the variable, it makes sense to define it as a transformation of the packages in the context of defining the msrv check suite, and remove the merging of ciPackages into the top level checks (under the msrv check is enough as nix flake check with no arguments will run that too)

Rename [profile.crane] to [profile.nix-ci] in Cargo.toml for clarity.
Separate build configurations into ciArgs for fast checks builds and releaseArgs for production build. Packages now use release profile by default while checks use nix-ci profile via ciPackages override.
Add separate cargoArtifactsCi to cache CI-profile dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nix profile improvements for CI

3 participants