-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flakes support #47
Comments
Any updates on this one here since 2020? We're migrating IHP to devenv via nix flakes and there's a lot of reports from people using latest IHP master that their IHP is building from scratch instead of fetching from cachix (digitallyinduced/ihp#1740 digitallyinduced/ihp#1728) If flakes are not supported with the cachix-action, this would explain the problem |
@mpscholten, AFAIK this is a feature request for automatically building and caching the inputs/outputs of a flake. The action should pick up any paths built during the run, whether it's through |
Thanks for taking a look! :)
Thanks for clarifying 👍 Re nodejs: unlikely to be a concurrent job, more likely that it's already stored in cachix (we don't have any custom nix code related to nodejs, so it should come right from within nixpkgs) Then the cache misses of IHP need to be caused by something else. Could this be the use of |
@mpscholten What paths do you see that are built on CI but not substituted? |
Thanks for confirming 👍
Since the changes I did on friday on our github actions, I cannot reproduce the issue anymore. And it seems to be fixed for other people that reported the problem as well. So right now I cannot pinpoint it to a specific path. One possible explanation: We've added a call to |
As far as I know, flakes use git only to check what paths are tracked by git, but they do use the latest version. |
Ok, then I'm out of ideas what could have caused this. I'll post here if we eventually figure out the root cause. So far no one has reported the problem anymore. (btw: thanks again for making devenv :) it's now used across nearly all our projects (even in non IHP projects)) |
I have a flake which exports two
I'm using Nix version 2.17.0 for this. |
Could you give us a link to the job? |
Unfortunately I cannot as this is for work purposes. I might try to make a repro. |
The cachix action doesn't support flakes yet See cachix/cachix-action#47
FIXME: this doesn't work yet since the cachix action doesn't support flakes yet. See cachix/cachix-action#47
FIXME: this doesn't work yet since the cachix action doesn't support flakes yet. See cachix/cachix-action#47
https://docs.cachix.org/pushing#flakes
The text was updated successfully, but these errors were encountered: