Skip to content

Adjust K nix caching#4844

Merged
automergerpr-permission-manager[bot] merged 4 commits into
developfrom
github-workflow-nix-cache-adjustments
Jul 17, 2025
Merged

Adjust K nix caching#4844
automergerpr-permission-manager[bot] merged 4 commits into
developfrom
github-workflow-nix-cache-adjustments

Conversation

@juliankuners
Copy link
Copy Markdown
Contributor

@juliankuners juliankuners commented Jul 16, 2025

Currently, the K repository caches two nix build on k-framework-binary.cachix.org for kup: k and k.openssl.procps.secp256k1. While a proper build seems to be cached for k, the build for k.openssl.procps.secp256k1 seems to be different than requested by kup. This kind of issue had been observed and fixed previously for kup packages.

To debug this, I download dependencies that were pushed to the nix cache k-framework.cachix.org. But the K repository does not yet push dependencies to this cache. Therefore, this repository adjusts the GitHub release workflow to also push nix build dependencies to k-framework.cachix.org.

In addition, caching is introduced for the package k.openssl.secp256k1, which is a version that users are instructed to install in, e.g., the kontrol repository. This is why version should be cashed in the nix binary cache as well.

@juliankuners juliankuners requested a review from a team as a code owner July 16, 2025 20:35
@juliankuners juliankuners requested a review from tothtamas28 July 17, 2025 00:22
@automergerpr-permission-manager automergerpr-permission-manager Bot merged commit 75b3b89 into develop Jul 17, 2025
18 checks passed
@automergerpr-permission-manager automergerpr-permission-manager Bot deleted the github-workflow-nix-cache-adjustments branch July 17, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants