9 Sep
2024
9 Sep
'24
12:29 p.m.
"Dom (shymega) Rodriguez" <shymega@shymega.org.uk> writes:
Do you prefer `nix-shell`/`nix-build` or Flakes? Would you be satisfied if we had compatibility shims for these tools?
I think it's much better to have the flake.nix call into generic code than having a wrapper around flake.nix — flake.nix files are often very long with a lot of levels of indentation just for the Flakes stuff, so it's nice to have the actual build stuff elsewhere to keep flake.nix manageable. Also, to have a compatibility shim, as I understand it you end up needing a Nix implementation of Flakes (flake-compat). In the other direction, there's no need for anything like this.