Open nazarewk opened 1 month ago
sounds like paisano
is trying to load cell blocks as flakes in here, I don't think this is a good idea for the default/undocumented behavior.
seems like I have triggered the issue myself with https://github.com/divnix/std/pull/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 inside https://github.com/divnix/std/blob/f8f6f70cdc9234d36d3d445d99a60b9267644df8/src/data/configs/lefthook.nix#L12-L12then 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.