1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02: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.
This commit is contained in:
zimbatm 2019-09-18 11:40:11 +00:00
parent c6a0f4c393
commit 619cc4af85
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
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]*$//'