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"'