John Ericson

Results 943 comments of John Ericson

I think `unsafeDiscardStringContext` is fine for now, but the longer term solution is to consider why the json file is an input to the IFD thing rather than in nix...

The improve redo fetching would also be good to split out, so I think this should actually be 3 parts: 1. Document status quo 2. Change code for new Nix...

The new logic should be backported into a `toTargetFamilies` next to the others in the "rust lib". Then this is ready to be merged.

Thanks for the backtrace. We have an exception raised during a destructor.

My rough guess is that this is one of the many bugs that arose with the implementation of impure derivations https://github.com/NixOS/nix/pull/6227

@tomberek it's that after that that PR, instead of just using the DB for this stuff (and reading drv files) it is doing a bunch of in-memory maps building and...

Here's an idea: ```sh nix-build --store $remote_store --builders auto ``` This flips things around so that the goal is just making paths exist in the remote store, but the local...

@matthewbauer to solve the "don't duplicate stores" issue, I rather just be able to layer stores: ``` nix-build --store "layered://?layers=$remote_store, https://cache.nixos.org" --builders auto ``` As that I think that is...

I'm starting on this. I think if it I put off splitting up `derivation-goal.cc` until after, I'll be able to keep my sanity. I got it to build and not...

Per #4364, which is closed as a duplicate of this, one should be able to do ``` nix-build --store my-remote-store --builders 'auto - - 1 1' ``` to achieve this.