!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
17 Mar 2025
@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
@jade_:matrix.orgjade_but one of the notable differences is that ours has contributor credits built in00:44:53
@aidetechbot:matrix.orgaidetechbot

hi, i forked nixpkgs but I can't seem to do git fetch upstream locally. I seem to get this error:

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I know it's not related to my access rights to github because doing ssh git@github.com authenticates me fine. (and i can clone and fetch other repos fine) Anyone know what could be up? I

04:20:37
@aidetechbot:matrix.orgaidetechbot *

hi, i forked nixpkgs but I can't seem to do git fetch upstream locally. I seem to get this error:

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I know it's not related to my access rights to github because doing ssh git@github.com authenticates me fine. (and i can clone and fetch other repos fine) Anyone know what could be up?

04:20:55
@aidetechbot:matrix.orgaidetechbot *

hi, i forked nixpkgs but I can't seem to do git fetch upstream locally. I seem to get this error:

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I know it's not related to my access rights to github because doing ssh git@github.com authenticates me fine. (and i can push and fetch other repos fine) Anyone know what could be up?

04:21:27
@aidetechbot:matrix.orgaidetechbotanother detail: it hangs for a while before giving me this error so i'm thinking it might be timing out somewhere and obfuscating the error. 04:22:08

Show newer messages


Back to Room ListRoom Version: 6