aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-fail-to-path.err.exp
blob: 43ed2bdfc4b552f8b65d20db9690e48390469173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error:
       … while calling the 'toPath' builtin

         at /pwd/lang/eval-fail-to-path.nix:1:1:

            1| builtins.toPath "foo/bar"
             | ^
            2|

       … while evaluating the first argument passed to builtins.toPath

         at «none»:0: (source not available)

       error: string 'foo/bar' doesn't represent an absolute path