aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-to-path.err.exp
blob: 4ffa2cf6dbcbe05558096872017a28bfa2640108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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

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