Skip to content

Should the Nix CI do caching #1078

Closed
@andreasabel

Description

@andreasabel

@peterbecich You added a Nix CI:

- uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixos-21.11

Does this cache between builds?

If not, would caching be possible, maybe along the lines of:
https://github.com/cachix/install-nix-action#how-do-i-add-a-binary-cache

I am asking because the Nix workflow takes at least 17min each time, whereas Haskell CI can get down to <10min (probably thanks to caching).
(Haskell CI takes long when it cannot restore from the cache, see e.g.: https://github.com/haskell/hackage-server/runs/6437475007?check_suite_focus=true#step:16:23)

Metadata

Metadata

Assignees

Labels

re: CIConcerning continuous integration (CI)re: nixConcerning Nix stuff

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions