-
Notifications
You must be signed in to change notification settings - Fork 16
flake: add cache config #187
base: main
Are you sure you want to change the base?
Conversation
I feel a little confused: is this working and ready for review or not? You say you didn't get a cache hit. Do you know why? |
That means your build is broken. (Edit: this can be caused by not using the flake.lock nixpkgs version in your build, various nix config options) |
Can you say more? |
Sorry, edit above |
I saw this happen once before when https://github.com/srid/emanote added it, i think it was wrong nixpkgs version. |
Do you mean a differing nixpkgs between your installation and the one in this repo? Or something else? |
|
I can take a look when I'm back at my laptop |
Oops that should be something like |
This enables nix tooling to offer to enable the cache:
(doesn't work for inputs, only the root flake)
I didn't get a cache hit when I just tried it though.