Possible nix flake hierarchical lookup bug

Seems to be an already reported issue

https://github.com/NixOS/nix/issues/3602