mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 13:36:02 +01:00
Low-hanging fruit in the spirit of #9753 and #9754 (means 9999years did all the hard work already). This basically prints out what was attempted to be called as function, i.e. map (import <nixpkgs> {}) [ 1 2 3 ] now gives the following error message: error: … while calling the 'map' builtin at «string»:1:1: 1| map (import <nixpkgs> {}) [ 1 2 3 ] | ^ … while evaluating the first argument passed to builtins.map error: expected a function but found a set: { _type = "pkgs"; AAAAAASomeThingsFailToEvaluate = «thunk»; AMB-plugins = «thunk»; ArchiSteamFarm = «thunk»; BeatSaberModManager = «thunk»; CHOWTapeModel = «thunk»; ChowCentaur = «thunk»; ChowKick = «thunk»; ChowPhaser = «thunk»; CoinMP = «thunk»; «18783 attributes elided»} |
||
|---|---|---|
| .. | ||
| flake | ||
| value | ||
| derived-path.cc | ||
| error_traces.cc | ||
| eval.cc | ||
| json.cc | ||
| local.mk | ||
| primops.cc | ||
| search-path.cc | ||
| trivial.cc | ||