14 Feb 2025 |
Robert Hensing (roberth) | The original contributor for the C API tried their best, but their use case did not include externals. We could strip out the externals and call it stable if you prefer, or we could accept the status quo, or we could accept contributions. I think we're going for the latter, but we could change our strategy | 16:21:15 |
15 Feb 2025 |
| BenjB83 joined the room. | 10:16:44 |
| BenjB83 changed their display name from BenjamÃn Buske to BenjB83. | 10:43:21 |
sodiboo | for functions taking a nix_get_string_callback , when they return NIX_OK , is the string callback guaranteed to have been called exactly once, and never again? | 15:41:33 |
Robert Hensing (roberth) | I believe that's the contract yes. I wouldn't rule out multiple calls for sets of strings or something in the future, but that will be clearly documented then | 15:58:51 |
16 Feb 2025 |
| KristijanZic joined the room. | 01:04:36 |
17 Feb 2025 |
| Marcus changed their profile picture. | 21:38:25 |
21 Feb 2025 |
| linj joined the room. | 11:51:44 |
5 Mar 2025 |
| loudgolem joined the room. | 02:41:22 |
17 Mar 2025 |
| @acidbong:envs.net joined the room. | 11:38:50 |
@acidbong:envs.net | afternoon, fellers and felines
i hope this is the right channel to ask: is there a language-agnostic API for Nix daemon or does it require C bindings? i'd love to try to use a different language instead of Nix | 11:44:47 |
Robert Hensing (roberth) | Reimplementations exist, but I don't have recommendations. Using the C API would be possible, but the store layer C API is very minimal at the moment; just enough to supplement the evaluator C API; not much more than the ability to have a Store, a StorePath and build a derivation | 20:31:18 |
@acidbong:envs.net | got it
and I just realized that i'd rather use a transpiler to Nix to do what i want
anyway, thx | 20:34:16 |
| @acidbong:envs.net left the room. | 20:34:22 |