Flake support - what are your thoughts?
Hello all! I'm picking up the Flake patch previously posted on this list, and want to get some input from developers & users alike. Do you prefer `nix-shell`/`nix-build` or Flakes? Would you be satisfied if we had compatibility shims for these tools? How do you feel about impure Flakes? Would you mind passing `--impure` to `nix $CMD` invocations? Any thoughts are welcome - feel free to DM me on Matrix/IRC if you don't want to reply to the list. My Matrix ID is: @dom:rodriguez, and my IRC nick is 'shymega[i]'. Thanks! Best wishes, -- Dom Rodriguez GPG Fingerprint: EB0D 45E6 D0DC 1BA1 A2B5 FC24 72DC F123 1E54 BD43
"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.
participants (2)
-
Alyssa Ross -
Dom (shymega) Rodriguez