Skip to content

Add --cache-level flag#102

Merged
Artturin merged 4 commits intonix-community:masterfrom
thiagokokada:cache-settings
Jul 13, 2025
Merged

Add --cache-level flag#102
Artturin merged 4 commits intonix-community:masterfrom
thiagokokada:cache-settings

Conversation

@thiagokokada
Copy link
Contributor

@thiagokokada thiagokokada commented Jul 12, 2025

This is u8 flag that accepts the following options:

  • 0: completely disables caching
  • 1: only cache choices
  • 2: also caches paths

Setting the default to 2 to keep the current behavior.

Also add documentation for the new flag in README.md, and some other misc fixes.

Closes: #90 (alternative implementation).

This is u8 flag that accepts the following options:
- 0: completely disables caching
- 1: only cache choices
- 2: also caches paths

Setting the default to 2 to keep the current behavior.

Fixes: nix-community#90.
@thiagokokada
Copy link
Contributor Author

CC @Artturin, I think this PR fixes your concerns here: #101 (comment).

@Artturin
Copy link
Member

Awesome, Thanks!

@Artturin Artturin merged commit 4d64424 into nix-community:master Jul 13, 2025
6 checks passed
@thiagokokada thiagokokada deleted the cache-settings branch July 13, 2025 17:29
@thiagokokada
Copy link
Contributor Author

@Artturin can we get another release?

@Artturin
Copy link
Member

Done and made a PR NixOS/nixpkgs#424946

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