!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
17 Mar 2025
@Ericson2314:matrix.orgJohn Ericson I am ripping out building from scheduling finally right now 00:17:50
@jade_:matrix.orgjade_https://git.lix.systems/lix-project/lix/issues/678 issue here with discussion00:17:52
@Ericson2314:matrix.orgJohn Ericsonit is very satisifying00:17:56
@hexa:lossy.networkhexaand here https://github.com/NixOS/nix/issues/520700:18:08
@Ericson2314:matrix.orgJohn Ericson I made a OOP inheritence rats nest to wind up the balista, and then twang 00:18:27
@jade_:matrix.orgjade_we have been doing different types of things wrt such fixing: soon getting rid of fork() from the builder00:18:32
@hexa:lossy.networkhexanot sure if the "not empty" part is accurate at this point00:18:40
@hexa:lossy.networkhexa* not sure if the "not empty" part is still accurate at this point00:19:26
@Ericson2314:matrix.orgJohn Ericsonit would be very nice to have some reference C++ that was sufficiently decoupled from the rest that we both could use it00:19:47
@jade_:matrix.orgjade_

another couple changes i would be fairly happy if they got yoinked directly into cppnix:

  • https://gerrit.lix.systems/c/lix/+/2801
  • https://gerrit.lix.systems/c/lix/+/2800
00:19:48
@jade_:matrix.orgjade_that's what deleting the fork() is about00:20:04
@jade_:matrix.orgjade_makes it much easier to riir the sandbox setup00:20:12
@jade_:matrix.orgjade_since it no longer knows what a "store" is00:20:21
@Ericson2314:matrix.orgJohn Ericsonoh you don't mean get rid of the sub process, you mean exec something00:20:34
@jade_:matrix.orgjade_yes, fork() -> posix_spawn() with explicit inputs00:20:49
@Ericson2314:matrix.orgJohn EricsonOK00:21:01
@Ericson2314:matrix.orgJohn EricsonI have been making 0 behavior/algorthimic changes right now00:21:14
@Ericson2314:matrix.orgJohn Ericsonjust moving code around00:21:17
@Ericson2314:matrix.orgJohn Ericsonbut yes no fork sounds good too, of course00:21:28
@Ericson2314:matrix.orgJohn Ericsonin more ways than one ;)00:21:35
@jade_:matrix.orgjade_can't easily magick away the differences in priorities or views to trunk based development. but if some of the stuff like post mortem debugging winds up on both sides it would be very good.00:23:18
@jade_:matrix.orgjade_i would not wish debugging nix protocol bugs on my worst enemy00:23:52
@jade_:matrix.orgjade_and we all have much better things to be doing than protocol debugging (especially if a consistent repro is always necessary)00:24:28
@jade_:matrix.orgjade_also you might want to take our release notes generator, tbh. it would make changes a lot more portable, and ours both has more features and is simpler :)00:26:10
@jade_:matrix.orgjade_ oh um. https://github.com/nixos/nix/blob/eb7d7780b18bce679639336cfd8ba6af1fe6139d/doc/manual/source/release-notes/meson.build#L9 thats really funny. this code is for calling our release notes generator and i don't think actually works on changelog-d 00:36:17
@Ericson2314:matrix.orgJohn Ericson I'll defer that to Robert Hensing (roberth) who wrote the old one 00:36:59
@Ericson2314:matrix.orgJohn EricsonIt appears to be working?00:37:42
@Ericson2314:matrix.orgJohn Ericsonat least manual build is not failing00:37:51
@jade_:matrix.orgjade_(i mean the real reason we rewrote it was that we wanted haskell out of our closure)00:42:00
@jade_:matrix.orgjade_* (i mean the real reason we rewrote it was that we wanted haskell out of our closure and we wanted our release notes generator to be in tree)00:42:48

Show newer messages


Back to Room ListRoom Version: 6