makes icon indicating copy to clipboard operation
makes copied to clipboard

module definition error provenance

Open blaggacao opened this issue 4 years ago • 2 comments

A definition for option `outputs./' is not of type `package'. Definition values:
- In `/nix/store/nj2n...-source/src/evaluator/modules/default.nix'

This error message says just about nothing. We need to improve it, possibly by using _file module attribute.

blaggacao avatar Sep 16 '21 03:09 blaggacao

this isn't as trivial as I initially thougt

blaggacao avatar Sep 16 '21 19:09 blaggacao

I just discovered this perl:

nix-repl> builtins.unsafeGetAttrPos "a" { a = "123";}
{ column = 33; file = "(string)"; line = 1; }

kamadorueda avatar Oct 18 '21 01:10 kamadorueda