function-trace: always show the trace

If the user invokes nix with --trace-function-calls it means that they
want to see the trace.

(cherry picked from commit 619cc4af855fab7b0400586a4fd40745b23e72ad)
This commit is contained in:
zimbatm 2019-09-18 11:40:11 +00:00 committed by Eelco Dolstra
parent 60429b86ba
commit c94fd5f51a
3 changed files with 4 additions and 6 deletions

View file

@ -8,7 +8,6 @@ expect_trace() {
actual=$(
nix-instantiate \
--trace-function-calls \
-vvvv \
--expr "$expr" 2>&1 \
| grep "function-trace" \
| sed -e 's/ [0-9]*$//'