Robert Hensing

Results 914 comments of Robert Hensing

@lf- now also asks for something like this, https://github.com/NixOS/nix/pull/10779#issuecomment-2133899758

Thanks for the fix @cole-h, I'd reassambled the command because I was using a `.drv` path originally, which would be annoying to get. I've applied it. Thanks!

The idea of a record mode is useful beyond just figuring out the evaluation-level inputs of an output like a NixOS toplevel. Unfortunately "recording" doesn't compose, because the language is...

> segfault in CI in ambient Nix (i.e. nothing to do with this PR) > > ``` > /Users/runner/work/_temp/8e2e66c1-0beb-427b-912b-9e63f8be4be1.sh: line 1: 4963 Segmentation fault: 11 nix --experimental-features 'nix-command flakes' flake...

Could you add a test? We can't just rely on types here, unfortunately. You could detect the buffer size by filling a pipe in non blocking mode, without reading it.

Outdated - possible pkg.derivation attr in Nixpkgs We should align this with - https://github.com/NixOS/nixpkgs/pull/281161 Currently that means that the return type should have a `path` field containing the `.drv`, but...

We should also consider whether we even want to return such attributes as `inputSrcs`, `inputDrvs` eagerly, as this will probably result in plenty of unused-but-referenced `Value`s that we can't GC....

Nix prints the position of the `name` attribute, but this is almost always useless: ``` whose name attribute is located at nixpkgs/pkgs/stdenv/generic/make-derivation.nix:331:7 ``` Ideally, Nix would accept a `__pos` parameter...

Added two examples of `meta` attributes that the store layer must be aware of.

> it's almost certainly a niche issue I don't think it is; see my comment about the ofborg nodes not having remote builders. That issue is soft-blocked because some others...