Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-03-29 | Improve SIGINT handling in multi-threaded programs | Eelco Dolstra | 1 | -9/+2 | |
The flag remembering whether an Interrupted exception was thrown is now thread-local. Thus, all threads will (eventually) throw Interrupted. Previously, one thread would throw Interrupted, and then the other threads wouldn't see that they were supposed to quit. | |||||
2016-03-29 | Re-enable sync_with_stdio | Eelco Dolstra | 1 | -3/+0 | |
Otherwise writing to std::cerr is not thread-safe (in particular, lines will be randomly duplicated). | |||||
2016-02-25 | Merge branch 'master' into new-cli | Eelco Dolstra | 3 | -4/+28 | |
2016-02-23 | Pool<T>: Allow a maximum pool size | Eelco Dolstra | 1 | -0/+1 | |
2016-02-22 | Doh | Eelco Dolstra | 1 | -1/+1 | |
2016-02-22 | Make OpenSSL usage thread-safe | Eelco Dolstra | 3 | -4/+26 | |
OpenSSL can randomly segfault unless we register a callback function to do locking. https://www.openssl.org/docs/manmaster/crypto/threads.html | |||||
2016-02-12 | Merge pull request #762 from ctheune/ctheune-floats | Eelco Dolstra | 1 | -0/+1 | |
Implement floats | |||||
2016-02-09 | Start of new Nix command-line interface | Eelco Dolstra | 2 | -0/+2 | |
2016-02-09 | New command line parsing infrastructure | Eelco Dolstra | 4 | -79/+131 | |
2016-02-04 | StoreAPI -> Store | Eelco Dolstra | 2 | -5/+5 | |
Calling a class an API is a bit redundant... | |||||
2016-02-04 | Eliminate the "store" global variable | Eelco Dolstra | 2 | -9/+8 | |
Also, move a few free-standing functions into StoreAPI and Derivation. Also, introduce a non-nullable smart pointer, ref<T>, which is just a wrapper around std::shared_ptr ensuring that the pointer is never null. (For reference-counted values, this is better than passing a "T&", because the latter doesn't maintain the refcount. Usually, the caller will have a shared_ptr keeping the value alive, but that's not always the case, e.g., when passing a reference to a std::thread via std::bind.) | |||||
2016-01-28 | printMissing(): Propagate store argument | Eelco Dolstra | 2 | -4/+4 | |
2016-01-06 | @eelco's feedback: downgrade to regular float for size, remove unused function. | Christian Theune | 1 | -23/+0 | |
2016-01-05 | First hit at providing support for floats in the language. | Christian Theune | 1 | -0/+24 | |
2015-09-18 | Shut up clang warnings | Eelco Dolstra | 1 | -1/+1 | |
2015-07-23 | --version: Print some config info | Eelco Dolstra | 1 | -0/+14 | |
Such as whether Nix is built with signed binary cache support, and the location of the configuration file. | |||||
2015-07-20 | Support systemd log severity prefixes | Eelco Dolstra | 1 | -0/+4 | |
This is mostly useful for hydra-queue-runner. | |||||
2015-05-21 | nix-collect-garbage: Call collectGarbage() internally | Eelco Dolstra | 2 | -0/+32 | |
2015-01-02 | Allow $NIX_PAGER to override $PAGER | Eelco Dolstra | 1 | -4/+5 | |
2014-12-14 | Pedantry | Eelco Dolstra | 1 | -1/+1 | |
2014-12-14 | Merge branch 'cygwin-master' of https://github.com/ternaris/nix | Eelco Dolstra | 1 | -0/+1 | |
2014-12-12 | Silence some warnings on GCC 4.9 | Eelco Dolstra | 1 | -1/+1 | |
2014-12-12 | Don't abort if we get a signal while waiting for the pager | Eelco Dolstra | 1 | -4/+8 | |
2014-12-10 | Provide default pagers | Eelco Dolstra | 1 | -3/+8 | |
Borrowed from systemd. | |||||
2014-12-10 | Revert "Use posix_spawn to run the pager" | Eelco Dolstra | 1 | -30/+8 | |
This reverts commit d34d2b2bbf784c0bb420a50905af25e02c6e4989. | |||||
2014-12-09 | Explicitly include required C headers | Marko Durkovic | 1 | -0/+1 | |
2014-12-05 | Define ‘environ’ | Eelco Dolstra | 1 | -0/+2 | |
http://hydra.nixos.org/build/17690555 | |||||
2014-12-05 | Use posix_spawn to run the pager | Eelco Dolstra | 1 | -8/+30 | |
In low memory environments, "nix-env -qa" failed because the fork to run the pager hit the kernel's overcommit limits. Using posix_spawn gets around this. (Actually, you have to use posix_spawn with the undocumented POSIX_SPAWN_USEVFORK flag, otherwise it just uses fork/exec...) | |||||
2014-10-31 | Shut up a clang warning | Eelco Dolstra | 1 | -1/+1 | |
2014-10-14 | Remove redundant space in usage errors | Eelco Dolstra | 1 | -1/+1 | |
2014-09-26 | printMissing(): Print derivations in approximate build order | Eelco Dolstra | 1 | -6/+9 | |
2014-09-18 | Update spec file | Eelco Dolstra | 1 | -1/+1 | |
http://hydra.nixos.org/build/14344391 | |||||
2014-09-18 | Install some pkgconfig files | Eelco Dolstra | 2 | -0/+11 | |
2014-08-20 | Flush std::cout before closing stdout | Eelco Dolstra | 1 | -0/+1 | |
2014-08-20 | Provide reasonable default flags for $LESS | Eelco Dolstra | 1 | -1/+2 | |
Borrowed from systemd. | |||||
2014-08-20 | Use proper quotes everywhere | Eelco Dolstra | 2 | -12/+12 | |
2014-08-20 | Add some color | Eelco Dolstra | 1 | -6/+5 | |
2014-08-20 | nix-store -l: Automatically pipe output into $PAGER | Eelco Dolstra | 2 | -0/+52 | |
2014-08-13 | Handle compound single dash options properly | Eelco Dolstra | 1 | -15/+14 | |
So now nix-instantiate --eval -E '{x}: x' --argstr x -xyzzy correctly prints "-xyzzy", rather than giving an error. Issue NixOS/hydra#176. | |||||
2014-08-13 | Refactor option handling | Eelco Dolstra | 2 | -65/+52 | |
2014-08-13 | Remove pointless NIX_LOG_TYPE environment variable | Eelco Dolstra | 1 | -4/+0 | |
2014-07-31 | Restore default SIGPIPE handler before invoking ‘man’ | Eelco Dolstra | 1 | -3/+3 | |
Fixes NixOS/nixpkgs#3410. | |||||
2014-05-23 | Ugly hack to allow --argstr values starting with a dash | Eelco Dolstra | 1 | -0/+7 | |
Fixes #265. | |||||
2014-03-29 | restoreSIGPIPE(): Fill in sa_mask | Eelco Dolstra | 1 | -1/+1 | |
Issue #231. | |||||
2014-02-17 | nix-store --gc --max-freed: Support a unit specifier | Eelco Dolstra | 1 | -3/+18 | |
E.g. "--max-freed 10G" means "free ten gigabytes". | |||||
2014-02-08 | Add download-via-ssh substituter | Shea Levy | 1 | -0/+3 | |
This substituter connects to a remote host, runs nix-store --serve there, and then forwards substituter commands on to the remote host and sends their results to the calling program. The ssh-substituter-hosts option can be specified as a list of hosts to try. This is an initial implementation and, while it works, it has some limitations: * Only the first host is used * There is no caching of query results (all queries are sent to the remote machine) * There is no informative output (such as progress bars) * Some failure modes may cause unhelpful error messages * There is no concept of trusted-ssh-substituter-hosts Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-01 | Remove Automakefiles | Eelco Dolstra | 1 | -11/+0 | |
2014-02-01 | Update Makefile variable names | Eelco Dolstra | 1 | -1/+1 | |
2014-01-30 | Rename Makefile -> local.mk | Eelco Dolstra | 1 | -0/+0 | |
2014-01-21 | Merge branch 'master' into make | Eelco Dolstra | 1 | -0/+5 | |
Conflicts: src/libexpr/eval.cc |