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:
parent
60429b86ba
commit
c94fd5f51a
3 changed files with 4 additions and 6 deletions
|
|
@ -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]*$//'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue