generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
enhancementNew feature or requestNew feature or request
Description
This would speed up CI builds significantly and save bandwidth.
Currently the cachix-action will pull built packages:
https://github.com/Mic92/nur-packages/runs/589727774
In the example above there were 500 MB pulled without a single package built.
This is how it can be implemented:
- Get all packages:
nix-env -f ./non-broken.nix -qaP \* --out-path --xml --meta > packages.xml - Get all build hashes:
grep -oP '(?<=/nix/store/)[^-]*' < packages.xml(obviously this should be done by proper xml parsing) - Only build those attributes where
curl -I https://<binary-cache>/<hash>.narinfodoes not return a 404
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request