aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-assert-equal-derivations-extra.err.exp
blob: 7f49240747c812873e69420927164a60dbc6bd6d (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error:while evaluating the condition of the assertion '({ foo = { outPath = "/nix/store/0"; type = "derivation"; }; } == { foo = { devious = true; outPath = "/nix/store/1"; type = "derivation"; }; })'
         at /pwd/lang/eval-fail-assert-equal-derivations-extra.nix:1:1:
            1| assert
             | ^
            2|   { foo = { type = "derivation"; outPath = "/nix/store/0"; }; }while comparing attribute 'foo'

       … where left hand side is
         at /pwd/lang/eval-fail-assert-equal-derivations-extra.nix:2:5:
            1| assert
            2|   { foo = { type = "derivation"; outPath = "/nix/store/0"; }; }
             |     ^
            3|   ==

       … where right hand side is
         at /pwd/lang/eval-fail-assert-equal-derivations-extra.nix:4:5:
            3|   ==
            4|   { foo = { type = "derivation"; outPath = "/nix/store/1"; devious = true; }; };
             |     ^
            5| throw "unreachable"while comparing a derivation by its 'outPath' attribute

       error: string '"/nix/store/0"' is not equal to string '"/nix/store/1"'