about summary refs log tree commit diff
path: root/src/libstore/ssh.cc
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2020-01-11T14·06+0100
committerEelco Dolstra <edolstra@gmail.com>2020-04-10T08·39+0200
commiteba0892d08dca56905f251cfa9e1d048daf8c31d (patch)
treed98f87ac64d1c5d27a10e7a8de006419c47d0902 /src/libstore/ssh.cc
parent7fee49ef3719e7359b1b317a5b5a2bf0b4ecc3df (diff)
libexpr: show expression in assertion errors
Includes the expression of the condition in the assertion message if
the assertion failed, making assertions much easier to debug. eg.

    error: assertion (withPython -> (python2Packages != null)) failed at pkgs/tools/security/nmap/default.nix:11:1

(cherry picked from commit 307bcb9a8e7a16bfc451e055a620b766df9d3f7d)
Signed-off-by: Domen Kožar <domen@dev.si>
Diffstat (limited to 'src/libstore/ssh.cc')
0 files changed, 0 insertions, 0 deletions