Skip to content
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: refetch the input when a follows disappears #5518

Merged

Conversation

balsoft
Copy link
Member

@balsoft balsoft commented Nov 8, 2021

Closes #5289

When an input follows disappears, we can't just reuse the old lock
file entries since we may be missing some required ones. Refetch the
input when this happens.

@balsoft balsoft force-pushed the balsoft/fix-subinputs-not-getting-updated branch from c851769 to 445f608 Compare November 10, 2021 11:58
@balsoft balsoft changed the title Flakes: fix subinputs not being updated Flakes: refetch the input when a follows disappears Nov 10, 2021
When an input follows disappears, we can't just reuse the old lock
file entries since we may be missing some required ones. Refetch the
input when this happens.

Closes NixOS#5289
@balsoft balsoft force-pushed the balsoft/fix-subinputs-not-getting-updated branch from 445f608 to 07bffe7 Compare November 11, 2021 09:05
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-21/16032/1

@edolstra edolstra merged commit d1d2238 into NixOS:master Nov 15, 2021
@edolstra edolstra deleted the balsoft/fix-subinputs-not-getting-updated branch November 17, 2021 08:10
@Enzime Enzime mentioned this pull request Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flakes: removing follows in flake.nix does not remove follows in flake.lock
3 participants