cache-nix-action
cache-nix-action copied to clipboard
[FEATURE] Support ca-derivations
Description of a problem the feature solves
I am using ca-derivations to reduce unnecessary rebuilds. Using this GitHub action, it succeeds on the first build, but fails on the second time with an error:
error: creating statement '
insert into Realisations (drvPath, outputName, outputPath, signatures)
values (?, ?, (select id from ValidPaths where path = ?), ?)
;
': SQL logic error, no such table: Realisations (in '/nix/var/nix/db/db.sqlite')
Error: Process completed with exit code 1.
Describe the solution you'd like
Creates required table in https://github.com/nix-community/cache-nix-action/blob/main/src/templates/merge.sql
Describe alternatives you've considered
Do nothing
Additional context
https://github.com/mythal/boluo/actions/runs/14769733526/job/41467895552