Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-11-20 | import derivation: cleanup | Shea Levy | 1 | -8/+11 | |
Before this there was a bug where a `find` was being called on a not-yet-sorted set. The code was just a mess before anyway, so I cleaned it up while fixing it. | |||||
2014-11-19 | Disable vacuuming the DB after garbage collection | Eelco Dolstra | 1 | -1/+1 | |
Especially in WAL mode on a highly loaded machine, this is not a good idea because it results in a WAL file of approximately the same size ad the database, which apparently cannot be deleted while anybody is accessing it. | |||||
2014-11-19 | nix-daemon: Call exit(), not _exit() | Eelco Dolstra | 3 | -5/+8 | |
This was preventing destructors from running. In particular, it was preventing the deletion of the temproot file for each worker process. It may also have been responsible for the excessive WAL growth on Hydra (due to the SQLite database not being closed properly). Apparently broken by accident in 8e9140cfdef9dbd1eb61e4c75c91d452ab5e4a74. | |||||
2014-11-19 | Clean up temp roots in a more C++ way | Eelco Dolstra | 3 | -26/+13 | |
2014-11-17 | Fix message | Eelco Dolstra | 1 | -1/+1 | |
2014-11-15 | realiseContext: Handle all context types | Shea Levy | 1 | -2/+2 | |
Avoids an assertion | |||||
2014-11-15 | Add functors (callable attribute sets). | Shea Levy | 2 | -1/+13 | |
With this, attribute sets with a `__functor` attribute can be applied just like normal functions. This can be used to attach arbitrary metadata to a function without callers needing to treat it specially. | |||||
2014-11-14 | Don't use ADDR_LIMIT_3GB | Eelco Dolstra | 1 | -1/+1 | |
This gives 32-bit builds on x86_64-linux more memory. | |||||
2014-11-12 | Make ~DerivationGoal more reliable | Eelco Dolstra | 1 | -7/+3 | |
2014-11-04 | nix-store --gc: Don't warn about missing manifests directory | Eelco Dolstra | 1 | -1/+2 | |
2014-10-31 | nix-daemon: Get peer credentials on Mac OS X | Eelco Dolstra | 1 | -19/+52 | |
This makes allowed-users and trusted-users work on Mac OS X. | |||||
2014-10-31 | Improve error message if the daemon worker fails to start | Eelco Dolstra | 2 | -3/+2 | |
2014-10-31 | Fix more warnings | Eelco Dolstra | 1 | -11/+1 | |
2014-10-31 | Shut up a clang warning | Eelco Dolstra | 1 | -1/+1 | |
2014-10-29 | Remove comments claiming we use a private PID namespace | Eelco Dolstra | 1 | -8/+1 | |
This is no longer the case since 524f89f1399724e596f61faba2c6861b1bb7b9c5. | |||||
2014-10-20 | Fix build on gcc < 4.7 | Shea Levy | 2 | -0/+16 | |
2014-10-20 | Revert "Drop support for pre-c++11 compilers." | Shea Levy | 1 | -1/+2 | |
The breakage this fixed can be worked around without removing support. This reverts commit 84a13dc576496f1227665259c61f86184f452f51. | |||||
2014-10-20 | Improve printing of ASTs | Eelco Dolstra | 3 | -16/+58 | |
2014-10-18 | Drop support for pre-c++11 compilers. | Shea Levy | 1 | -2/+1 | |
In particular, gcc 4.6's std::exception::~exception has an exception specification in c++0x mode, which requires us to use that deprecated feature in nix (and led to breakage after some recent changes that were valid c++11). nix already uses several c++11 features and gcc 4.7 has been around for over 2 years. | |||||
2014-10-17 | Export realiseContext in libnixexpr | Shea Levy | 2 | -9/+11 | |
Useful for importNative plugins | |||||
2014-10-14 | nix-store -q: Check for conflicting flags | Eelco Dolstra | 1 | -4/+12 | |
Fixes #364. | |||||
2014-10-14 | Remove redundant space in usage errors | Eelco Dolstra | 1 | -1/+1 | |
2014-10-14 | Improved error message when encountering unsupported file types | Eelco Dolstra | 1 | -3/+3 | |
Fixes #269. | |||||
2014-10-09 | mkList: Scrub better | Eelco Dolstra | 2 | -2/+3 | |
Clearing v.app.right was not enough, because the length field of a list only takes 32 bits, so the most significant 32 bits of v.app.left (a.k.a. v.thunk.env) would remain. This could cause Boehm GC to interpret it as a valid pointer. This change reduces maximum RSS for evaluating the ‘tested’ job in nixos/release-small.nix from 1.33 GiB to 0.80 GiB, and runtime by about 8%. | |||||
2014-10-09 | Typo | Eelco Dolstra | 1 | -1/+1 | |
2014-10-05 | Get rid of some unnecessary ExprConcatStrings nodes in dynamic attrs | Eelco Dolstra | 3 | -25/+18 | |
This gives a ~18% speedup in NixOS evaluation (after converting most calls to hasAttr/getAttr to dynamic attrs). | |||||
2014-10-05 | Show total allocations | Eelco Dolstra | 1 | -8/+10 | |
2014-10-04 | Add primop ‘catAttrs’ | Eelco Dolstra | 1 | -0/+30 | |
2014-10-04 | Add primop ‘attrValues’ | Eelco Dolstra | 1 | -1/+23 | |
2014-10-04 | Tweak | Eelco Dolstra | 1 | -1/+1 | |
2014-10-03 | Remove some duplicate code | Eelco Dolstra | 4 | -21/+22 | |
2014-10-03 | Add readDir primop | Shea Levy | 1 | -0/+37 | |
2014-10-03 | Don't recompile the same regex over and over | Eelco Dolstra | 2 | -3/+8 | |
2014-10-03 | nix-env: Add regular expression support in selectors | Eelco Dolstra | 3 | -1/+60 | |
So you can now do things like: $ nix-env -qa '.*zip.*' $ nix-env -qa '.*(firefox|chromium).*' | |||||
2014-10-03 | createDirs(): Handle ‘path’ being a symlink | Eelco Dolstra | 1 | -0/+3 | |
In particular, this fixes "nix-build -o /tmp/result" on Mac OS X (where /tmp is a symlink). | |||||
2014-10-01 | printValue(): Don't print <CYCLE> for repeated values | Eelco Dolstra | 1 | -7/+9 | |
2014-09-30 | Support control characters in JSON output | Eelco Dolstra | 2 | -0/+8 | |
2014-09-26 | printMissing(): Print derivations in approximate build order | Eelco Dolstra | 1 | -6/+9 | |
2014-09-25 | nix-daemon: Close unnecessary fd | Eelco Dolstra | 1 | -0/+2 | |
2014-09-24 | Bindings: Remove copy constructor | Eelco Dolstra | 1 | -2/+3 | |
2014-09-23 | Add --force-name support for --set in nix-env, to support ↵ | Shell Turner | 1 | -0/+3 | |
nix-install-package --set | |||||
2014-09-23 | Add missing static | Eelco Dolstra | 1 | -2/+2 | |
2014-09-22 | Don't evaluate inside a "throw" | Eelco Dolstra | 1 | -3/+4 | |
Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41174. This caused hydra-eval-jobs to ignore SIGINT. | |||||
2014-09-22 | Add ‘deepSeq’ primop | Eelco Dolstra | 1 | -0/+11 | |
Note that unlike ‘lib.deepSeq’ in Nixpkgs, this handles cycles. | |||||
2014-09-22 | Make forceValueDeep work on values with cycles | Eelco Dolstra | 1 | -9/+20 | |
2014-09-22 | Rename strictForceValue -> forceValueDeep | Eelco Dolstra | 3 | -5/+5 | |
2014-09-22 | Handle cycles when printing a value | Eelco Dolstra | 1 | -5/+23 | |
So this no longer crashes with a stack overflow: nix-instantiate -E --eval 'let as = { x = as; }; in as' Instead it prints: { x = { x = <CYCLE>; }; } | |||||
2014-09-22 | Add ‘seq’ primop | Eelco Dolstra | 1 | -0/+12 | |
2014-09-22 | Add a function ‘valueSize’ | Eelco Dolstra | 4 | -2/+99 | |
It returns the size of value, including all other values and environments reachable from it. It is intended for debugging memory consumption issues. | |||||
2014-09-19 | attrNames: Don't allocate duplicates of the symbols | Eelco Dolstra | 1 | -6/+4 | |