That way Nix will copy the entire tree into the Nix store: Copy local flakes to the store lazily · Issue #3121 · NixOS/nix · GitHub
I’d suggest to use Git pre-commit and post-commit hooks to unstage and restage the flake.{nix,lock} files.
That way Nix will copy the entire tree into the Nix store: Copy local flakes to the store lazily · Issue #3121 · NixOS/nix · GitHub
I’d suggest to use Git pre-commit and post-commit hooks to unstage and restage the flake.{nix,lock} files.