Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-21 | add helper function to set 'interruptThrown' | David McFarland | |
this fixes a linker failure on cygwin 64 due to some bad interaction between tls and shared libraries. see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697 | |||
2017-04-21 | set _GNU_SOURCE on cygwin | David McFarland | |
this is needed for pipe2() | |||
2017-04-20 | Detect lsof | Eelco Dolstra | |
Also, don't use lsof on Linux since it's not needed. Fixes #1328. | |||
2017-04-20 | Improve nix show-config --json | Eelco Dolstra | |
In particular, show descriptions. This could be used for manpage generation etc. | |||
2017-04-20 | Setting: Remove "Tag" template argument | Eelco Dolstra | |
2017-04-20 | Read per-user settings from ~/.config/nix/nix.conf | Eelco Dolstra | |
2017-04-20 | binary-caches-parallel-connections -> http-connections | Eelco Dolstra | |
2017-04-20 | nix.conf man page: binary-caches -> substituters | Eelco Dolstra | |
2017-04-20 | Reimplement trusted-substituters (aka trusted-binary-caches) | Eelco Dolstra | |
2017-04-19 | Reimplement connect-timeout | Eelco Dolstra | |
Fixes #1339. | |||
2017-04-19 | getDerivations(): Filter out packages with bad derivation names | Eelco Dolstra | |
In particular, this disallows attribute names containing dots or starting with dots. Hydra already disallowed these. This affects the following packages in Nixpkgs master: 2048-in-terminal 2bwm 389-ds-base 90secondportraits lispPackages.3bmd lispPackages.hu.dwim.asdf lispPackages.hu.dwim.def Closes #1342. | |||
2017-04-18 | Merge pull request #1337 from lheckemann/doc-tryEval | Eelco Dolstra | |
Manual: document tryEval | |||
2017-04-18 | Merge pull request #1321 from shlevy/channel-direct-tarball-error | Eelco Dolstra | |
nix-channel: error out if direct tarball unpack fails. | |||
2017-04-17 | Manual: document tryEval | Linus Heckemann | |
2017-04-14 | Shut up some warnings | Eelco Dolstra | |
2017-04-14 | Doh | Eelco Dolstra | |
2017-04-14 | Build on aarch64-linux | Eelco Dolstra | |
2017-04-14 | Fix 32-bit build | Eelco Dolstra | |
http://hydra.nixos.org/build/51569816 | |||
2017-04-14 | Fix Perl bindings | Eelco Dolstra | |
2017-04-14 | Minor cleanup | Eelco Dolstra | |
2017-04-14 | nix-daemon: Don't set untrusted-* settings | Eelco Dolstra | |
These are no longer used anywhere. | |||
2017-04-14 | nix-daemon: Don't die if the user sends an unknown setting | Eelco Dolstra | |
2017-04-13 | Add "nix show-config" command | Eelco Dolstra | |
This dumps the entire Nix configuration, including all options that have default values. | |||
2017-04-13 | Convert Settings to the new config system | Eelco Dolstra | |
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning. | |||
2017-04-13 | Support arbitrary numeric types for settings | Eelco Dolstra | |
2017-04-13 | Validate Boolean settings better | Eelco Dolstra | |
2017-04-13 | Merge branch 'rework-options' of https://github.com/copumpkin/nix | Eelco Dolstra | |
2017-04-13 | Add a Config class to simplify adding configuration settings | Eelco Dolstra | |
The typical use is to inherit Config and add Setting<T> members: class MyClass : private Config { Setting<int> foo{this, 123, "foo", "the number of foos to use"}; Setting<std::string> bar{this, "blabla", "bar", "the name of the bar"}; MyClass() : Config(readConfigFile("/etc/my-app.conf")) { std::cout << foo << "\n"; // will print 123 unless overriden } }; Currently, this is used by Store and its subclasses for store parameters. You now get a warning if you specify a non-existant store parameter in a store URI. | |||
2017-04-13 | canonPath(): Check against empty paths | Eelco Dolstra | |
2017-04-13 | Add warn function | Eelco Dolstra | |
2017-04-13 | Initialise logger | Eelco Dolstra | |
2017-04-13 | Merge pull request #1325 from benley/float-rl-1.12 | Eelco Dolstra | |
Move note about float support out of the wrong release notes | |||
2017-04-12 | Move note about float support out of the wrong release notes | Benjamin Staffin | |
Looks like this snuck into the 1.11 release notes post-release, but float support isn't actually present until 1.12. | |||
2017-04-12 | Merge pull request #1302 from dtzWill/fix/nix-options | Eelco Dolstra | |
Process nix.conf options in "new" commands, add test | |||
2017-04-11 | Drop WWW::Curl dependency | Eelco Dolstra | |
Somehow this came back after d1da6967b8891763ce04d668027cf300c9bbf0b2. | |||
2017-04-10 | nix-channel: error out if direct tarball unpack fails. | Shea Levy | |
It's very unlikely a path ending in .tar.gz is a directory Fixes #1318 | |||
2017-04-10 | shell.nix: Remove more dependencies | Eelco Dolstra | |
Thanks @copumpkin. | |||
2017-04-10 | Merge pull request #1316 from copumpkin/nix-retries-default | Eelco Dolstra | |
Default to 5 download retries | |||
2017-04-10 | Merge pull request #1317 from copumpkin/nix-retry-write-error | Eelco Dolstra | |
Add CURLE_WRITE_ERROR as a transient error condition | |||
2017-04-10 | Add CURLE_WRITE_ERROR as a transient error condition | Dan Peebles | |
We've observed it failing downloads in the wild and retrying the same URL a few moments later seemed to fix it. | |||
2017-04-10 | Default to 5 download retries | Dan Peebles | |
This should help certain downloaders that don't request anything special for the number of retries, like nix-channel. | |||
2017-04-10 | shell.nix: Remove obsolete flags | Eelco Dolstra | |
2017-04-10 | Minor cleanup | Eelco Dolstra | |
Also, possible fix for #1310 on 32-bit systems. | |||
2017-04-10 | Allow "auto" as a store URI | Eelco Dolstra | |
Using the empty string is likely to be ambiguous in some contexts. | |||
2017-04-08 | tests/timeout: create output so tests don't trivially pass | Will Dietz | |
Timeout tests rely on failed build to determine success, so make sure these derivations (silent in particular) don't fail regardless of timeout behavior. | |||
2017-04-08 | Process nix.conf options in "new" nix commands, add test. | Will Dietz | |
Without this (minor) change, the options set using "--option" or read from nix.conf were parsed but not used. | |||
2017-04-07 | Merge pull request #1306 from copumpkin/retry-on-ssl-error | Eelco Dolstra | |
Retry downloads on transient SSL errors too | |||
2017-04-06 | Retry downloads on transient SSL errors too | Dan Peebles | |
2017-04-06 | Implement RemoteStore::queryMissing() | Eelco Dolstra | |
This provides a significant speedup, e.g. 64 s -> 12 s for nix-build --dry-run -I nixpkgs=channel:nixos-16.03 '<nixpkgs/nixos/tests/misc.nix>' -A test on a cold local and CloudFront cache. The alternative is to use lots of concurrent daemon connections but that seems wasteful. | |||
2017-04-06 | Fix bogus "unexpected Nix daemon error: interrupted by the user" | Eelco Dolstra | |