tvix/eval: import error printing obscures actual source error
#206
Opened by aspen at
At least I think this is what's going on; I haven't dug much into it:
tvix-repl> import ../../../nixpkgs {} error[E028]: 1 errors occured while importing '/home/grfn/code/nixpkgs/pkgs/top-level/impure.nix' --> /home/grfn/code/nixpkgs/default.nix:28:3 | 28 | import ./pkgs/top-level/impure.nix | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tvix-repl> import ../../../nix/nixpkgs {} error[E028]: compiler errors occured while importing '/home/lukas/src/nix/nixpkgs/lib/attrsets.nix' --> /home/lukas/src/nix/nixpkgs/lib/default.nix:11:22 | 11 | callLibs = file: import file { lib = self; }; | ^^^^^^^^^^^ error[E010]: variable not found --> /home/lukas/src/nix/nixpkgs/lib/attrsets.nix:435:70 | 435 | name = sanitizeDerivationName (builtins.substring 33 (-1) (baseNameOf path')); | ^^^^^^^^^^
Seemingly no longer the case.
sterni at 2022-10-12T11·40+00
- sterni closed this issue at 2022-10-12T11·40+00