| 9 Apr 2022 |
tilpner | I understand automatic updates don't exactly fit the design of flakes, but this reems to be a recurring problem:
- https://www.reddit.com/r/NixOS/comments/js5fxv/using_hydra_with_flakes_without_lock/
- https://www.reddit.com/r/NixOS/comments/negjsu/people_who_use_nix_flakes_for_their_system_config/
| 13:48:21 |
Amanda (she/her) | They don't just "not exactly" fit, they're pretty much antithetical | 13:49:15 |
Amanda (she/her) | The idea with flakes is you can pull a git repo, and get exactly the same output no matter when you do it | 13:49:52 |
tilpner | and I appreciate that property for manual builds and deployments, it's just with hydra where it becomes a problem for automatic deployments :) | 13:50:53 |
tilpner | sure, I could whip up a small webhook receiver to automatically forward pushed in one repo to flake updates in another, but that feels very inelegant | 13:52:08 |
Amanda (she/her) | You probably don't want stuff changing it from under you for automatic deployments, see: node and the recent "protestware" package updates | 13:52:08 |