!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

887 Members
For people hacking on the Nix package manager itself189 Servers

Load older messages


SenderMessageTime
18 Nov 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Only on linux00:02:20
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)As in you need procfs, not /dev/fd00:02:31
@Ericson2314:matrix.orgJohn EricsonI think /dev/fd might work?00:02:51
@Ericson2314:matrix.orgJohn Ericsondon't have a mac at hand, however00:03:13
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)The problem with sending fds with source accessors would really be with handling things at the top-level. No way to express a single symlink or not very easy to have a single file as well00:16:32
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Dunno what your idea was for the varlink interface. Maybe passing an FD for a directory and having a subdir in there as the top-level NAR member would be better? Otherwise you can't have all the type of NARs without also making them part of the data model00:21:22
@brainworms2002:matrix.org@brainworms2002:matrix.org removed their profile picture.06:26:24
@brainworms2002:matrix.org@brainworms2002:matrix.org removed their display name Sunny || ☀️🪱.06:26:27
@brainworms2002:matrix.org@brainworms2002:matrix.org left the room.06:26:31
19 Nov 2025
@shine:proqqul.netTaeer Bar-Yam

in nix_api_value.h, the EvalState argument of nix_init_path_string is not documented in the comment above. Is this a mistake? Are we intending to document every argument, and if so is that something we can check in CI?

https://github.com/NixOS/nix/blob/f4989b118bfba31f2e13504f2b950d07bf9539bb/src/libexpr-c/nix_api_value.h#L525-L532

/** @brief Set a path
 * @ingroup value_create
 * @param[out] context Optional, stores error information
 * @param[out] value Nix value to modify
 * @param[in] str the path string, copied
 * @return error code, NIX_OK on success.
 */
nix_err nix_init_path_string(nix_c_context * context, EvalState * s, nix_value * value, const char * str);
01:40:37
@7karni:matrix.org7karni joined the room.10:52:19
@5ulu5:matrix.orgLeo joined the room.12:40:18
19 May 2021
@eelco:nixos.org@eelco:nixos.org changed the history visibility to "world_readable" from "shared".15:40:14
@eelco:nixos.org@eelco:nixos.org changed the room name to "Nix Hackers" from "Nix Development".15:45:04
@eelco:nixos.org@eelco:nixos.org changed the room topic to "For people hacking on the Nix package manager itself" from "Development of the Nix package manager".15:45:04
@casey:hubns.netcransom joined the room.15:45:08
@sumner:sumnerevans.comsumner joined the room.15:45:19
@danielle:fairydust.spacedanielle joined the room.15:47:55
@aaron:fosslib.netaaron joined the room.15:54:00
@casey:hubns.netcransom changed their display name from casey © to cransom.15:56:27
@eelco:nixos.org@eelco:nixos.org invited @grahamc:nixos.orggrahamc.16:02:36
@grahamc:nixos.orggrahamc joined the room.16:02:51
@stick:matrix.orgstick joined the room.16:03:18
@immae:matrix.orgimmae joined the room.16:03:29
@stick:matrix.orgstick changed their display name from stick to prusnak.16:03:56
@stick:matrix.orgstick changed their display name from prusnak to stick.16:04:03
@stick:matrix.orgstick changed their profile picture.16:04:57
@stick:matrix.orgstick changed their display name from stick to prusnak.16:05:00
@eelco:nixos.org@eelco:nixos.orgchanged room power levels.16:08:46
@jtojnar:matrix.orgJan Tojnar joined the room.16:09:00

Show newer messages


Back to Room ListRoom Version: 6