about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2013-11-25 Split Makefile.lib into several *.mk filesEelco Dolstra9-203/+243
2013-11-25 Add a rule for creating directoriesEelco Dolstra1-9/+19
The tricky thing here is that if you have a directory as a prerequisite, you need to declare it as a "order-only prerequisite" ("dir/prog: stuff | dir"), otherwise the target will be rebuilt every time because the timestamp on the directory keeps changing.
2013-11-25 Add a generic rule for installing filesEelco Dolstra2-1/+16
2013-11-23 Install into $(libdir) instead of $(pkglibdir)Eelco Dolstra1-2/+2
We don't need $(pkglibdir) anymore, since the libraries themselves have a "nix" prefix now.
2013-11-23 Use libnix as a prefix for all Nix librariesEelco Dolstra5-0/+10
In particular "libutil" was always a problem because it collides with Glibc's libutil. Even if we install into $(libdir)/nix, the linker sometimes got confused (e.g. if a program links against libstore but not libutil, then ld would report undefined symbols in libstore because it was looking at Glibc's libutil).
2013-11-23 Allow libraries to set an actual name different from the symbolic nameEelco Dolstra1-6/+7
2013-11-23 Add Makefile for nix-log2xmlEelco Dolstra2-0/+6
2013-11-24 Consistent namingEelco Dolstra1-10/+10
2013-11-24 Disallow undefined symbols in dynamic libraries by defaultEelco Dolstra2-4/+12
This encourages that each library declares its own dependencies properly.
2013-11-23 Drop the dependency on libgc in libmainEelco Dolstra4-22/+22
Instead, libexpr now depends on libgc. This means commands like nix-store that don't do any evaluation no longer require libgc.
2013-11-23 Initialise Boehm GC only onceEelco Dolstra1-2/+2
2013-11-23 Allow (dynamic) libraries to depend on other librariesEelco Dolstra5-8/+17
2013-11-23 Support installation of dynamically linked programsEelco Dolstra2-5/+39
Here we need to re-link programs so that their RPATH refers to the installed libraries.
2013-11-23 Implement basic ‘make install’Eelco Dolstra3-3/+13
2013-11-23 Improve building dynamic librariesEelco Dolstra2-7/+11
They now get a correct RPATH.
2013-11-22 Support building dynamic librariesEelco Dolstra4-13/+23
2013-11-22 Fix building without Boehm GCEelco Dolstra2-1/+2
2013-11-22 Add a Makefile variable for enabling debug infoEelco Dolstra2-4/+20
2013-11-22 Introduce variables GLOBAL_CFLAGS and GLOBAL_CXXFLAGSEelco Dolstra2-3/+4
There are flags that must be set, so they shouldn't be overriden by the user's CFLAGS or CXXFLAGS.
2013-11-22 Drop the dependency on AutomakeEelco Dolstra6-17/+18
2013-11-22 Rename $(here) to $(d) for brevity, and remove trailing slashEelco Dolstra12-39/+49
2013-11-22 Automatically regenerate Makefile.configEelco Dolstra2-12/+20
And move some stuff around.
2013-11-22 Respect configure flagsEelco Dolstra3-5/+7
2013-11-22 Add ‘make dist’ supportEelco Dolstra3-6/+23
2013-11-22 Add missing #includeEelco Dolstra1-1/+1
2013-11-22 Remove unnecessary lineEelco Dolstra1-2/+0
2013-11-22 Clean more aggressivelyEelco Dolstra1-2/+2
2013-11-22 Generate the parser and the lexerEelco Dolstra1-1/+5
2013-11-22 Automatically emit make rules for header filesEelco Dolstra2-4/+7
2013-11-22 New non-recursive, plain Make-based build systemEelco Dolstra15-0/+183
2013-11-22 Include <cstring> for memsetEelco Dolstra1-0/+1
This should fix building on Illumos.
2013-11-19 Bump version numberEelco Dolstra1-1/+1
2013-11-19 Check meta values and warn about bad onesEelco Dolstra4-26/+54
2013-11-19 Generalise meta attributesEelco Dolstra5-204/+204
2013-11-19 Shorter error messageEelco Dolstra1-2/+1
2013-11-19 Drop support for user environment manifests in ATerm formatEelco Dolstra1-112/+1
2013-11-19 nix-env -q: Add a --json flagEelco Dolstra1-8/+45
2013-11-19 Refactor JSON outputEelco Dolstra2-13/+56
2013-11-19 Add a toJSON primopEelco Dolstra10-24/+179
2013-11-18 Add a primop unsafeGetAttrPos to return the position of an attributeEelco Dolstra6-6/+44
2013-11-18 Add a symbol __curPos that expands to the current source locationEelco Dolstra7-2/+43
I.e. an attribute set { file = <string>; line = <int>; column = <int>; }.
2013-11-18 Support quoted attribute names in -AEelco Dolstra3-14/+38
This is requires if you have attribute names with dots in them. So you can now say: $ nix-instantiate '<nixos>' -A 'config.systemd.units."postgresql.service".text' --eval-only Fixes #151.
2013-11-14 Remove nix-setuid-helperEelco Dolstra13-526/+50
AFAIK, nobody uses it, it's not maintained, and it has no tests.
2013-11-12 Make function calls show up in stack traces againEelco Dolstra4-26/+35
Note that adding --show-trace prevents functions calls from being tail-recursive, so an expression that evaluates without --show-trace may fail with a stack overflow if --show-trace is given.
2013-11-12 Add a test to check that tail calls run in bounded stack spaceEelco Dolstra2-0/+4
2013-11-12 Make function calls tail-recursiveEelco Dolstra4-40/+65
2013-11-12 Make ifs and asserts tail-recursiveEelco Dolstra2-4/+11
The local Value object prevented g++ from making a tail call. Not clear why. In any case, not using a temporary makes g++ do the tail call.
2013-11-12 Get rid of an intermediary on the stackEelco Dolstra2-13/+17
2013-10-28 Fix building without a garbage collectorEelco Dolstra1-5/+5
http://hydra.nixos.org/build/6695350
2013-10-28 Fix a segfault in genericClosureEelco Dolstra1-16/+25
It kept temporary data in STL containers that were not scanned by Boehm GC, so Nix programs using genericClosure could randomly crash if the garbage collector kicked in at a bad time. Also make it a bit more efficient by copying points to values rather than values.