1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-03 07:31:00 +01:00

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 619cc4af85)
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]*$//'