!lTqhfnNvIkcEackxxk:matrix.org

Nix Bindings

53 Members
Nix C API https://github.com/NixOS/nix/blob/master/doc/manual/src/c-api.md, language-specific bindings, and their use cases (currently broken link: https://nixos.org/manual/nix/unstable/c-api)17 Servers

Load older messages


SenderMessageTime
2 May 2024
@sigmanificient:matrix.orgSigmanificient joined the room.22:21:14
3 May 2024
@aloisw:kde.org@aloisw:kde.org joined the room.04:23:01
@soispha:vhack.euBenedikt joined the room.17:53:10
@inclyc:matrix.orgYingchi Long joined the room.21:17:07
4 May 2024
@lukegb:zxcvbnm.ninjalukegb (he/him) joined the room.16:49:49
6 May 2024
@langovet:matrix.orgl joined the room.11:21:23
9 May 2024
@matrixuu:matrix.orgmatrixuu joined the room.05:09:08
10 May 2024
@farcaller:hdev.imfarcaller

is nix path supposed to always be absolute? i.e. is there any condition under which nix_init_path_string would allow a local path? the docs (https://sourcegraph.com/github.com/NixOS/nix@cb7224a8c2cc3aaee086d1e1ae539d7bb9a68915/-/blob/src/libexpr-c/nix_api_value.h?L316) don't specify that, but the only test (https://sourcegraph.com/github.com/NixOS/nix@cb7224a8c2cc3aaee086d1e1ae539d7bb9a68915/-/blob/tests/unit/libexpr/nix_api_value.cc?L115) checks the absolute path. Previously, the code would accept ./foo/bar as a valid path and return it as such. It doesn't, anymore.

I'd expect it to always resolve to absolute path (just like nix repl does), but then the logic of setting the rootFS (https://sourcegraph.com/github.com/NixOS/nix@cb7224a8c2cc3aaee086d1e1ae539d7bb9a68915/-/blob/src/libexpr/eval.cc?L400) evades me. How is that resolved in the bindings?

13:04:23
@farcaller:hdev.imfarcaller ^ /cc Marcus re https://github.com/farcaller/gonix/pull/2#issuecomment-2104499115 (nope, the current behavior doesn't make sense to me either) 13:06:06
@farcaller:hdev.imfarcallernever mind, I think this is already tracked by https://github.com/NixOS/nix/issues/1061313:15:42
14 May 2024
@infinisil:matrix.orginfinisil changed their profile picture.17:45:10
22 May 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:25:52
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:28:07
25 May 2024
@nupol:matrix.org@nupol:matrix.org joined the room.08:28:54
@nupol:matrix.org@nupol:matrix.org left the room.09:01:36
28 May 2024
@marcusramberg:matrix.orgMarcus yay, thanks for https://github.com/NixOS/nix/pull/10767/commits/a942a34469b22491d381a517e86a17f3999a140a Robert Hensing (roberth) - Go bindings are passing all tests in my PR now 🎉 Was really scratching my head on that one. 22:50:39
2 Jun 2024
@aloisw:kde.org@aloisw:kde.org set a profile picture.18:01:42
@aloisw:kde.org@aloisw:kde.org changed their profile picture.18:23:52
4 Jun 2024
@infinisil:matrix.orginfinisil changed their profile picture.02:43:52
4 Jul 2024
@philiptaron:matrix.orgPhilip Taron (UTC-8) left the room.15:46:24
@philiptaron:matrix.orgPhilip Taron (UTC-8) joined the room.15:54:48
@soispha:vhack.euBenedikt changed their display name from Soispha to Benedikt.19:11:24
5 Jul 2024
@erinvanderveen:matrix.orgErin changed their profile picture.12:10:56
@sliedes:hacklab.fiSami Liedes joined the room.23:01:05
7 Jul 2024
@dminca:matrix.org@dminca:matrix.org joined the room.09:39:19
11 Jul 2024
@echobc:matrix.org@echobc:matrix.org joined the room.15:23:31
@mjolnir:nixos.orgNixOS Moderation Bot banned @echobc:matrix.org@echobc:matrix.org (<no reason supplied>).15:23:32
15 Jul 2024
@dminca:matrix.org@dminca:matrix.org changed their display name from dminca to nixpkgs.17:29:05
@dminca:matrix.org@dminca:matrix.org changed their display name from nixpkgs to dminca.17:42:42
17 Jul 2024
@roberthensing:matrix.orgRobert Hensing (roberth)I've opened a PR to change nix_err to an enum. This should improve generated bindings. Feedback appreciated :) https://github.com/NixOS/nix/pull/1112715:06:45

Show newer messages


Back to Room ListRoom Version: 10