!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
2 Aug 2021
@manveru:matrix.orgmanveruhttps://github.com/NixOS/nix/pull/508211:53:52
@manveru:matrix.orgmanveru Eelco Dolstra: would be nice if you could take a look at this :) 11:54:10
@manveru:matrix.orgmanveruthanks a lot!14:34:17
@pamplemouss_:matrix.orgpamplemousseIs the daemon protocol documented somewhere?21:12:49
@tomberek:matrix.orgtombereknot well last time I tried to interpret it. also see: https://github.com/NixOS/nix/issues/465521:14:03
@andi:kack.itandi-
In reply to @pamplemouss_:matrix.org
Is the daemon protocol documented somewhere?
It is not documented AFAIK. It isn't hard to implement just tedious.
21:29:53
@andi:kack.itandi-If you can read haskell there is this: https://github.com/haskell-nix/hnix-store/blob/master/hnix-store-remote/src/System/Nix/Store/Remote.hs21:31:13
@andi:kack.itandi-otherwise just read the C++ code21:31:19
@pamplemouss_:matrix.orgpamplemousse
In reply to @andi:kack.it
otherwise just read the C++ code
^^
That's what I was doing, but eventually, I wondered if there was a spec at all
21:38:22
@andi:kack.itandi-What are you working on?21:38:36
@pamplemouss_:matrix.orgpamplemousseAs part of https://discourse.nixos.org/t/tweag-fellowship-fuzzing-nix-0, I am at a point where I want to target the daemon.21:39:50
@andi:kack.itandi-Neat. I've some rust code that exposes most of the store operations via commands... Code isn't public yet but I wanted to do that as well21:40:33
@pamplemouss_:matrix.orgpamplemousseProblem is, if I only send random data, it will take a while to mutate to discover new paths. Also, if I only send structured input, I might miss some interesting errors (especially as there is no spec / everything is hand made).21:41:31
3 Aug 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius joined the room.10:10:15
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusPls review 🥺 👉️👈️ Mines: https://github.com/NixOS/nix/pull/4914 Friends: https://github.com/NixOS/nix/pull/4641 https://github.com/NixOS/nix/pull/476510:10:22
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius(at this point I am being redirected from one channel to another just to get a review 😀 )10:11:11
@manveru:matrix.orgmanveru Eelco Dolstra: is there anything else needed for https://github.com/NixOS/nix/pull/4895 to get merged as well? 10:32:43
@roberthensing:matrix.orgroberthI will refrain from writing a rant about incremental fixes not getting merged11:25:50
@roberthensing:matrix.orgroberth please merge manveru 's pr 11:26:18
@pamplemouss_:matrix.orgpamplemousse I am trying to add a library to the flake.nix of nix, but it does not seem to be picked up by pkgconfig... 22:00:22
@pamplemouss_:matrix.orgpamplemousse I am trying to add libprotobuf-mutator for which I made https://github.com/NixOS/nixpkgs/pull/132488
and I edited the flake.nix to point inputs.nixpkgs.url to a path:/ where my nixpkgs clone lives
22:01:14
@pamplemouss_:matrix.orgpamplemousse (I am not particularly attached to pkgconfig, but it seems to be what meson uses to see where are the required libraries 22:02:06
@pamplemouss_:matrix.orgpamplemousse * (I am not particularly attached to pkgconfig, but it seems to be what meson uses to see where are the required libraries) 22:02:11
4 Aug 2021
@tomberek:matrix.orgtomberek pamplemousse: does your package produce a .pc? 01:45:58
@pamplemouss_:matrix.orgpamplemousse @tomberek Yes: share/pkgconfig/protobuf-mutator.pc . 15:59:13
@pamplemouss_:matrix.orgpamplemousse * tomberek: Yes: share/pkgconfig/protobuf-mutator.pc . 15:59:33
@tomberek:matrix.orgtomberekhrm.... pkgconfig is usually pretty good at finding those things... are you using this in a downstream build?18:50:48
@qyliss:fairydust.spaceAlyssa Rossshould be lib/pkgconfig, shouldn't it?19:23:07
@vcunat:matrix.orgVladimír ČunátBoth are OK IIRC.19:58:43
@vcunat:matrix.orgVladimír Čunát There are commonly issues with broken paths written inside *.pc. 19:59:35

There are no newer messages yet.


Back to Room ListRoom Version: 6