tvix-eval: inherit
of missing attribute is not caught during tryEval
#362
Opened by raitobezarius at
Reproducer: let pkgs = import <nixpkgs> {}; in builtins.tryEval (builtins.toJSON pkgs.pkgsCross.riscv64.androidndkPkgs.binaries)
in the REPL.
Expected: works. Got: E005.
Seems like an eval error issue. Tvix hits the missing
sdkVer
attribute, bailing out (missing attributes can't be caught), while C++ Nix forcesos
first which contains athrow
(can be caught).sterni at 2023-12-30T10·11+00
Yep, unable to debug that though. For the time being, I decided to refactor this code to make it easier to test.
raitobezarius at 2023-12-31T01·39+00