Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created September 1, 2018 01:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/7be44152758680ba404c26304656054e to your computer and use it in GitHub Desktop.
Save grahamc/7be44152758680ba404c26304656054e to your computer and use it in GitHub Desktop.
[nix-shell:~/projects/nix]$ NIX_SHOW_STATS=1 ./inst/bin/nix-build ../test.nix
evaluation statistics:
time elapsed: 0.090999
size of a value: 24
size of an attr: 24
environments allocated count: 4811
environments allocated bytes: 135936
list elements count: 3770
list elements bytes: 30160
list concatenations: 17
values allocated count: 26697
values allocated bytes: 640728
sets allocated: 2034 (2094960 bytes)
right-biased unions: 251
values copied in right-biased unions: 63015
symbols in symbol table: 12782
size of symbol table: 156784
number of thunks: 23295
number of thunks avoided: 6495
number of attr lookups: 906
number of primop calls: 2480
number of function calls: 4284
total allocations: 2901784 bytes
current Boehm heap size: 402718720 bytes
total Boehm heap allocations: 3186896 bytes
these derivations will be built:
/nix/store/d2vrs4sgs3caxv2pldy0gli6l20lk50i-hi.drv
building '/nix/store/d2vrs4sgs3caxv2pldy0gli6l20lk50i-hi.drv'...
builder for '/nix/store/d2vrs4sgs3caxv2pldy0gli6l20lk50i-hi.drv' failed to produce output path '/nix/store/2sznz356r0j7215srdppwzi830v98hd5-hi'
error: build of '/nix/store/d2vrs4sgs3caxv2pldy0gli6l20lk50i-hi.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment