Robert Hensing

Results 909 comments of Robert Hensing

Nix has previously eliminated a similar yet very different such pain in the form of floating point number support. I believe that was a mistake for a reproducible language, but...

We are aware that Nix evaluation tends to consume significant amounts of memory. Causes and potential causes I'm aware of - in the evaluator and CLI: - closures reference their...

@jsoo1 Interesting! Would you be interested in giving whippet a try? I've [added notes](https://github.com/NixOS/nix/issues/8621#issuecomment-1615929687) about gc.

Let's move the discussion of replacing the GC over to https://github.com/NixOS/nix/issues/8626

I don't expect the GC itself to be broken, and I don't expect many leaks from it being conservative either. It manages to collect an amount about equal to the...

Regarding freeing the expressions, a starting point would be https://github.com/NixOS/nix/pull/5747#issuecomment-1615939700, but also making sure to destruct `EvalState` and the expression cache. If you have really small machines to deploy to,...

https://github.com/NixOS/rfcs/pull/163 may reduce memory use for NixOS, by virtue of not having to load service modules that aren't used. It's one solution among potentially others, such as #9650 for cases...

> I didn't see this mentioned explicitly, but I assume `__meta` is _not_ passed to the builder? Correct, and this is now also covered by a functional test. > not...

Might this be a more typical autotools+nixpkgs solution, that should be documented in Nixpkgs and referenced here? Taking a minute, I could only find something about [dontAddPrefix](https://nixos.org/manual/nixpkgs/stable/#var-stdenv-dontAddPrefix) and [the configure...

My understanding of a term "installation prefix" would be something like the `./configure --prefix` option when building Nix from source. I don't think that's what most people would want to...