Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to a crane based build #42

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Switch to a crane based build #42

merged 1 commit into from
Apr 2, 2024

Conversation

ErinvanderVeen
Copy link

Switch from Naersk to Crane

Description

This PR removes Naersk in favour of Crane. There is no specific reason that we make this switch other than some additional flexibility.

Checklist

Checklist before merging:

  • [ ] CHANGELOG.md updated
  • [ ] README.md up-to-date

@ErinvanderVeen ErinvanderVeen merged commit 22eb285 into master Apr 2, 2024
9 checks passed
cyclonedx = pkgs.callPackage ./nix/cyclonedx.nix { };
nixtract-cli = nixtract.defaultPackage.${system};

# Here we start the crane stuff
Copy link
Member

Choose a reason for hiding this comment

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

I know I'm often that guy but.... not a very high entropy comment 😛

src = crane-lib.cleanCargoSource (crane-lib.path ./.);
strictDeps = true;

cargoArtifacts = cargo-artifacts;
Copy link
Member

@yannham yannham Apr 2, 2024

Choose a reason for hiding this comment

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

Although it seems to work in practice, the cyclic dependency between common-crane-args and cargo-artifacts looks a bit surprising at first.

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.

2 participants