3 ms·
This thing, for example: https://github.com/NixOS/nix/issues/3121 https://github.com/NixOS/nix/issues/3121 Or the issues surrounding submodules.
by otabdeveloper4 4y ago
This thing, for example: https://github.com/NixOS/nix/issues/3121 https://github.com/NixOS/nix/issues/3121
Or the issues surrounding submodules.
- benreesman 4y agoThere are a lot of remarks on that issue, so maybe the plot thickens somewhere along the way, but if I’m reading that right, the corner case is that the first time a flake is somehow reified into the store, I’m hitting the filesystem with exactly what would happen if I ever referenced it elsewhere? So in practice I’m eating the cost of “installing” it the first time I use it, which is subsequently amortized across all the other times I use it? And if I’m really worried about this, my flake hits a default.nix in a directory that can also have a shell.nix I’m it so I can get around this? I think Einstein once said: “However great your troubles with mathematics are: be of good cheer. I assure you mine are far greater.” Nix isn’t relativity and I’m no Einstein, but if you work in Nix world and that issue even rises to your notice? Let’s trade jobs because I fucking wish I had Nix problems like that.