about summary refs log tree commit diff
path: root/src/nix-env
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-10-20T11·38+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-10-20T11·38+0000
commite879a0371ba7ef99da2d82547823c3f96b445fdb (patch)
treede99e0a1d3e38ff75222f25f641d7e26cf339ad5 /src/nix-env
parentb0c11cda7ef9eaef46f9868e3f3736aa72fa641c (diff)
* Use the Boehm garbage collector to reclaim unused memory in the Nix
  expression evaluator.

Diffstat (limited to 'src/nix-env')
-rw-r--r--src/nix-env/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nix-env/Makefile.am b/src/nix-env/Makefile.am
index 7dfa7425a062..169c85fcb679 100644
--- a/src/nix-env/Makefile.am
+++ b/src/nix-env/Makefile.am
@@ -4,7 +4,8 @@ nix_env_SOURCES = nix-env.cc profiles.cc profiles.hh user-env.cc user-env.hh hel
 
 nix_env_LDADD = ../libmain/libmain.la ../libexpr/libexpr.la \
  ../libstore/libstore.la ../libutil/libutil.la \
- ../boost/format/libformat.la @ADDITIONAL_NETWORK_LIBS@
+ ../boost/format/libformat.la @ADDITIONAL_NETWORK_LIBS@ \
+ -L/home/eelco/Dev/nix/boehmgc/lib -lgc
 
 nix-env.o: help.txt.hh
 
@@ -14,4 +15,5 @@ nix-env.o: help.txt.hh
 AM_CXXFLAGS = \
  -I$(srcdir)/.. \
  -I$(srcdir)/../libutil -I$(srcdir)/../libstore \
- -I$(srcdir)/../libexpr -I$(srcdir)/../libmain -I../libexpr
+ -I$(srcdir)/../libexpr -I$(srcdir)/../libmain -I../libexpr \
+ -I/home/eelco/Dev/nix/boehmgc/include