Eelco Dolstra
Eelco Dolstra
`flake-compat` is intended to emulate the regular flake interface, so I'd prefer not to add functionality that isn't provided by flakes (like this `moveSrcToStore` flag). The problem is that people...
@lovesegfault This will be addressed by https://github.com/NixOS/nix/issues/3121 (copying flakes to the store lazily). It will probably be hard to replicate that functionality in flake-compat though.
Hopefully in Nix 2.9, see https://github.com/edolstra/nix/tree/lazy-trees.
With `nix develop` behaviour, you mean setting the output environment variables to `outputs/`?
> What do you think if flake-compat was changed to provide the same output as builltins.getFlake? Isn't that the case already?
I think it's best to keep `default.nix` / `shell.nix` as simple as possible, since it's not updated automatically. For reference, Nix's `default.nix` is: ``` (import (fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz") { src =...
This doesn't compile because `ANSI_YELLOW` no longer exists. You can use `ANSI_WARNING` instead (which is magenta because yellow is hard to read for people with a white terminal background).
I'm not really in favor of splitting things just because we can... Is there a specific use case for splitting off `StoreDirConfig`? (E.g. is there a plausible scenario where we...
> Yes there is, https://github.com/NixOS/nix/pull/6237 which depends on this. That's a bit of a circular motivation, because I'm not sure what the reason for #6237 is...
Ah thanks, yeah that makes sense!