let inherit (builtins.fromJSON (builtins.readFile ./flake.lock)) nodes; inherit (nodes.${nodes.root.inputs.flake-compat}) locked; in if (builtins ? getFlake) then (builtins.getFlake (toString ./.)) else ( (import ( builtins.fetchTarball { url = locked.url or "https://github.com/NixOS/flake-compat/archive/${locked.rev}.tar.gz"; sha256 = locked.narHash; } )) { src = ./.; } ).defaultNix