tvix-cli: corepkgs handling should be in a more generic location

#269
Opened by tazjin at 2023-05-14T19·20+00

Currently NixCompatIO implements the handling of corepkgs to load fetchurl.nix, which means that EvalIO implementations need to deal with this somehow.

This should probably be somewhere else, but it's not entirely clear where, we should maybe have a more reasonable way of composing the EvalIOs (which is needed anyways).

  1. cl/8573 now moves this to StdIO, which most implementations fall back to, but yeah, probably we should have some EvalIO wrapper treating /__corepkgs__/ explicitly, and passing everything else through.

    This would have the nice effect that for example DummyIO, or other "non-filesystem" EvalIO impls can still provide <nix/fetchurl.nix>.

    flokli at 2023-05-14T20·02+00

  2. Fixed in cl/8579

    tazjin at 2023-05-22T09·07+00

  3. tazjin closed this issue at 2023-05-22T09·07+00