lix/src/nix
Andreas Rammhold d2c371927e SourceExprCommand: allocate the vSourceExpr via uncollectable memory
Previously the memory would occasionally be collected during eval since
the GC doesn't consider the member variable as alive / doesn't scan the
region of memory where the pointer lives.

By using the traceable_allocator<T> allocator provided by Boehm GC we
can ensure the memory isn't collected. It should be properly freed when
SourceExprCommand goes out of scope.
2020-04-13 21:23:54 +02:00
..
add-to-store.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
build.cc Backport 'nix dev-shell' from the flakes branch 2020-03-30 19:16:45 +02:00
cat.cc Make subcommand construction in MultiCommand lazy 2019-12-05 20:19:26 +01:00
command.cc Backport 'nix dev-shell' from the flakes branch 2020-03-30 19:16:45 +02:00
command.hh SourceExprCommand: allocate the vSourceExpr via uncollectable memory 2020-04-13 21:23:54 +02:00
copy.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
doctor.cc nix doctor: Fix typo 2019-12-05 20:40:52 +01:00
dump-path.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
edit.cc nix edit: Support non-derivation attributes 2020-03-24 14:06:47 +01:00
eval.cc nix edit: Support non-derivation attributes 2020-03-24 14:06:47 +01:00
hash.cc Make subcommand construction in MultiCommand lazy 2019-12-05 20:19:26 +01:00
installables.cc SourceExprCommand: allocate the vSourceExpr via uncollectable memory 2020-04-13 21:23:54 +02:00
installables.hh Backport 'nix dev-shell' from the flakes branch 2020-03-30 19:16:45 +02:00
legacy.cc Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
legacy.hh Fix Darwin build 2016-03-15 12:11:27 +01:00
local.mk Backport libfetchers from the flakes branch 2020-04-07 09:03:14 +02:00
log.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
ls.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
main.cc datatransfer.{cc,hh} -> filetransfer.{cc,hh} 2020-04-08 22:26:57 +02:00
make-content-addressable.cc nix make-content-addressable: Add --json flag 2019-12-18 17:39:02 +01:00
optimise-store.cc Make subcommand construction in MultiCommand lazy 2019-12-05 20:19:26 +01:00
path-info.cc nix path-info --json: Print hash in SRI format 2020-03-24 14:26:23 +01:00
ping-store.cc Make subcommand construction in MultiCommand lazy 2019-12-05 20:19:26 +01:00
progress-bar.cc DataTransfer -> FileTransfer 2020-04-08 22:26:57 +02:00
progress-bar.hh nix: Add --print-build-logs flag 2019-05-15 17:33:56 +02:00
repl.cc nix repl: Put EvalState on the heap 2020-03-19 13:52:28 +01:00
run.cc nix run using $SHELL as default command 2020-04-07 20:29:40 +08:00
search.cc Make subcommand construction in MultiCommand lazy 2019-12-05 20:19:26 +01:00
shell.cc nix shell -> nix dev-shell 2020-03-31 13:45:28 +02:00
show-config.cc Make subcommand construction in MultiCommand lazy 2019-12-05 20:19:26 +01:00
show-derivation.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
sigs.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
upgrade-nix.cc datatransfer.{cc,hh} -> filetransfer.{cc,hh} 2020-04-08 22:26:57 +02:00
verify.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
why-depends.cc Pretty-print 'nix why-depends' / 'nix-store -q --tree' output 2020-03-24 14:26:23 +01:00