option trace-function-calls
doesn't seem to do anything with flakes
#7179
Labels
trace-function-calls
doesn't seem to do anything with flakes
#7179
Describe the bug
The nix.conf option
trace-function-calls
seems to have no affect in 2.11.2 when usingnix-command
and flakes.Steps To Reproduce
trace-function-calls
totrue
in your nix.conf or on the clinix build
the--no-eval-cache
flag to ensure eval isn't skippedExpected behavior
The way the option is described in the manual and in the stack-collapse.py, I would expect extra output on stderr.
nix-env --version
outputnix-env (Nix) 2.11.2
Additional context
I want to use this option along with the stack-collapse.py for profiling. For now it looks like I can use flake-compat and
nix-instantiate
to work around this.update
Unfortunately trying to generate a flamegraph of a NixOS system evalution resulted in an oom situation on my machine with 64Gb of RAM. x-ref: brendangregg/FlameGraph#58.
We may want to explore a more efficient way to generate these graphs in the future, as this isn't really a practical situation atm.
The text was updated successfully, but these errors were encountered: