-
Notifications
You must be signed in to change notification settings - Fork 45
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
src/data
using non-overridable flake.lock
holding nixpgks from the distant past
#393
Comments
sounds like |
seems like I have triggered the issue myself with #374 unaware of how it works underneath |
The reason really was to get "ahead" of stable nixpkgs for tooling that was just added, while maintaining the rest of standard on a release branch. Or more generally to decouple the lifecycles of some cell dependencies from the main flake dependencies. Another aspect was to maintain a low dep.profile on the main flake. But because cella depend on std it became self-referential in a lockstep update process that needed to be done manually. This is because nix doesn't trust super references as inputs blanket, but locks them as anything else, which leads to a situation where the very act of locking within a repo of itself changes the lock hash of that repo. |
So I tried to reason about those warnings:
I did not have ANY reference to such
nixpkgs
definition in my flake code, then looking aroundlib.getExe
usages only 2 candidates are insidestd/src/data/configs/lefthook.nix
Line 12 in f8f6f70
then I have noticed
flake.nix
andflake.lock
lying around insrc/data/
referencingnixpkgs
commit holding the faultytreefmt-0.5.0
I have no idea how and why this happens, but seems like
src/data
is loading and using packages from nixpkgs dated at 2023-09 with no way to modify this behavior downstream.The text was updated successfully, but these errors were encountered: