Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-01-06 | Disable FreeBSD tests for now | Eelco Dolstra | 1 | -5/+5 | |
The FreeBSD machines in the build farm are currently unreachable. | |||||
2014-01-06 | Disable the tail call test | Eelco Dolstra | 1 | -0/+0 | |
On i686-linux, GCC stubbornly refuses to do tail-call optimisation. Don't know why. http://hydra.nixos.org/build/7300170 | |||||
2013-12-30 | nix-shell --pure: Don't clear IN_NIX_SHELL | Shea Levy | 1 | -1/+1 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2013-12-20 | Revert "Scan /proc/<pid>/cmdline for GC roots" | Eelco Dolstra | 1 | -8/+4 | |
This reverts commit 194e3374b89b8b2dec6296923877304bdb5c6ae2. Checking the command line for GC roots means that $ nix-store --delete $path will fail because $path is now a root because it's mentioned on the command line. | |||||
2013-12-20 | Doh | Eelco Dolstra | 1 | -1/+1 | |
2013-12-20 | perl: Call loadConfFile() in doInit to avoid screwing sqlite journal mode. | Petr Rockai | 1 | -0/+2 | |
If the database is opened through perl bindings (and even though nix.conf has use-sqlite-wal set to false), the database is automatically converted into WAL mode. This makes the next nix process to access the database convert it back to "truncate". If the database is still open at the time in wal mode by the perl program, this fails and crashes the nix doing the wal -> truncate conversion. | |||||
2013-12-20 | nix-env --set-flag: Barf if a selector doesn't match any installed package | Eelco Dolstra | 1 | -5/+13 | |
Fixes #184. | |||||
2013-12-20 | Scan /proc/<pid>/cmdline for GC roots | Eelco Dolstra | 1 | -4/+8 | |
2013-12-20 | nix-shell: Don't warn about the lack of a GC root | Eelco Dolstra | 2 | -1/+6 | |
2013-12-20 | nix-shell: Set $IN_NIX_SHELL before evaluation | Eelco Dolstra | 1 | -2/+2 | |
This has some hacky applications. | |||||
2013-12-20 | nix-shell: Handle --option correctly | Eelco Dolstra | 2 | -3/+7 | |
Fixes #181. | |||||
2013-12-17 | nix-shell --pure: Keep $TERM | Eelco Dolstra | 1 | -1/+1 | |
2013-12-10 | Bump language version for new storePath feature | Shea Levy | 1 | -1/+1 | |
This will allow e.g. channel expressions to use builtins.storePath IFF it is safe to do so without knowing if the path is valid yet. Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2013-12-10 | builtins.storePath: Try to substitute the path if it is not yet valid | Shea Levy | 1 | -2/+2 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2013-12-10 | Garbage collector: Release locks on temporary root files | Eelco Dolstra | 1 | -0/+1 | |
This allows processes waiting for such locks to proceed during the trash deletion phase of the garbage collector. | |||||
2013-12-05 | Print a trace message if a build fails due to the platform being unknown | Eelco Dolstra | 1 | -1/+4 | |
2013-11-22 | Include <cstring> for memset | Eelco Dolstra | 1 | -0/+1 | |
This should fix building on Illumos. | |||||
2013-11-19 | Bump version number | Eelco Dolstra | 1 | -1/+1 | |
2013-11-19 | Check meta values and warn about bad ones | Eelco Dolstra | 4 | -26/+54 | |
2013-11-19 | Generalise meta attributes | Eelco Dolstra | 5 | -204/+204 | |
2013-11-19 | Shorter error message | Eelco Dolstra | 1 | -2/+1 | |
2013-11-19 | Drop support for user environment manifests in ATerm format | Eelco Dolstra | 1 | -112/+1 | |
2013-11-19 | nix-env -q: Add a --json flag | Eelco Dolstra | 1 | -8/+45 | |
2013-11-19 | Refactor JSON output | Eelco Dolstra | 2 | -13/+56 | |
2013-11-19 | Add a toJSON primop | Eelco Dolstra | 10 | -24/+179 | |
2013-11-18 | Add a primop unsafeGetAttrPos to return the position of an attribute | Eelco Dolstra | 6 | -6/+44 | |
2013-11-18 | Add a symbol __curPos that expands to the current source location | Eelco Dolstra | 7 | -2/+43 | |
I.e. an attribute set { file = <string>; line = <int>; column = <int>; }. | |||||
2013-11-18 | Support quoted attribute names in -A | Eelco Dolstra | 3 | -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-helper | Eelco Dolstra | 13 | -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 again | Eelco Dolstra | 4 | -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 space | Eelco Dolstra | 2 | -0/+4 | |
2013-11-12 | Make function calls tail-recursive | Eelco Dolstra | 4 | -40/+65 | |
2013-11-12 | Make ifs and asserts tail-recursive | Eelco Dolstra | 2 | -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 stack | Eelco Dolstra | 2 | -13/+17 | |
2013-10-28 | Fix building without a garbage collector | Eelco Dolstra | 1 | -5/+5 | |
http://hydra.nixos.org/build/6695350 | |||||
2013-10-28 | Fix a segfault in genericClosure | Eelco Dolstra | 1 | -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. | |||||
2013-10-28 | Drop Cygwin and Solaris builds | Eelco Dolstra | 1 | -1/+1 | |
2013-10-28 | Update release notes, set version for 1.6.1 release | Eelco Dolstra | 2 | -2/+7 | |
2013-10-28 | Slightly optimize listToAttrs | Eelco Dolstra | 3 | -9/+10 | |
2013-10-24 | Undocument obsolete form of "let" | Eelco Dolstra | 1 | -8/+2 | |
2013-10-24 | Doc fix | Eelco Dolstra | 1 | -2/+2 | |
2013-10-24 | Fix segfault on Darwin | Eelco Dolstra | 2 | -0/+2 | |
Ever since SQLite in Nixpkgs was updated to 3.8.0.2, Nix has randomly segfaulted on Darwin: http://hydra.nixos.org/build/6175515 http://hydra.nixos.org/build/6611038 It turns out that this is because the binary cache substituter somehow ends up loading two versions of SQLite: the one in Nixpkgs and the other from /usr/lib/libsqlite3.dylib. It's not exactly clear why the latter is loaded, but it appears to be because WWW::Curl indirectly loads /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation, which in turn seems to load /usr/lib/libsqlite3.dylib. This leads to a segfault when Perl exits: #0 0x00000001010375f4 in sqlite3_finalize () #1 0x000000010125806e in sqlite_st_destroy () #2 0x000000010124bc30 in XS_DBD__SQLite__st_DESTROY () #3 0x00000001001c8155 in XS_DBI_dispatch () ... #14 0x0000000100023224 in perl_destruct () #15 0x0000000100000d6a in main () ... The workaround is to explicitly load DBD::SQLite before WWW::Curl. | |||||
2013-10-24 | Rename "attribute sets" to "sets" | Eelco Dolstra | 13 | -160/+152 | |
We don't have any other kind of sets so calling them attribute sets is unnecessarily verbose. | |||||
2013-10-24 | Manual: Fix broken URLs | Eelco Dolstra | 2 | -3/+3 | |
Fixes #172. | |||||
2013-10-24 | Add rpm_fedora19i386 to the release-critical builds | Eelco Dolstra | 1 | -1/+1 | |
2013-10-24 | Remove unnecessary call to forceStringNoCtx | Eelco Dolstra | 1 | -1/+1 | |
2013-10-24 | Document typeOf | Eelco Dolstra | 1 | -0/+13 | |
2013-10-24 | Add a test of the type primops | Eelco Dolstra | 2 | -0/+24 | |
2013-10-24 | Add a typeOf primop | Eelco Dolstra | 1 | -3/+28 | |
We already have some primops for determining the type of a value, such as isString, but they're incomplete: for instance, there is no isPath. Rather than adding more isBla functions, the generic typeOf function returns a string representing the type of the argument (e.g. "int"). | |||||
2013-10-24 | Document NIX_SHOW_STATS and NIX_COUNT_CALLS | Eelco Dolstra | 1 | -0/+18 | |