diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-11-22T17·28+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-11-22T17·28+0000 |
commit | 993fa94fb489f46e127ef760bea8c65ef281ef7f (patch) | |
tree | aa9072bc840449143362be8657a81092d2384dfa /src/libmain/Makefile.am | |
parent | 4e1ea17052b4cc2445bc2ece2136f248112b4e45 (diff) |
* Move initialisation of variables like nixConfDir from libmain to
libstore so that the Perl bindings can use it as well. It's vital that the Perl bindings use the configuration file, because otherwise nix-copy-closure will fail with a ‘database locked’ message if the value of ‘use-sqlite-wal’ is changed from the default.
Diffstat (limited to 'src/libmain/Makefile.am')
-rw-r--r-- | src/libmain/Makefile.am | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libmain/Makefile.am b/src/libmain/Makefile.am index ababc3595968..404353c62922 100644 --- a/src/libmain/Makefile.am +++ b/src/libmain/Makefile.am @@ -7,13 +7,6 @@ libmain_la_LIBADD = ../libstore/libstore.la @BDW_GC_LIBS@ pkginclude_HEADERS = shared.hh AM_CXXFLAGS = \ - -DNIX_STORE_DIR=\"$(storedir)\" \ - -DNIX_DATA_DIR=\"$(datadir)\" \ - -DNIX_STATE_DIR=\"$(localstatedir)/nix\" \ - -DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \ - -DNIX_CONF_DIR=\"$(sysconfdir)/nix\" \ - -DNIX_LIBEXEC_DIR=\"$(libexecdir)\" \ - -DNIX_BIN_DIR=\"$(bindir)\" \ -DNIX_VERSION=\"$(VERSION)\" \ -I$(srcdir)/.. -I$(srcdir)/../libutil \ -I$(srcdir)/../libstore |