Nix Hackers | 948 Members | |
| For people hacking on the Nix package manager itself | 200 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Nov 2024 | ||
| but yes, probably would not be too absurd to take machines out while gc'ing them | 22:04:14 | |
| yeah, it didn't seem to affect the mac much | 22:04:16 | |
| and all other builders regularly run gcs as well | 22:04:51 | |
| if this was a substantial problem we'd know | 22:05:07 | |
| i have a prototype for multithreaded gc deletion in lix, but i haven't finished it. it is an area where nix scales badly, anyhow. | 22:04:58 | |
| the gc root bug has affected lix's CI infrastructure pretty badly, but it is somewhat unclear if it is fully resolvable without either significant perf problems or protocol changes (which in the lix case are impossible) | 22:06:08 | |
| since you would have to potentially send a gcroot request for every build input of a derivation which would be a nasty latency stackup | 22:06:34 | |
| alternative is to send the .drv file or something else that has the things as dependency and have that cause gcroots | 22:07:01 | |
(the specific problem is that nix copy and its backend operations do not keep the full closure alive on the remote end) | 22:07:24 | |
* (the specific problem is that nix copy and its backend operations do not keep the full closure alive on the remote end after checking for common paths) | 22:07:32 | |
In reply to @puck:puck.moeNot sure what you’re asking, mind elaborating? | 22:18:38 | |
nix-2.25.0 does not build against latest release of libgit2 as src/libfetchers/git-utils.cc:288:13: error: ‘git_mempack_write_thin_pack’ was not declared in this scope. It looks like it depends on unreleased feature: https://github.com/libgit2/libgit2/commit/f9c35fb50998d1c9d26293a18ade3d7c32f6ecb0. Is it intentional? I would hope for a silently disabled feature rather than hard build failure. | 22:47:47 | |
| is there a URL where I can access the Nix manual for 2.25? | 23:53:02 | |
| https://nix.dev/manual/nix/2.25/ doesn't work | 23:53:19 | |
| https://nix.dev/manual/nix/latest/ links to https://nix.dev/manual/nix/2.24/ | 23:53:54 | |
| 13 Nov 2024 | ||
In reply to @enzime:nixos.devyes, it is some ridiculous hydra url, one moment | 02:01:45 | |
| okay nevermind, i cannot find it because the nix derivation structure has been made overcomplicated and i have no idea which derivation it is under | 02:04:41 | |
| https://hydra.nixos.org/build/278194439 hm, okay, the manual link on here works but i would expect there to be another build product that is not no-gc called "nix" which has it? that is, https://hydra.nixos.org/build/278194439/download/1/manual | 02:05:46 | |
| i also did not notice that 2.25 was released, but this also works because of that: https://releases.nixos.org/nix/nix-2.25.0/manual/index.html | 02:06:23 | |
In reply to @jade_:matrix.orgfor latest on master, I use https://nix.dev/manual/nix/unstable/ | 04:28:26 | |
| which redirects to https://hydra.nixos.org/build/278148859/download/1/manual/ | 04:28:33 | |
In reply to @jade_:matrix.orgI made a GitHub issue requesting GitHub releases are created so users can have an official channel to be notified by https://github.com/NixOS/nix/issues/11872 | 04:29:19 | |
| Is anyone interested in the core dump for this?
| 08:25:19 | |
| * Is anyone interested in the core dump for this?
| 08:25:28 | |
| Oh, it's v2.24.10 | 08:25:55 | |
| Redacted or Malformed Event | 20:09:43 | |
| https://github.com/NixOS/nixpkgs/pull/355745 | 20:09:52 | |
| 22:14:05 | ||
| 14 Nov 2024 | ||
| 08:24:18 | ||
I’d like to add functionality to nix derivation show so it respects —keep-going. How would I do that?I found the relevant source file (https://github.com/NixOS/nix/blob/a95f6ea5c6b9a404f3ef1138c8351f7ef6383e6f/src/nix/derivation-show.cc#L42) and started by wrapping things in try-catch blocks, but I don’t understand how to catch the relevant errors — they seem to make the program fail regardless of what I’m catching ( EvalError, Error, or even std::exception).Does EvalState need to be reset or otherwise modified to start doing evaluation again after throwing?Will post changes in a moment. | 16:56:28 | |