16 Oct 2025 |
Robert Hensing (roberth) | I think I had to. You could have a tiny file that imports stuff, but it's not aware of other files to link to in the output, afaik | 17:32:11 |
Robert Hensing (roberth) | You can just put a big oneOf in the root | 17:32:39 |
John Ericson | Robert Hensing (roberth): OK I think I got in a state I like it | 19:30:40 |
John Ericson | how do we review it? :) | 19:30:43 |
John Ericson | * how do we review it? cause after making a bunch of changes I don't think I should just merge it :) | 19:31:03 |
John Ericson | I made the hash serializer a second commit for a future Pr | 19:31:20 |
John Ericson | this one just does the derivation serializer | 19:31:27 |
John Ericson | but it still has multiple .yaml files | 19:31:34 |
John Ericson | and so we make sure that the cross-file references work | 19:31:52 |
John Ericson | (I made a WIP hash one just to factor out hashAlgo from the current DRV json format there) | 19:32:14 |
John Ericson | Eelco: https://github.com/NixOS/nix/pull/14272 this ones make me smile, because that serializer stuff was one of the first refactors I did, and now I think you are on the cusp for finding the "killer app" for it :) | 19:37:39 |
raboof | Hmm, I'm noticing since a ~recent nixpkgs update, OUT_PATHS doesn't seem to be passed to the post-build hook anymore. I haven't done a proper bisect yet, I did browse the code/issues/PRs a bit but didn't see anything that jumped out at me. | 20:53:44 |
fzakaria | as a follow up to https://github.com/NixOS/nix/pull/14273 maybe someone wants to pair on working on RemoteFSAccessor
It also stores the NAR fully in memory as a std::string
Would be cool to remove the std::string constructor from NARAccessor completely. | 22:13:28 |
fzakaria | if you write an issue i can look into it | 22:16:53 |
17 Oct 2025 |
fzakaria | Can we make local-nar-cache have a default ? | 00:12:17 |
fzakaria | supported for BinaryStore
https://cache.nixos.org/?local-nar-cache=...
| 00:12:30 |
fzakaria | it's the reason why it reads the NAR all in memory | 00:15:14 |
fzakaria | wrote it here https://github.com/NixOS/nix/issues/14284 | 00:19:44 |
fzakaria | (wasn't even sure why can't just write to the /nix/store | 00:19:53 |
fzakaria | * (wasn't even sure why can't just write to the /nix/store ) | 00:19:56 |
John Ericson | I did change some of that stuff, but not in a way that I think would affect fresh buidls | 02:14:02 |
John Ericson | * I did change some of that stuff, but not in a way that I think would affect fresh builds | 02:14:05 |
John Ericson | only perhaps substitutions of CA derivations or something like that | 02:14:16 |
John Ericson | * only perhaps substitutions of CA derivations or something obscure like that | 02:14:22 |
fzakaria | Another fix in the bag | 03:06:22 |
fzakaria | https://github.com/NixOS/nix/pull/14285 | 03:06:22 |
fzakaria | Redacted or Malformed Event | 04:07:48 |
fzakaria | Redacted or Malformed Event | 04:18:54 |
| Avdhut7009 joined the room. | 05:07:27 |
raboof | this is indeed not about 'regular' builds but about rebuilds - filed https://github.com/NixOS/nix/issues/14287 | 07:27:57 |