!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

892 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
27 Sep 2025
@Ericson2314:matrix.orgJohn Ericsonfixed the GCC only issues19:13:36
@Ericson2314:matrix.orgJohn Ericson Sergei Zimmerman (xokdvium): so it occured ot me that we can (de)serialize entire dummy stores to JSON 21:10:36
@Ericson2314:matrix.orgJohn Ericsonand this is, naturally, the grand culmination of my JSON issue21:10:53
@Ericson2314:matrix.orgJohn Ericson:)21:10:54
28 Sep 2025
@Ericson2314:matrix.orgJohn Ericson Martin Schwaighofer: https://github.com/NixOS/nix/pull/13942 JSON for the entire dummy store 06:59:02
@Ericson2314:matrix.orgJohn Ericsonthis will hopefully allow us to unit the the substitutor06:59:21
@Ericson2314:matrix.orgJohn Ericson* this will hopefully allow us to unit the the real substitutor06:59:29
@Ericson2314:matrix.orgJohn Ericsonand show how "build" (mocked up insertions) caching works06:59:44
@meltymeli:catgirl.cloud@meltymeli:catgirl.cloud left the room.09:54:14
@stratospher:matrix.orgstratospher joined the room.17:20:18
@bit-aloo:matrix.orgbit-aloo joined the room.17:21:20
@bit-aloo:matrix.orgbit-alooHey everyone! Hope this is the right channel for asking. I've been using nix at work and understand its basics. I would love to dive deeper and contribute meaningfully to the project. It would be awesome if someone could guide me in which direction or resources to look for. 17:27:51
@weethet:catgirl.cloudWeetHet

If you want to contribute to nix the package manager (which I'm really not sure you want to if you only understand the basics), you can look at the contributing guide here:
https://github.com/NixOS/nix/blob/master/CONTRIBUTING.md

If you don't want to work with the (not so great) C++ code of nix the package manager you can go and contribute to nixpkgs:
https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md
You can help with fixing reproducibility of a package, add a new one, write a nixos module for a missing program/service or work on more fundamental stuff like the stdenv or any of the language ecosystems. Personally, these two are interesting for me, but you might wanna search yourself:
https://github.com/NixOS/nixpkgs/issues/334195
https://github.com/NixOS/nixpkgs/issues/333702

If you don't want to write nix either, there are outside issues like
https://github.com/NixOS/nixpkgs/issues/424345
decentralized binary caching, etc

You can also help around on discourse or in #users:nixos.org

17:54:04
@weethet:catgirl.cloudWeetHetThere's also a ton of community projects you can contribute to: https://github.com/nix-community17:54:59
@shine:proqqul.netTaeer Bar-Yam

John Ericson You were talking about getting rid of the std::enable_shared_with_this for SourceAccessor. We should talk at some point about

  1. Why you want to get rid of it
  2. If you have any ideas about how to get rid of it
  3. How you feel about boost::intrusive_ptr

Because it's currently driving me up a wall

21:46:01
@Ericson2314:matrix.orgJohn Ericson @shine:proqqul.net: I thought it was only needed for path values. If you do something else for path values, then we can like have a separate source accessor address spaces with indices 21:52:58
@Ericson2314:matrix.orgJohn EricsonAnd index regular shared pointers21:53:16
@Ericson2314:matrix.orgJohn EricsonNo need to do shared from this21:53:22
@shine:proqqul.netTaeer Bar-Yamyou're imagining an array of shared pointers?21:54:16
@shine:proqqul.netTaeer Bar-Yam oh i see. and hold an index in the Value 21:54:25
@shine:proqqul.netTaeer Bar-Yamhmmm21:54:26
@shine:proqqul.netTaeer Bar-Yam what's your reason for wanting to get rid of enable_shared_with_this? 21:55:11
@shine:proqqul.netTaeer Bar-YamI'm not opposed, I'm just trying to understand the constraints on the design space21:56:46
@Ericson2314:matrix.orgJohn Ericson
In reply to @shine:proqqul.net
what's your reason for wanting to get rid of enable_shared_with_this?
We don't always put the accessors behind shared pointers
23:18:08
@Ericson2314:matrix.orgJohn EricsonAnd I just hate enable shared from this lol23:18:17
@Ericson2314:matrix.orgJohn EricsonIt feels deeply non modular 23:18:41
@Ericson2314:matrix.orgJohn Ericson(I wonder if explicit this could make it better, but that's another topic)23:19:48
29 Sep 2025
@samppu:matrix.orgsamppu joined the room.13:47:01
@niksnut:matrix.orgniksnut Taeer Bar-Yam: https://github.com/DeterminateSystems/nix-src/commit/4c028281a7a7ee657b0f180000dce3b19d485b9b 17:13:09
30 Sep 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Ok Robert Hensing (roberth), I've debugged why builtins.readDir behaves so weirdly. Wrote some unit tests documenting the currently broken behavior https://github.com/NixOS/nix/pull/14123 00:20:27

Show newer messages


Back to Room ListRoom Version: 6