aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/repl_characterization/data/repl_overlays_error.test
blob: 2d8702df1cfd35bfaaef1ab22bc61e869f12dd62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
`repl-overlays` that fail to evaluate should error.
@args --repl-overlays
@args ${PWD}/extra_data/repl-overlay-fail.nix
@should-start false
  error:
         … while calling the 'foldl'' builtin
           at «string»:5:13:
              4| functions:
              5| let final = builtins.foldl'
               |             ^
              6|               (prev: function: prev // (function info final prev))

         … in the right operand of the update (//) operator
           at «string»:6:37:
              5| let final = builtins.foldl'
              6|               (prev: function: prev // (function info final prev))
               |                                     ^
              7|               initial

         (stack trace truncated; use '--show-trace' to show the full trace)

         error: evaluation aborted with the following error message: 'uh oh!'