Use git cache by default

This commit is contained in:
Michal Sojka 2025-04-18 11:41:38 +02:00
parent c309f53ac9
commit c619c573f2
2 changed files with 28 additions and 12 deletions

View file

@ -116,8 +116,7 @@ usage: ros2nix [-h]
[--output-dir OUTPUT_DIR] [--fetch] [--use-per-package-src]
[--patches | --no-patches] [--distro DISTRO]
[--src-param SRC_PARAM] [--source-root SOURCE_ROOT]
[--cache-file CACHE_FILE] [--do-check]
[--extra-build-inputs DEP1,DEP2,...]
[--no-cache] [--do-check] [--extra-build-inputs DEP1,DEP2,...]
[--extra-propagated-build-inputs DEP1,DEP2,...]
[--extra-check-inputs DEP1,DEP2,...]
[--extra-native-build-inputs DEP1,DEP2,...] [--flake]
@ -173,10 +172,8 @@ options:
Set sourceRoot attribute value in the generated Nix
expression. Substring '{package_name}' gets replaced
with the package name. (default: None)
--cache-file CACHE_FILE
Path to a json-file to store sha265 hashes of
checkouts persistently to cache them across generation
runs. (default: None)
--no-cache Don't use cache of git checkout sha265 hashes across
generation runs. (default: False)
--do-check Set doCheck attribute to true (default: False)
--extra-build-inputs DEP1,DEP2,...
Additional dependencies to add to the generated Nix